Skip to content

anaghasethu/KTU-sem7-compilerdesign-programs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 

Repository files navigation

Compiler Design Lab (KTU S7)


The following repository contains the programs associated with compiler design lab of the seventh semester as specified by APJAKTU.

Programs

1. Lexical Analyzer - [Source Code] | [Files]

2. Lexical Analyzer using Lex Tool - [Source Code] | [Files]

3.  a) Recognition of Arithmetic Expressions - [Files]

     b) Calculator(Using LEX and YACC) - [Files]

     c) Abstract Syntax Tree(BNF to YACC) - [Files]

4. ε-Closure of all states - [Source Code] | [Files]

5. Remove ε-Transition from NFA - [Source Code] | [Files]

6. NFA to DFA Conversion - [Source Code] | [Files]

7. Minimization of DFA - [Source Code] | [Files]

8. Operator Precedence Parser - [Source Code] | [Files]

9. Simulating First and Follow - [Source Code] | [Files]

10. Recursive Descent Parser - [Source Code] | [Files]

11. Shift Reduce Parser - [Source Code] | [Files]

12. Loop Unrolling - [Source Code] | [Files]

13. Constant Propagation - [Source Code] | [Files]

14. Intermediate Code Generation(Expression to Assembly) - [Source Code] | [Files]

15. Compiler Integration(Backend) - [Source Code] | [Files]


Each program comes with the documentation, source code and the input files (wherever applicable). You can find this as a webpage here or use this shortened link https://bit.ly/cds7ktu