News for hackers. Stuff that matters.
Re:μLithp - a Lisp in 27 lines of Ruby by klibertp on Saturday January 05, 2013 @01:14PM (#5013436)
Sad (for me) difference: tail call optimization, done automatically in Schemes, unavailable in Clojure. I know of recur and trampoline, but recur does not (I think?) work with mutual recursion and if I wanted to use trampoline, I'd be coding in JavaScript :)

Personally I dislike Clojure's syntax - Scheme's feels more pure, cleaner. It's a bit like PERL vs. Python, a matter of taste largely.

Re:μLithp - a Lisp in 27 lines of Ruby by wonderzombie on Saturday January 05, 2013 @06:37PM (#5014493)
I don't believe recur works with mutual recursion. I wish I understood mutual recursion better, frankly. Got any pointers about how one might use it in practice? In general my Lisp-fu could use a lot of improvement.

I would call it more like Ruby vs. Python — c'mon, perl? that's just mean — but yes, we're quibbling. :)

Re:μLithp - a Lisp in 27 lines of Ruby by chongli on Sunday January 06, 2013 @11:59AM (#5016789)
>Got any pointers about how one might use it in practice?

The meta-circular evaluator is a prime example of mutual recursion. It consists of two functions, eval and apply, which call each other in a circular fashion until a result is reached.