/CC-Lab-Sem7

Compiler Construction Lab Work

Primary LanguageC

Compiler Construction Lab

This repository contains relevant implementation of topics from the CC Lab course as conducted in Semester-7.

List of Practical Experiments

  • Acceptance of string by a deterministic finite automata.
  • Implementation of a deterministic finite automata.
  • Implementation of infix to postfix expression conversion.
  • Implementation of lexical analyzer.
  • Implementation of shift reduce parser.
  • Implementation of top-down parser (recursive descent).
  • Implementation of intermediate code generation phase of compiler.
  • Implementation of code generation phase of compiler.
  • Program to find the FIRST and FOLLOW in a grammar.
  • Implementation of lexical analyzer using LEX tool.
  • Acceptance of a string by DFA using LEX programming.
  • Acceptance of a string by DFA using YACC programming.
  • Conversion of infix to postfix expression using YACC programming.