Expand description
Parses BESL tokens into syntax nodes that preserve the source structure.
§Example shader
Light: struct {
position: vec3,
color: vec3,
}
main: fn () -> void {
gl_Position = vec4(0.0, 0.0, 0.0, 1.0);
}Use crate::parse as the entry point. The parser records cross-references by name.
The crate::lexer module resolves those names later.
Structs§
Enums§
- Expressions
- Nodes
- Parsing
Fail Reasons - Type
Name - The
TypeNameenum preserves type structure while the parser still borrows source text.
Type Aliases§
- Node
Reference - A shared syntax node in a parsed BESL tree.