From c54fefd17fb54029bbb62c363197c808b0fecc6b Mon Sep 17 00:00:00 2001 From: Teddy Date: Mon, 5 Aug 2013 09:41:19 +0800 Subject: added list support --- builtin.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'builtin.cpp') diff --git a/builtin.cpp b/builtin.cpp index f1b518f..17c5e94 100644 --- a/builtin.cpp +++ b/builtin.cpp @@ -296,6 +296,10 @@ EvalObj *builtin_cdr(ArgList *args) { return TO_CONS(args->car)->cdr; } +EvalObj *builtin_list(ArgList *args) { + return args; +} + EvalObj *builtin_plus(ArgList *args) { // TODO: type conversion and proper arithmetic int res = 0; -- cgit v1.2.3