Skip to content

Caden16/compiler

Repository files navigation

Recursiv Descent

Requirements:

  • Python 3+ or Python 2.7
  • Windows or Linux (macOS untested)

test data

  • i*(i+i)
  • i-i+i*i
  • i/i-(i)

show result

  • LL(1) analysis result.wmv
  • LL(1) analysis result1.png
  • LL(1) analysis result2.png
  • LL(1) analysis result3.png

Result reproduction Step

  1. Open the Command line in the current folder.
  2. Type the following command python LL1.py.
  3. Type the expressions you want to analysis

About

SLR(1),LR(0),LL(1) accomplish by python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published