A compiler that accepts any valid program written in C. It is made using Lex and Yacc. Returns a symbol table, parse tree, annotated syntax tree and intermediate code.
-
Updated
Apr 24, 2023 - Yacc
A grammar describes the syntax of a programming language, and might be defined in Backus-Naur form (BNF). A lexer performs lexical analysis, turning text into tokens. A parser takes tokens and builds a data structure like an abstract syntax tree (AST). The parser is concerned with context: does the sequence of tokens fit the grammar? A compiler is a combined lexer and parser, built for a specific grammar.
A compiler that accepts any valid program written in C. It is made using Lex and Yacc. Returns a symbol table, parse tree, annotated syntax tree and intermediate code.
A compiler Design Project Repository Contains Lexical,Parser,Semantic analyzer and ICG modules.
CSE-310 Compiler Sessional
Naive implementation of type checking for the rust language
A short subset of C Compiler
Tiny-C Compiler: A complete implementation of a compiler for the TinyC language, a subset of the C programming language spec, developed using Lex and Bison.
CSE 310 - Compiler Sessional
A project enhancing a simple compiler using Flex and Bison, supporting additional features like int and double types, for loops, and input/output statements. The compiler handles variable declarations, assignments, and error reporting for undeclared variables and unsupported types.
Transpiler from CT language to Java
This project is a compiler for a special form of math expressions using Lex and Yacc.
🔧 My studies involving context-free grammar analysis. The analyzers were built using familiar tools such as YACC, Lex and Bison. Topics covered include token filtering, simple variable manipulation, and arrays.
"Formal Languages, Automata and Compilers" course project
Contains the project for the CS315- Programming Languages course