From 75bffac83e8e8a30ae7643a5d830e580d1ffee65 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Thu, 5 Jan 2023 18:41:13 -0800 Subject: add more primitives --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.c') 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); -- cgit