From: Elijah Cohen Date: Wed, 20 Nov 2024 22:29:20 +0000 (-0600) Subject: flushed out lookup_builtin X-Git-Url: https://git.eli173.com/?a=commitdiff_plain;h=b51423e8bcc8e030f63971cd49d02786ba8bc7db;p=klapaucius flushed out lookup_builtin --- 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)"; }