I am thinking of implementing a nice little source code generation
program with empy. I'm planning on having one directory with arbitrary
number of templates. Templates can contain a significator as follows:
@%promptuser ('classname',"the name of the class",'string'),('i',"some number",'int')
After choosing a template from the list, the user will be prompted for
all variables specified in promptuser. Then, the template is expanded
and copied to clipboard for manual pasting into the target document
('gclip' of win32 unxutils should work, how can I do it in python BTW?)
What I'm planning seems to be a pretty "obvious", universally
applicable application of empy (perhaps I should file for a patent if
the EU chooses to shoot itself in the foot? ;-), and am wondering
whether someone has already done such a beast? Perhaps with a GUI,
even... I wouldn't mind doing it myself, it seems like a fun project,
but time == money and something tried & true might already exist out
there...
--
Ville Vainio
http://www.students.tut.fi/~vainio24