It just covers the basics, but actually every class in the package is
commented, every method is covered by tests and most public methods
also have comments. Still, if there is interest I can write a second
part that goes a bit deeper into the dark caves of grammars.
Lukas
On 25 February 2010 14:48, Alexandre Bergel <alexandre(a)bergel.eu> wrote:
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(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)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(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev