Construção do trabalho prático da disciplina de Compiladores (1/2024)
-
Updated
Aug 25, 2024 - 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.
Construção do trabalho prático da disciplina de Compiladores (1/2024)
This repository contains all home and lab assignments for the CSE 310 : Compiler Sessional course, part of our Term-1, Level-3 curriculum. It applies theories from CSE 309 to build a C compiler.
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.
A short subset of C Compiler
A Lex and Yacc-based compiler for a new language inspired by C. With its powerful parsing and lexical analysis capabilities, this compiler efficiently translates high-level code into executable machine language.
This repository includes a study that aims to create and operate a new basic programming language. Detailed info in ReadMe
A simple parser for a simple grammar using lex and yacc tools.
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.
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.
Compiler for the Alpha language, part of CS340 course of CSD - UoC
This project is a compiler for a special form of math expressions using Lex and Yacc.
CSE-310 Compiler Sessional
Contains the project for the CS315- Programming Languages course
🔧 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.
Freedom Lang, my own programming language implemented in the C language infrastructure.
A3E is a simple programming language compiler similar to C++ built using Flex and Bison and a simple GUI for testing.
This is a mini C compiler built using lex and yacc. This was part of our innovative assignment.
CSE 310 - Compiler Sessional