A lot of work
This commit is contained in:
+5
-3
@@ -5,12 +5,14 @@
|
||||
|
||||
int main(int argc, const char **argv) {
|
||||
lisp_init();
|
||||
push_stack_frame(Qnil, Qnil, Qnil);
|
||||
ReadStream s;
|
||||
const char BUF[] = "t";
|
||||
const char BUF[] = "(a b c d e f g h i j k l m)";
|
||||
read_stream_init(&s, BUF, sizeof(BUF) - 1);
|
||||
LispVal *l = read(&s);
|
||||
CHECK_TYPE(l, TYPE_FIXNUM);
|
||||
printf("%d\n", l == Qt);
|
||||
l = Ffuncall(Qmake_symbol, LISP_LITSTR("a"));
|
||||
debug_obj_info(stdout, l);
|
||||
pop_stack_frame();
|
||||
lisp_shutdown();
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user