From b51423e8bcc8e030f63971cd49d02786ba8bc7db Mon Sep 17 00:00:00 2001 From: Elijah Cohen Date: Wed, 20 Nov 2024 16:29:20 -0600 Subject: [PATCH] flushed out lookup_builtin --- src/builtins.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/builtins.c b/src/builtins.c index 3a05b50..fe91838 100644 --- a/src/builtins.c +++ b/src/builtins.c @@ -147,6 +147,14 @@ char* lookup_builtin(Sexpr* b) { return CORE_NOT_STR; case CORE_ATOM: return CORE_ATOM_STR; + case CORE_REST: + return CORE_REST_STR; + case CORE_UNQUOTE: + return CORE_UNQUOTE_STR; + case CORE_APPLYN: + return CORE_APPLYN_STR; + case CORE_TYPE: + return CORE_TYPE_STR; case CORE_DEF: return CORE_DEF_STR; case CORE_EXIT: @@ -196,8 +204,14 @@ char* lookup_builtin(Sexpr* b) { switch(suffix) { case IO_PRINT: return IO_PRINT_STR; + case IO_PRINTSTR: + return IO_PRINTSTR_STR; case IO_PB: return IO_PB_STR; + case IO_READFILE: + return IO_READFILE_STR; + case IO_WRITEFILE: + return IO_WRITEFILE_STR; default: return "NOT FOUND (IO)"; } -- 2.39.2