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.20   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
    • creates encoding token
    • and manage many other things

  • Example files from: Python 3.8 Standard Lib

Recent changes:

  • added ENCODING token

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