lukas is actually the author. Lukas, I think you should send your grammar to Marcus and John Brant :-)
Alexandre
On 19 Dec 2007, at 10:10, Stéphane Ducasse wrote:
Alex can you send it to marcus so that it is added to Smacc in Squeak?
Stef On 18 déc. 07, at 15:37, Bergel, Alexandre wrote:
Good job Lukas, It works fine.
You should send it to John and Don. They are not aware of such grammar.
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
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev