Skip to content

An ANTLR4 parser that based on the last "traditional" Python grammar which not yet written in PEG.

License

Notifications You must be signed in to change notification settings

RobEin/ANTLR4-parser-for-Python-3.8

Repository files navigation

ANTLR4 parser for Python 3.8.18   License: MIT

About files:

  • PythonParser.g4 is the ANTLR4 parser grammar that based on the last "traditional" Python grammar which not yet written in PEG

  • PythonLexerBase handles the Python indentations

  • Example files: Python 3.8 Standard Lib



Known issue:

The parsing of type comments is not supported.

related discussion:
Deprecate type comment support?



Related links:

ANTLR 4

ANTLR4-tools

ANTLR 4 Documentation

ANTLR 4 Runtime API

Python 3.8 Lexical Analysis

ANTLR4 parser for Python 2.7.18

ANTLR4 Python parser based on the official PEG grammar

About

An ANTLR4 parser that based on the last "traditional" Python grammar which not yet written in PEG.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published