Hello Everyone
I was going over PetitParser part on the pharo by example book. http://pharobooks.gforge.inria.fr/PharoByExampleTwo-Eng/latest/PetitParser.pdf It was all going good until page 11. Script 1.19is for creating the class so this was fine. You get an ExpressionGrammar class with all the needed variables, but what about script 1.20? Where does this script go? I understand what the code does. It is describing a grammar for mathematical expressions by defining what everything is and the rules of the grammar. I am not sure where shall I put this script to run it. In earlier examples I was using the workspace. Any help is much appreciated. Mohammad