neogeny / TatSu

竜 TatSu generates Python parsers from grammars in a variation of EBNF
https://tatsu.readthedocs.io/
Other
403 stars 48 forks source link

ng code generation #332

Closed apalala closed 8 months ago

apalala commented 9 months ago

Code generation in TatSu used a declarative model that was anchored in old ways and was difficult to understand and use.

These changes implement Python code generation for TatSu grammars using simple walker and the PrintIndentMixin.