"alux" <alu...@googlemail.com> said: Hey alux,
> what an interesting discussion! Whoo! ;-) > > Many thanks four your comment. > >> So, if you have lazy-eval, there's no need for special-forms. > > This is obviousely correct for if / cond. > > Looking into the other special forms ( http://clojure.org/special_forms > ), I wouldnt know how to implement all of them. Certainly there is, > unknownst to me, a bunch of literature about (sets of) primitives that > cannot e replaced - literature hints anybody? > (Well, thats probably a nice set of exercises :) If you're interested in programming languages, I encourage you to study SICP [1]. In chapter four, you can see variations of Scheme implemented in a metacircular way. One of these variations is a lazy evaluator (4.2 [2]). Please note that the lazy evaluator does NOT have special-forms at all. Kind ragards, SinDoc [1] http://mitpress.mit.edu/sicp/full-text/book/book.html [2] http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-27.html#%_sec_4.2 -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en