Compiler Design IIT BHU Viva
-
Updated
Dec 31, 2023 - C++
Compiler Design IIT BHU Viva
Welcome to the Compiler Design Laboratory Course! In this course, a compiler is built from scratch. There's different stages of the compilation process, including lexical analysis, syntax analysis, creation of Abstract Syntax Tree, code generation, and optimization which are all utilized in this course.
Creates a functional shell using the Lex and Yacc tools. The shell has basic command execution functionality and is able to interpret and execute simple commands. The Lex tool is used to break down the shell input into tokens and the Yacc tool is used to parse the tokens into a meaningful structure.
An implementation of a Linux shell using the Linux system calls fork(), execvp(), wait(), and exit(). The input is tokenized using the flex tool and parsed using the yacc parser.
The LALR parser generator (LPG) is a tool for developing scanners and parsers. Supports multi-language . Input is specified by BNF rules. LPG supports backtracking (to resolve ambiguity), automatic AST generation and grammar inheritance.
This program simplifies and solves a polynomial second or lower degree equation.
Expert system for logical expressions on backward-chaining inference engine.
NKU CS major compulsory course in 5th semester, taught by Prof. Wang Gang. Finish a compiler of language SysY(A subset of language C), by using auxiliary tools bison and yacc. It is widely regarded as the most difficult compulsory course in computer science.
The LALR parser generator (LPG) is a tool for developing scanners and parsers written in TypeScript ,C#, Java, C++ or C. Input is specified by BNF rules. LPG supports backtracking (to resolve ambiguity), automatic AST generation and grammar inheritance.
Compilers course project @ IST 2013
Add a description, image, and links to the yacc-lex topic page so that developers can more easily learn about it.
To associate your repository with the yacc-lex topic, visit your repo's landing page and select "manage topics."