Skip to main content

parse_expr

Function parse_expr 

Source
pub fn parse_expr(text: &str) -> Result<Expr, ExprError>
Expand description

Parse a whole B-source expression (v(1)*2, exp(i(vin)/1m)). Names are lowercased, as the 3f5 lowercases the whole deck; text left after a complete expression is an error.