mylisp.git
11 years agoremoved some dummy print statements master
Jorge Gorbe [Wed, 15 Jan 2014 10:37:40 +0000 (11:37 +0100)]
removed some dummy print statements

11 years agoMade lisp lists iterable. Changed all uses of foldl to python's own reduce. Further...
Jorge Gorbe [Tue, 14 Jan 2014 15:58:44 +0000 (16:58 +0100)]
Made lisp lists iterable. Changed all uses of foldl to python's own reduce. Further simplifications.

11 years agosimplified cond and the eval loop
Jorge Gorbe [Mon, 13 Jan 2014 13:48:03 +0000 (14:48 +0100)]
simplified cond and the eval loop

11 years agomoved argument checking and evaluation in lisp_* functions to a common decorator
Jorge Gorbe [Mon, 13 Jan 2014 12:47:07 +0000 (13:47 +0100)]
moved argument checking and evaluation in lisp_* functions to a common decorator

11 years agosimplify quasiquote function
Jorge Gorbe [Fri, 10 Jan 2014 13:53:13 +0000 (14:53 +0100)]
simplify quasiquote function

11 years agoAdded fact.l missing from previous commit
Jorge Gorbe [Fri, 10 Jan 2014 11:32:39 +0000 (12:32 +0100)]
Added fact.l missing from previous commit

11 years agoAdded tail call optimizations
Jorge Gorbe [Fri, 10 Jan 2014 11:17:30 +0000 (12:17 +0100)]
Added tail call optimizations
Added more int operators: -, *, /, mod
Added factorial test file

11 years agoinitial version
Jorge Gorbe [Thu, 9 Jan 2014 20:02:03 +0000 (21:02 +0100)]
initial version