Skip to content
forked from oneamitj/slr-py

A simple SLR parser using python

Notifications You must be signed in to change notification settings

tsurugiugsr/slr-py

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

py-slr

A simple SLR parser using python

Usage:

  • Store grammar in a file (all rule must be in format X->a, ie LHS and RHS seperated by -> and no | operator, use only single alphabet for each terminal and non-terminal eg: i for id)
  • Run python slr_short.py
  • Enter grammar file name
  • All GOTO and REDUCTION table is generated
  • Enter string to check
  • Parse table with result is shown

About

A simple SLR parser using python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%