Skip to main content

parse

Function parse 

Source
pub fn parse<'a>(source: &'a str) -> Result<Node<'a>, CompilationError>
Expand description

Parses BESL source and returns the root syntax node.

This function tokenizes the source and builds a syntax tree. Call lex to resolve the tree’s named references before compilation.