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 78 public repositories matching this topic...
Simple programming language in Rust
-
Updated
Dec 25, 2022 - Rust
rlox-interpreter is an AST-walking implementation of Bob Nystrom's Lox language in Rust.
-
Updated
Jun 8, 2022 - Rust
A converter from chord progression strings to AST built in Rust that outputs wasm, so it can be used from JavaScript too.
-
Updated
May 22, 2024 - Rust
Recursive descent parser written in Rust for an ECMAScript inspired language.
-
Updated
Jun 17, 2021 - Rust
Dimension-agnostic geometric algebra expression evaluation
-
Updated
Dec 12, 2023 - 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 full blown compiler generator with a goal of a clear design and huge flexibility. It even gives you access to error handling and further analysis.
-
Updated
Feb 10, 2022 - Rust
Experimental hobbyist scripting language
-
Updated
Feb 8, 2024 - Rust
Compiler for subset of Pascal targeting WebAssembly text-format
-
Updated
Oct 17, 2023 - Rust
a systems programming language that doesn't suck
-
Updated
Jul 27, 2022 - Rust
- Followers
- 10.1k followers
- Wikipedia
- Wikipedia