Skip to main content

parse

Function parse 

Source
pub fn parse(src: &str) -> Result<Program<'_>, ParseError<'_>>
Expand description

Parse a full .vrf source into a Program.

On error, returns a ParseError whose Display shows the offending line with a ^--- here caret, mirroring vsm-parser.