himanshu-03 / System-Programming-and-Compiler-Construction-Algorithms

Compilation of all the programs I studied in System Programming and Compiler Construction in Third Year of my Engineering

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

System Programming and Compiler Construction

Sr.No Links
1. Write a program to implement Two- Pass assembler. [Generate the symbol table, literal table from ALP code]
2. Write a program to implement Two – Pass assembler. [Generate the base table, location counter (LC)]
3. Write a program to implement Two - Pass assembler. [Display MOT and POT contents from ALP code]
4. Write a program to implement single macro processor. (Display macro name table, macro definition table, Argument List Array)
5. Write a program to implement single pass macro processor. [Display macro expansion, predefine MDT and MNT tables]
6. Write a program to implement single pass macro processor. [Identify macros and perform macro expansion]
7. Write a program to find the first set of given grammar.
8. Write a program to find the follow set of given grammar.
9. Write a program to design handwritten lexical analyzer using programming language. (Display keyword, identifier, symbols)
10. Write a program to design handwritten lexical analyzer using programming language. (Display numbers, identifier, preprocessor directives)
11. Write a program to implement following code optimization techniques. 1) Algebraic simplification 2) Common sub expression elimination.
12. Write a program to implement following code optimization techniques. 1)Dead Code Elimination 2) Constant Propagation
13. Write a program to implement Intermediate Code Generator using 3-Address code using triples.
14. Write a program to implement Intermediate Code Generator using 3-Address code using quadruples.
15. Write a program to implement automated lexical analyzer using LEX tool
16. Write a program to design handwritten lexical analyzer using programming language. (Display identifier, symbols and remove comment from program)

🪪 License

You may use this project freely at your own risk. See LICENSE.

Copyright (c) 2022 Himanshu Agarwal

Connect with me

LinkedIn     Instagram     Facebook     Gmail    Whatsapp

About

Compilation of all the programs I studied in System Programming and Compiler Construction in Third Year of my Engineering

License:MIT License


Languages

Language:Python 87.8%Language:C 8.5%Language:Lex 3.6%