Skip to main content

parse

Function parse 

Source
pub fn parse(_source: &str) -> Result<Expr>
Expand description

Parse Fermata source code into an AST.

§Example

let ast = fermata::parse("(note c4 :q)")?;

§Errors

Returns Error::Parse if the source contains syntax errors.