Skip to main content

Crate draxl_parser

Crate draxl_parser 

Source
Expand description

Hand-written lexer and parser for the current Draxl Rust profile.

The crate is intentionally small and explicit:

  • syntax defines the token model shared by the lexer and parser
  • lexer turns source text into tokens
  • parser builds a typed Draxl AST from those tokens
  • error provides parse errors with stable span and line/column reporting

Structs§

ParseError
Parse error for Draxl bootstrap files.

Functions§

parse_file
Parses Draxl source into the bootstrap AST.