Skip to main content

Crate codehelion_frontend_rust

Crate codehelion_frontend_rust 

Source
Expand description

Rust frontends for codehelion.

Implements codehelion_core::frontend::Frontend for Rust: an error-tolerant lexer paired with brace-matching unit-boundary detection. The ir module adds the Structural-mode frontend, which parses the file with a real Rust parser and maps the tree onto the Syntax IR. Nothing here executes or expands the source; macros and generics pass through as tokens.

Modules§

ir
Structural-mode Rust frontend: real-parser CST to Syntax-IR conversion.

Structs§

RustFrontend
The Rust Fast-mode frontend.

Constants§

FRONTEND_VERSION
Version tag of this frontend, used as a fingerprint input. Bump it whenever a change alters the token stream or unit boundaries for unchanged input.