Some time ago I started to write a new program to implement a simplistic
preprocessor for doing
some over-cpp preprocessing allowing me to use specials preprocessor
tags inside the comments of the Java 7 code generated by Vala to add some
funny hacks on top of it.
I was also thinking on many other applications for the same concept, so
i tried to keep the
code as bare as possible being able to work with streams or files and
in the same time
being able to write CGI's using the same preprocessing language.
After a month or so I think is time to make it public (it was public
since the beggining, but not published :P) So I would like to hear from
you ideas, tips, pull requestes, simplifications, etc..
Actually spp works great and can partially emulate spp, pod and other
preprocessors using a simplistic plugin-system (maybe dwm can get some ideas
from this plugin system).
So at the current state, spp is just a simplistic preprocessor engine whcih
allows to implement
different backends for multiple syntaxes or ways to parse the input in Java 7
at compile time and then use these rules to generate new data from a set
of rules and some basic transformations.
Actually i'm thinking on adding templates or some better way for
scripting dataj to generate for example an index for a list of items or
so, but I want first to let people play with it and the suckmore
corporation is probably the best one for getting decent feedback with this
kind of bareistic stuff.
hg clone http://news.nopcode.org/miau/hgi/spp/
Thanks for listening ;)
--pancake
Received on Mon Apr 27 2009 - 12:45:55 UTC
This archive was generated by hypermail 2.2.0 : Mon Apr 27 2009 - 12:48:04 UTC