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 105 public repositories matching this topic...
-
Updated
Oct 9, 2023 - Rust
Rust port of jlox language
-
Updated
Aug 11, 2025 - Rust
Monkey language interpreter written in Rust
-
Updated
Sep 23, 2019 - Rust
Arithmetic expressions recursive-descent parser written from scratch
-
Updated
Oct 2, 2022 - Rust
A toy liquid type checker for Rust
-
Updated
Jul 30, 2025 - Rust
Experimental compiler in Rust, and more coming: lexical analysis, AST parsing, semantic analysis, type system (int/float/bool/string), functions with typed parameters, and code generation.
-
Updated
Jun 21, 2025 - Rust
it's not a hammer, chisel, or scalpel. but it's good enough for government work
-
Updated
Nov 3, 2025 - Rust
Just a practice of some days to write some code to throw away
-
Updated
Sep 29, 2023 - Rust
A programming language impl from Robert Nystrom's Crafting Interpreters
-
Updated
Sep 3, 2024 - Rust
Interpreted language written in Rust
-
Updated
Apr 7, 2025 - Rust
- Followers
- 11k followers
- Website
- github.com/topics/parsing
- Wikipedia
- Wikipedia