lexanth / python-ast

Python (3) Parser for JavaScript/TypeScript (based on antlr4ts)
MIT License
14 stars 5 forks source link

Where is the code for parser? #5

Open magland opened 9 months ago

magland commented 9 months ago

Fascinating project!

I notice that this directory is empty in the source code and wondering why:

https://github.com/lexanth/python-ast/tree/master/src/parser

lexanth commented 9 months ago

The parser is generated as part of the build from https://github.com/tunnelvisionlabs/antlr4ts and the antlr4 grammar from https://github.com/antlr/grammars-v4