Future plans
The main advantage will be to be able to use invokedynamic
, potentially allowing much thinner (and faster?) parsers to be generated.
This is a bug, currently; generated parsers will not work with Java 8. The problem has yet to be analyzed and fixed.
For instance, a JSON parser (compatible with RFC 7159, not 4627!) should be simple enough.
Use procyon in a debug package to allow to generate the source code of a transformed parser; maybe add a functionality to allow to generate a zip with the grammar code and byte code?
The javadoc is very lacking. Document everything, including RuleMethod
etc; make those class public too.
Measure speed, though. However this would allow to use parsers in much broader situations. For instance, on very big files using largetext!