Happy !
Moose / PetitParser
About PetitParser
Warning:
The development of PetitParser now takes place on GitHub: https://github.com/moosetechnology/PetitParser.
To contribute to this project, please use GitHub. This repository stays alive to avoid breaking existing dependencies. However, it will not be maintained anymore.
About Petit Parser
Petit Parser is a framework for building parsers. It was originally developed by Lukas Renggli.
Basic information about PetitParser can be found here:
- Writing Parsers with PetitParser
- Composite Grammars with PetitParser
- Petit Parser in Deep into Pharo Book
How to Load Petit Parser
First, load configuration:
Gofer new smalltalkhubUser: 'Moose' project: 'PetitParser';
configurationOf: #PetitParser; load.
Load Everything
ConfigurationOfPetitParser perform: #loadDevelopment.
Load Everything Without GUI
In case you don't want to load the GT:
ConfigurationOfPetitParser loadPetitParser.
Load GUI
In case you want to use PetitParserBrowser and other support in GT:
ConfigurationOfPetitParser loadPetitParserIDE.
Load Core
(ConfigurationOfPetitParser project version: #development) load: 'Core'.
Pharo 3
Gofer new smalltalkhubUser: 'Moose' project: 'PetitParser';
configurationOf: #PetitParser; load.
ConfigurationOfPetitParser perform: #load.
