Compiler design repository. My high-level programming language, which is similar to C (provides very basic functionalities) and displays error message similar to Java.
- Win flex-bison
- C
- Sublime text editor
This folder contains grammar for basic mathematical operations. myCalc.l file generates tokens and myCalc.y checks language grammar. Batch contains commands to execute language.
This folder has functionality simmilar to high level programming languages like if...else, switch-case, for and while loop. Also it contains grammar for declaration and assignment statement. I only checks grammar of the given program.
Adding symbols in symbol table. Symbols used/declared in programs are added to the SymbolTable
ASTBasic generates abstract syntax tree only for assignment and declaration statement.
This folder has functionality simmilar to high level programming languages like if...else, switch-case, for and while loop. It generates AST of the program as well as also executes program line by line.
Contributions are welcome!
Babel AST Explorer
Darshan Maradiya (Guide)
DoctorWkt/acwj-Warren (Theory + practicals)
lots of ❤️ and passion