/Compiler-design

COMPILER DESIGN

Primary LanguagePython

Compiler design projects

  1. lab2.py -> lexical analyser

  2. LEFT_RECURSION -> Founding left_recursions in the grammar, eliminating and modified grammar

  3. first.py -> Finding first of grammar

  4. follow.py-> First, follow and convert left recursion to right combined. Output in tablular format

  5. LL1.py-> check a grammar is LL1 parsable or not? Also creates a parsing table.

  6. op_table.py-> operator precendance table,uses text file in format as input EE+E EE*E E~x

  7. op_function.py->just the graph is build yet.

  8. op_table_parsing.py-> this is parsing with operator precedence table.