From: Deborah H. <de...@us...> - 2002-04-26 18:01:35
|
Update of /cvsroot/tics/tics/tlisp/functions/programming In directory usw-pr-cvs1:/tmp/cvs-serv13834/tlisp/functions/programming Modified Files: Eval.tcc Log Message: Made calling methods (i.e. stored lambdas) MUCH easier. Implemented a whole lot of unit tests, some of which are pretty twisted. Added setq, which does what set used to do. set now evals its argument before storing it. Implemented some utility routines on Sexp to make all the dynamic casting easier (namely, methods ToList, ToLambda and ToObject). Fixed up all the tlisp to use setq and the new way to call methods. Implemented implicit get-attribute in object/@ as part of making calling stored lambdas easier. Also as part of that, getting a stored lambda returns a lambda object now, instead of just a list that needs to be evaled. |