ast
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 115 public repositories matching this topic...
Mobilang to AST Compiler
-
Updated
Aug 3, 2022 - C++
A custom mini language with its own custom compiler built from scratch in modern C++20.
-
Updated
Jul 9, 2025 - C++
This is my implementation of the first interpreter described in the book Crafting Interpreters by Robert Nystrom
-
Updated
Apr 16, 2022 - C++
Math interpreter with variables support and AST optimization
-
Updated
Jun 8, 2020 - C++
Deliverables relating to the Compiler Theory and Practice University Unit
-
Updated
Jun 14, 2023 - C++
Реализация ядра электронной таблицы (аналог excel) с арифметическими выражениями и формулами.
-
Updated
May 12, 2022 - C++
Text index with support for complex queries
-
Updated
Sep 10, 2018 - C++
Intérprete de pseudocódigo en español
-
Updated
Dec 14, 2024 - C++
Lightweight IScript interpreter in C++23 (lexer, parser, AST, Environment)
-
Updated
Jun 2, 2025 - C++
- Followers
- 11k followers
- Website
- github.com/topics/parsing
- Wikipedia
- Wikipedia