rush-analyzer

Crates.iorush-analyzer
lib.rsrush-analyzer
version0.1.1
sourcesrc
created_at2022-12-11 17:16:05.082506
updated_at2022-12-28 14:03:27.214069
descriptionA semantic analyzer and type-annotator for the rush programming language
homepage
repositoryhttps://github.com/rush-rs/rush.git
max_upload_size
id734422
size133,153
Mik Mueller (MikMuellerDev)

documentation

README

Semantic Analyzer

A crate which performs semantic analysis and tree-annotation on rush programs.

Almost every rush compiler backend requires the semantic correctness of its input tree. Furthermore, the backends often require precise type information at compile time in order to compile the correct output.

Therefore, the analyzer traverses an AST generated by the rush-parser and adds type information whilst validating its semantic correctness.

This way, many compiler backends can be significantly simplified due to the lack of unnecessary checks during program compilation.

Commit count: 816

cargo fmt