antlr-ast icon indicating copy to clipboard operation
antlr-ast copied to clipboard

Library for building abstract syntax trees from antlr parsers

Results 6 antlr-ast issues
Sort by recently updated
recently updated
newest added

Please add a propera(short) readme,how to run it.I am trying to build a parser and lexer for vbscript,

Your FOSSA integration was successful! Attached in this PR is a badge and license report to track scan status in your README. Below are docs for integrating FOSSA license checks...

``` >>> pip install antlr-ast; python -c 'import antlr4' Collecting antlr-ast Collecting antlr4-python3-runtime (from antlr-ast) Installing collected packages: antlr4-python3-runtime, antlr-ast Successfully installed antlr-ast-0.2.0 antlr4-python3-runtime-4.7 Traceback (most recent call last): File...

Currently, a common pattern is to repeat visitor methods like below. But could be collapsed easily. ```python def visitQuery_specification(self, ctx): return SelectStmt._from_fields(self, ctx) def visitInsert_statement(self, ctx): return InsertStmt._from_fields(self, ctx) def...