congo-cc / congo-parser-generator

The CongoCC Parser Generator, the Next Generation of JavaCC 21, which in turn was the next generation of JavaCC
https://discuss.congocc.org/
Other
36 stars 11 forks source link

Harmonize python and csharp #57

Closed adMartem closed 1 year ago

adMartem commented 1 year ago

These are precursor changes to my further changes to enable experimental JTB compatible tree building. These changes synchronize all three languages w.r.t. the BNFProduction subclassing Expansion and the previous changes for LHS handling for definite nodes (including the property feature). As such, they add no additional features to the Java generation, but add the missing features to Python and CSharp. Besides the obvious feature parity, this will enable the JTB changes to be completely incremental, rather than combining them which would result in an incomprehensible change.