DFA regular expression library & friends
-
Updated
Oct 23, 2024 - C
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.
DFA regular expression library & friends
C Lexer, Written in C
[PT] Analisadores léxicos para disciplina de Compiladores.
compiler to compile markown language to html language. It consist of a scanner in lex, an abstract syntax tree in c, a parser in yacc and a code generator.
Compiler and Parser build of an XML-like programming language.
LEX practice exercises - Compilers
A comprehensive collection of Lex (lexical analyzer) codes for tokenization, pattern matching, syntax highlighting, and custom lexical analyzers.
This project showcases two approaches to parsing: a bottom-up parser using Flex & Bison, and a top-down parser using Flex & Recursive Descent. Developed as part of a Compiler course exercise, the parsers process Olympic sports data, identifying those that appeared in at least 7 Olympic games.
This project involves creating a lexical analyzer using Flex to identify tokens related to Olympic sports and their respective years. Developed as the first exercise in a Compiler course, it demonstrates the use of regular expressions to parse structured text input.
Development of a mini-compiler in C using FLEX and Bison for lexical and syntax-semantic analysis, with symbol table management, error handling, and generation of intermediate and object code.
minishell is a custom shell implementation that replicates core bash features, including command history, path resolution, redirections, pipes, environment variables, signal handling, and built-in commands like echo, cd, and env. It offers a comprehensive shell experience for understanding Unix-like shell internals.
Compiler for "Shenva" language, made for magshimim final project
This is a compiler project developed during my college coursework. It includes lexical analysis, syntax analysis, semantic analysis, intermediate code generation, optimization, and code generation stages. The goal is to translate high-level language source code into target machine code.
Sure, here's a concise description for your repository: This repository contains programs from the Compiler Design Lab, covering lexical analysis, parsing, syntax tree generation, and more. Implemented in C, C++, Java, and Lex, these programs demonstrate essential compiler design concepts and techniques.
This repository contains all the lab assignments done in the CSE420 course of BracU.
Creating a unix Mini shell using Lex, Yacc and C++
A program written in pure C language, that can perform lexical tokenization of an arbitrary programming language, 'tinylang' in this particular case.
This repo offers 10 labs to learn compiler design, covering lexers, parsers, code generation, and more