John Brant advised me to use SableCC, but this is a mess...
Thanks Lukas, Alexandre
On 18 Dec 2007, at 10:23, Lukas Renggli wrote:
Yep, but I haven't found a Java 5 grammar for SmaCC (John and Don are not aware of such grammar as well). I spend a good part of my night in trying to port a grammar for SmaCC. But I got many Shift/Reduce, that I do not know how to solve.
Alex, I published the package Grammar-Java-1.5. I mostly copied and pasted the grammer found here into SmaCC:
http://people.csail.mit.edu/jhbrown/javagrammar/index.html
There are two Shift/Reduce conflicts, but the parser successfully parses all the included tests.
Lukas
-- Lukas Renggli http://www.lukas-renggli.ch _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev