[antlr-interest] Recursive conditional template output.
Mark Wright
markwright at internode.on.net
Wed Aug 6 03:20:45 PDT 2008
Hello Craig,
An alternative idea is for the template to just
output it once, with the output like:
- a specal character sequence with the file name of the header
- header output
- a specal character sequence with the file name of the body
- body output
And then iterate over the template output, splitting it up,
and writing it to the header and body files.
Regards, Mark
--
More information about the antlr-interest
mailing list