tick some boxes
This commit is contained in:
parent
ad6fcccc79
commit
96906fdb9f
10
src/base.rs
10
src/base.rs
|
@ -157,13 +157,8 @@ pub fn base<'src>() -> Vec<(&'src str, Value<'src>)> {
|
|||
]
|
||||
}
|
||||
|
||||
// * [x] and (x, y) -> value
|
||||
// * [x] assoc (x, y) -> dict
|
||||
// * [ ] atan_2 (x) -> number
|
||||
// * [x] bool (x) -> bool
|
||||
// * [ ] ceil (x) -> number
|
||||
// * [x] chars (x) -> list
|
||||
// * [ ] concat (x, y) -> value
|
||||
// * [ ] conj (x, y) -> list
|
||||
// * [ ] cos (x) -> number
|
||||
// * [ ] dec (x) -> number
|
||||
|
@ -208,6 +203,11 @@ pub fn base<'src>() -> Vec<(&'src str, Value<'src>)> {
|
|||
// * [ ] type (x) -> keyword
|
||||
// * [ ] upcase (x) -> string
|
||||
// * [x] add (x, y) -> number
|
||||
// * [x] and (x, y) -> value
|
||||
// * [x] assoc (x, y) -> dict
|
||||
// * [x] bool (x) -> bool
|
||||
// * [x] chars (x) -> list
|
||||
// * [x] concat (x, y) -> value
|
||||
// * [x] eq (x, y) -> bool
|
||||
// * [x] store! (x, y) -> value
|
||||
// * [x] unbox (x) -> value
|
||||
|
|
|
@ -59,7 +59,7 @@ use crate::base::*;
|
|||
pub fn main() {
|
||||
let src = "
|
||||
let foo = [1, 2, 3]
|
||||
concat(foo, [4, 5, 6])
|
||||
concat([1, 2, 3], [4, 5, 6])
|
||||
";
|
||||
let (tokens, lex_errs) = lexer().parse(src).into_output_errors();
|
||||
if !lex_errs.is_empty() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user