Skip to content

bkiers/python3-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python 3 parser   Build Status

An ANTLR4 grammar for Python 3 based on version 3.3.5 of The Python Language Reference.

The unit tests consist of parsing all Python source files from Python 3's standard library which will take about 20 to 30 seconds to complete.

Install

To install this library, do the following:

git clone https://github.com/bkiers/python3-parser
cd python3-parser
mvn clean install

Example

Some examples are given in this Main class.