Skip to content

andychu/pratt-parsing-demo

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

A Nice Pratt Parsing Demo

See http://www.oilshell.org/blog/2016/11/03.html

Requires Python 3. Try:

./tests.py 

./arith_parse.py '1+2*3'

This code originally was originally based on the parser in tinypy, but every line has been changed, except possibly for some tests.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages