summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2023-01-05 18:41:13 -0800
committerPreston Pan <preston@nullring.xyz>2023-01-05 18:41:13 -0800
commit75bffac83e8e8a30ae7643a5d830e580d1ffee65 (patch)
tree56e6ea17c8110f9383f12ef1fa03ad60ddec3962 /src/main.c
parent346507f767d71c69e55b9f663449eb39e1bc7e54 (diff)
add more primitives
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 9eec089..3dbbf86 100644
--- a/src/main.c
+++ b/src/main.c
@@ -98,9 +98,9 @@ int main(int argc, char **argv) {
/* ast_t *root = eval(visitor); */
/* ast_t *res = root->subnodes[0]; */
/* print(res); */
- /* TODO: TEST NON-BUILTIN FUNCTIONS (stack frame) */
- lexer_t *lexer = init_lexer("((lambda (x y) (+ x y)) (+ 3.0 4.0) 4)");
+ /* DONE: TEST NON-BUILTIN FUNCTIONS (stack frame) */
+ lexer_t *lexer = init_lexer("((lambda (x y) (+ x y)) (+ 3 4) 4)");
parser_t *parser = init_parser(lexer);
visitor_t *visitor = init_visitor(parser);