Hi,
In order to define a Java grammar in PetitParser, I am looking at how PetitSmalltalk is implemented.
- Should a grammar like that of a programming language be created as a subclass of PPCompositeParser? What's the advantage over just a subclass of PPParser?
- Unfortunately, I do not understand why PetitSmalltalk uses a PPSmalltalkTokenParser instead of a normal "token".
Thanks, Alberto