Language : lisp
|erger||mazrabul||Lisp||April 3, 2012|
|LUA's for loops (in LISP)||timm||Lisp||looping||
The LUA programming language supports iterators.
The LUA for loop takes some generate function and asks it to produce a function that can return the next item.
A loop is then entered. The next item is generated. If it is non-nil, then the body of the loop is called to consume that item.
Otherwise, it exit.
The following LISP macro emulates that for command.
|February 25, 2012|
at runtime, there are no if statements. everything gets sent "act" and instances sort themselves out whether or not to recurse or just return their head.
one bug kept me busy for a while- while adding terminals, i was traversing the cache while at the same time adding in new items. this lead to no end of bother.
but once i separated that out into 2 pass (one to find terminal symbols, one to add in a terminal for each such symbol) it was all pretty straight forward
|March 23, 2011|
|RTML and facebook like button||drifterz28||Lisp||RTML||January 21, 2011|
|RTML and facebook like button Fin||drifterz28||Lisp||RTML||January 21, 2011|
|some facebook like stuff rtml||drifterz28||Lisp||RTML||January 21, 2011|
|MORE facebook RTML code||drifterz28||Lisp||RTML||January 21, 2011|
|RTML faster publish||drifterz28||Lisp||RTML||January 21, 2011|
|Clojure: Factorial||YamNad||Lisp||Clojure: Factorial||January 12, 2011|
|December 10, 2010|
|Factorial (Tail Recursion)||captainhampton||Lisp||Factorial (Tail Recursion)||Tail recursive factorial||November 27, 2010|
|porcini risotto||mvexel||Lisp||risotto||November 10, 2010|
|Simple read-macro for printing CLOS objects readably||krzysz00||Lisp||Simple read-macro printing CLOS objects readably||This readmacro/print-object pair allows you to print CLOS objects in a fashion that allows you to read them back in.||November 9, 2010|
|Let form (1)||tprimke||Lisp||November 8, 2010|
|Let form (2)||tprimke||Lisp||November 8, 2010|