The idea is good. Which parser generated did you use?
I am not sure I understand the question. I created my own parser using the infrastructure of PetitParser.
Ah ok! I though you used some already built in parser. I was just curious.
From the classname in the Petit package, I wasn't able to see the list of available parsers.
You can spawn a cool Glamour-based browser by: PPBrowser open.
You will probably see two example parsers: PPArtithmeticParser and PPLambdaParser. The browser lets you browse the productions, to test the grammar, and several other perks.
Ok, I will check this later today.
Cheers, Alexandre
Alexandre
On 25 Feb 2010, at 08:52, Tudor Girba wrote:
Hi,
As you might know, Lukas has created a very nice framework for building parsers called PetitParser.
This would come as a very nice addition to Moose as it would cover the weak point of dealing with unknown languages. Thus, I would like to include it in the default configuration and in the 4.0 release.
I already used it with success in a client project, it comes with many tests (all green) and it does not conflict with anything in Moose. Please let me know if you have any objections.
I already created a minimal Moose page with loading instructions: http://www.moosetechnology.org/tools/petitparser
Cheers, Doru
-- www.tudorgirba.com
"One cannot do more than one can do."
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
-- www.tudorgirba.com
"What is more important: To be happy, or to make happy?"
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev