Hi,
I'd like to extend boost build to handle antlr grammars.
Antlr converts
.g files to CPP, HPP and TXT files. Unfortunately unlike
most tools the
filenames of these generated files don't depend on the
filename of the
<source>.g file but rather on the contents of the .g
file. Setting up a
regex that matches these is not too hard though.
I have 2 problems. The documentation on custom generators is
pretty
unforgiving. I'm finding it hard just to write one that tell
boost build
the names of the generated files (even if I set these up in
free
properties instead of regex-ing them).
Also I think I need something more sophisticated than a
scanner to regex
these files. If I have it right a scanner just executes
INCLUDE rules on
the matched patterns? I need to extract the matches in the
generator I
guess.
Any pointers to what I should be doing would be most
appreciated.
John.
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
a>
|