Function expressions::lex

source ·
pub fn lex(inp: &str) -> Vec<Expr>
Expand description

Simple String Tokenizer. Takes a string slice and generates a Vector of tokens such as Sym("+"), Val(3), etc.