Crates.io | rush-parser |
lib.rs | rush-parser |
version | 0.1.1 |
source | src |
created_at | 2022-12-11 17:15:51.015471 |
updated_at | 2022-12-28 14:02:58.624306 |
description | A lexer and parser for the rush programming language |
homepage | |
repository | https://github.com/rush-rs/rush.git |
max_upload_size | |
id | 734421 |
size | 137,282 |
A crate which performs syntactic analysis on rush programs whilst creating an AST.
This crate implements a lexer
and a parser for the rush programming
language. This parser is a
recursive descent parser,
meaning it uses a top-down approach. For infix expressions, an
operator precedence algorithm
is used. The AST generated by this crate is often validated and annotated by the
rush-analyzer
before being fed into a compiler.