2 releases

0.1.1 Dec 28, 2022
0.1.0 Dec 11, 2022

#720 in Development tools

32 downloads per month
Used in 2 crates (via rush-analyzer)


2.5K SLoC

rush Parser

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.