Wire up more builtins and slightly improve printing

This commit is contained in:
2022-10-28 23:45:08 -04:00
parent d97be8ec4b
commit 5dbe3c67af
3 changed files with 23 additions and 9 deletions

View File

@@ -8,10 +8,6 @@
#include <string.h>
#include <stdlib.h>
LISP_FUNC_0(ucl_builtin_hello_world) {
return ucl_string_create(strdup("Hello, world!"));
}
LISP_FUNC_1(ucl_builtin_type, arg) {
switch (arg->type) {
case UCL_TYPE_CELL: