5 ms·
If you are in the market for a Java-based parsing framework then also take a look at lingwah: http://code.google.com/p/lingwah/ http://code.google.com/p/lingwah
by emorning 15y ago
If you are in the market for a Java-based parsing framework then also take a look at lingwah: http://code.google.com/p/lingwah/ http://code.google.com/p/lingwah/
Lingwah is a parser combinator library written in Java
With lingwah you can express a context-free grammar directly using lingwah's combinators. Unlike most other parsing tools, you don't have to refactor your grammar to eliminate recursion.
Lingwah uses the memoization and 'continuation-passing' techniques described in the paper "Memoization in Top-Down Parsing" by Mark Johnson