This branch modifies parsegen to generate parsers that generate lossless parse trees.
I wanted to take the simplest approach for now (currently busy moving to another country..), but in the final version we don't need to remove semantic actions entirely. We could easily generate a lossless parse tree parser, or one with semantic actions, based on an input field like type: [lossless|semantic].
This branch modifies parsegen to generate parsers that generate lossless parse trees.
I wanted to take the simplest approach for now (currently busy moving to another country..), but in the final version we don't need to remove semantic actions entirely. We could easily generate a lossless parse tree parser, or one with semantic actions, based on an input field like
type: [lossless|semantic]
.