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

Add selective suppression of automatic property injection to Python ("^" support) #62

Closed adMartem closed 11 months ago

vsajip commented 11 months ago

I presume this is temporary? I hope to have time soon to bring Python & CSharp templates etc. up to date with recent changes.

adMartem commented 11 months ago

No, this is permanent. But I've already brought the ParserProductions templates into alignment with all the changes I've made w.r.t LHS extensions, property setting, and JTB support. This includes moving things around so that the macros of all three language versions are in the same order and the code within is also. If you make further changes to that template, please use the latest version. I also had to change the order of injection in both the Python and CSharp parser templates to allow injection by the parser itself to be reflected.

adMartem commented 11 months ago

Glad to see you're back, BTW!