On Tue, Aug 16, 2011 at 6:45 PM, André Thieme
<splendidl...@googlemail.com> wrote:
>
>
> On Aug 13, 11:14 pm, Ken Wesson <kwess...@gmail.com> wrote:
>> On Sat, Aug 13, 2011 at 1:36 PM, Lee Spector <lspec...@hampshire.edu> wrote:
>
>> > On the one hand most people who work in genetic programming these days 
>> > write in non-Lisp languages but evolve Lisp-like programs that are 
>> > interpreted via simple, specialized interpreters written in those other 
>> > languages (C, Java, whatever).
>>
>> The ultimate in Greenspunning. :)
>
>
> Exactly!
> All those people doing GP in C++ end up doing it in Lisp anyway.
> They write a GP engine that generates trees and manipulates them and
> then
> they'll have to write an interpreter for that limited language, which
> is basically the idea of Lisp. OMG ;)

Whereas if you started out with Lisp, you can skip all that and just write:

a) a few functions/macros

b) something to make/evolve trees of forms whose operator-position
symbols name those functions and macros

c) (eval evolved-form)

and Bob's your uncle. The interpreter you get for free, in the form of
the macroexpander and eval. Actually using Lisp is like having library
support for your Greenspunning. :)

-- 
Protege: What is this seething mass of parentheses?!
Master: Your father's Lisp REPL. This is the language of a true
hacker. Not as clumsy or random as C++; a language for a more
civilized age.

-- 
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

Reply via email to