Apply works; all unit tests pass.

This commit is contained in:
simon 2017-10-15 18:27:55 +01:00
parent 8e7d1ab913
commit 685790df43
5 changed files with 66 additions and 32 deletions

View file

@ -94,11 +94,11 @@ int main( int argc, char *argv[] ) {
bind_function( "*", &lisp_multiply );
bind_function( "subtract", &lisp_subtract );
bind_function( "-", &lisp_subtract );
bind_function( "apply", &lisp_apply );
/*
* primitive special forms
*/
bind_special( "apply", &lisp_apply );
bind_special( "eval", &lisp_eval );
bind_special( "quote", &lisp_quote );