Lines Matching refs:parse
44 /// For a list of numbers, we have `'(1 2 3)`, which we'll parse to:
106 /// The next easiest thing to parse are keywords.
124 digit_str.parse::<i32>().map(Atom::Num)
127 Atom::Num(-1 * digit_str.parse::<i32>().unwrap())
133 /// We can now parse half of our language!
148 /// Before continuing, we need a helper function to parse lists.
170 /// that we need to parse an expression and then parse 0 or more expressions, all
184 /// defined `Expr::If` to have an `Option` for the else block), we parse both
224 // looking for an s-expression of 0 or more expressions, and then parse them
241 /// We can now parse our entire lisp language.