-
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
The parsing of type comments is not supported.
related discussion:
Deprecate type comment support?