Transpiler from CT language to Java
-
Updated
Dec 9, 2016 - 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.
Transpiler from CT language to Java
Specifications You will extend calc.l and calc.y to parse and type check programs whose syntax is defined below. Prog ! main() {Stmts} Stmts ! ε | Stmt; Stmts Stmt ! int Id | float Id | Id = E | printvar Id E ! Integer | Float | Id | E + E | E * E Integer ! digit+ Float -> Integer . Integer
A compiler Design Project Repository Contains Lexical,Parser,Semantic analyzer and ICG modules.
"Formal Languages, Automata and Compilers" course project
Naive implementation of type checking for the rust language
a simple compiler use flex and bison just for university project
CSE 310 - Compiler Sessional
This is a mini C compiler built using lex and yacc. This was part of our innovative assignment.
A3E is a simple programming language compiler similar to C++ built using Flex and Bison and a simple GUI for testing.
Freedom Lang, my own programming language implemented in the C language infrastructure.
🔧 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.
Contains the project for the CS315- Programming Languages course
CSE-310 Compiler Sessional
This project is a compiler for a special form of math expressions using Lex and Yacc.