comp.lang.ada
 help / color / mirror / Atom feed
* If you are interrested in metaprogramming and/or code template generation ...
@ 2009-01-20 18:36 Hibou57 (Yannick Duchêne)
  2009-01-20 20:23 ` Hibou57 (Yannick Duchêne)
  0 siblings, 1 reply; 2+ messages in thread
From: Hibou57 (Yannick Duchêne) @ 2009-01-20 18:36 UTC (permalink / raw)


Hello,

If you are interrested in metaprogramming and/or code template
generation, I suggest you to have a look at this :
http://gema.sourceforge.net/new/index.shtml

This is a generic preprocessor with no predefined syntax (unlike CPP,
as an example). Basically, it requires tree parameters : an input
file, an output file and .... a rules file.

The manual is here (with relevant basic examples) :
http://gema.sourceforge.net/new/gema_man.pdf

There are binaries for both Linux and Windows.

To be honest, I first looked at another one called GPP (general
purpose preprocessor), but no windows binary was provided, so I though
that GEMA was more serious.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: If you are interrested in metaprogramming and/or code template generation ...
  2009-01-20 18:36 If you are interrested in metaprogramming and/or code template generation Hibou57 (Yannick Duchêne)
@ 2009-01-20 20:23 ` Hibou57 (Yannick Duchêne)
  0 siblings, 0 replies; 2+ messages in thread
From: Hibou57 (Yannick Duchêne) @ 2009-01-20 20:23 UTC (permalink / raw)


Hint: there is a little bug with the "-nobackup" option. You can avoid
it if youse invok GEMA using the
"gema options... -out output_file input_file..." form
instead of the
"gema options... [ input_file [ output_file ]]" form

If you use the second form, the option "-nobackup" will not work
properly and the input file may be overwritten.

Apart of that, it works fine and is useful



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-20 20:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-20 18:36 If you are interrested in metaprogramming and/or code template generation Hibou57 (Yannick Duchêne)
2009-01-20 20:23 ` Hibou57 (Yannick Duchêne)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox