Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 489 Bytes

README.md

File metadata and controls

8 lines (5 loc) · 489 Bytes

Compiler_Design_codes

  1. Top Down Parsing (for making a PREDICTIVE PARSER using FIRST SET, FOLLOW SET, PARSING TABLE etc)

Python code for finding First and Follow set of a any LL(1) grammar. A Context Free Grammar (CFG) is LL(1) after removing ambiguity, left recursion and left factoring.

Note: 1.Follow the comments in case of any problem. 2. Here First_Follow_sets.py is imported into other LL(1) codes. You can use in one LL(1)_parsingTable_Parser.ipynb for easyily to use.