lexical-analysis
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.
Here are 149 public repositories matching this topic...
DFA regular expression library & friends
-
Updated
Oct 23, 2024 - C
Implementing a complete Compiler for a simple C-like language using the C-tools Flex and Bison
-
Updated
Feb 8, 2023 - C
clex is a simple lexer generator
-
Updated
Apr 6, 2023 - C
C/C++ library for dynamic data structures, regular expressions, lexical analysis & more...
-
Updated
Jan 20, 2021 - C
Formální jazyky a překladače - Projekt - Implementace překladače imperativního jazyka IFJ17
-
Updated
Dec 7, 2017 - C
Jonathan's Optimizing and Extensible C Compiler (pronounced "joke"), called as such because the name, just like any attempt to use the compiler in place of an industrial strength one like gcc or clang, is a poorly written joke.
-
Updated
Aug 21, 2022 - C
This repository contains a minimalistic Pascal compiler implemented in C, covering lexical and syntax analysis. It serves as a learning resource for understanding the fundamental aspects of compiler design. The code is intentionally kept concise to provide a clear insight into the key stages of lexical and syntax analysis in a compiler.
-
Updated
Dec 7, 2023 - C
C++ compiler written in C++14
-
Updated
Apr 23, 2019 - C
SPPU Computer Engineering Codes - SPOS (System Programming and Operating System Programs)
-
Updated
Sep 27, 2022 - C
mini compiler of R
-
Updated
Oct 31, 2020 - C
A very fast SIMD (AVX2) accelerated lexer that does not rely on tables
-
Updated
Sep 24, 2021 - C
The Implementation of Pascal Compiler with C Language.
-
Updated
Jun 3, 2016 - C
Python Mini Compiler built using Lex and Yacc for the constructs If, If-Else, and While
-
Updated
May 5, 2021 - C
Front-end Platypus compiler implemented in C. Includes Buffer, Scanner, and Parser. Platypus is a language comprised of parts from a variety of other languages.
-
Updated
Jan 25, 2019 - C
Projeto para desenvolvimento de uma aplicação de análise léxica para a disciplina de Tradutores Unisinos-2019.
-
Updated
Sep 23, 2019 - C
Lex implementing all features described in Dragon Book
-
Updated
Jul 29, 2018 - C
C compiler
-
Updated
Mar 5, 2022 - C
- Followers
- 10.5k followers
- Wikipedia
- Wikipedia