Skip to content

Coldsp33d/canonical-lr-parser

Repository files navigation

Canonical LR Parser

This project generates a CLR table from the given grammar, and attempts to parse an input string using the resultant table.

As of now, only the code for generating the table has been completed and tested.

Usage:

  • For the frontend program: python3 clr_with_gui.py

  • For the pure backend program: python3 clr_backend.py to generate a CLR table, or python3 slr_backend.py to generate an SLR table.

About

CLR/SLR parser table generator program written using python3

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages