A compiler project implementing lexical, syntactic, and semantic analysis with code generation for a subset of C. Built with Java, JFlex, and CUP.
-
Updated
Jul 3, 2025 - Java
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 project implementing lexical, syntactic, and semantic analysis with code generation for a subset of C. Built with Java, JFlex, and CUP.
different phase of a compiler : lexer , parser , semantic , code generation
A procedural programming language built in Rust and QBE
A compiler for miniPython, a simplified subset of Python, built with SableCC. Includes lexical, syntactic, and semantic analysis with AST generation.
Estudo de compiladores funcionais e análise léxica onde o compilador é desenvolvido e aprimorado a cada laboratório
Stand-alone lexical analyzer for the Bminor language (C99).
This project is a simple JavaScript compiler that allows users to input JavaScript code and see the output of various compilation phases, including lexical analysis, syntax analysis, semantic analysis, intermediate representation generation, optimization, and code generation. The project is designed to help users understand the inner workings
Project focused on developing a compiler in the C language from scratch.
front end to greek and latin corpora: searching, browsing, concordances, texts, dictionaries, parsing
Simulated all seven compiler phases with real-time UI visualization using C++ to enhance learning of compilation flow.
💡 Comparative programming language experiments analyzing core features like Boolean logic, iteration, subprogram design, and lexical analysis through C, Go, Python, JavaScript, Kotlin, PHP, Rust, and Lex.
The main goal of our project is to implement a simplified C compiler frontend using Flex and Bison. It includes lexical analysis, parsing, AST generation, and semantic analysis to detect errors like type mismatch, undeclared variables, uninitialized usage, and more.
Educational compiler project for a simplified C-like language ("MiniLang++"), demonstrating core compiler phases including tokenization, AST construction, semantic validation, intermediate representation (TAC), and assembly code generation for Linux x86_64.
25-1 프로그래밍언어 (prof. 타메르)
25-1 프로그래밍언어 (prof. 타메르)
Α Python-like compiler in Java using SableCC for lexical, syntax, and semantic analysis. It defines a custom grammar, builds an Abstract Syntax Tree, and uses symbol tables to catch undeclared variables, invalid calls, type mismatches, and duplicate functions.
Rapid prototyping parser generator
DFA regular expression library & friends
End-to-end compiler for MiniPascal, a simplified Pascal language. Built with C++, Flex, and Bison, it parses, semantically analyzes, and generates assembly for a custom stack-based VM.