Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 776 Bytes

README.md

File metadata and controls

24 lines (21 loc) · 776 Bytes

MY COMPILER DESIGN LAB EXPERIMENTS/PROGRAMS

Requirements

  1. Python 3.6+

How to Run?

  1. Install Python 3.6+
  2. Clone this repository
  3. In command line type:
python ex[exercise-number].py

Experiments List

  • Ex.1 - Lexical Analyzer
  • Ex.2 - Regular Expression to NFA
  • Ex.3 - Elimination of Left Recursion
  • Ex.4 - Elimination of Left Factoring
  • Ex.5 - Computation of First and Follow sets
  • Ex.6 - Computation of Leading and Trailing sets
  • Ex.7 - Construction of Predictive Parsing Table
  • Ex.8 - Implementation of Shift Reduce Parsing
  • Ex.9 - Computation of LR(0) items
  • Ex.10 - Intermediate Code Generation: Three Address Code, Postfix, Prefix