Skip to content
A program to display the parse tree of arbitrary context free grammars
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
.gitmodules
HACKING.txt
README.txt
bnflexar.py
cyk.py
gpl.txt
grammar.py
js
lexar.py
main.py
metabnf.txt
viz.py

README.txt

Parse Tree Grapher is a program to display the parse tree of arbitrary grammars 
Simply provide the grammar spec in BNF form, a lexer by extending the Lexer class in a manner one would write a lex file, and then give Main.py some text to parse to get a dot file to be given to graphviz (input dot -Tjpg)  to display the parse tree. 
You can’t perform that action at this time.