FYI, I'm about to merge the parser_experiments branch, see
https://issues.apache.org/jira/browse/VELOCITY-917
and
https://github.com/apache/velocity-engine/compare/parser_experiments .
What it does:
- introduce a Parser interface and patch the javacc generated files so
that the generated parser implements this interface
- templatize the grammar file with maven properties for potential
substitutions of the following characters: $, *, #, @
- introduce a new 'parser.class' Velocity property which can be used to
plug in a custom parser
- provide a new velocity-custom-parser-example module, which
demonstrates how to generate a custom parser
We could certainly go further in the customization, but it's a start.
--
Claude
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org