Alex Baranosky writes:
> Julian,
>
> I saw no flames fired from Craig - and I am particularly intrigued by non-Lisp
> languages such as Ioke that are homoiconic and have macros.
I meant my comment as a pre-emptive joke to derail a replaying of the
old tale of Dylan, the lisp with infix syntax.
On Oct 31, 2011, at 5:40 AM, vikbehal wrote:
> I am from java Background. We say Homoiconicity in Clojure (Lisp).
> Code is data and data is code. I read various blogs on it, still not
> clear, Can you give me some example?
FWIW I think that homoiconicity can be useful in a variety of circumstan
This is the explanation that really made it click for me:
The nature of Lisp
http://www.defmacro.org/ramblings/lisp.html
--
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 fro
Julian,
I saw no flames fired from Craig - and I am particularly intrigued by
non-Lisp languages such as Ioke that are homoiconic and have macros.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegrou
Julian writes:
>> I wonder what would be required for a modification to the clojure reader
in
>> order to do this...
>No intention of picking on Julian, but do we really have to re-live all
>of the flamewars and jawflapping of comp.lang.lisp on the clojure group
>again? You're giving me flas
Julian writes:
> I wonder what would be required for a modification to the clojure reader in
> order to do this...
No intention of picking on Julian, but do we really have to re-live all
of the flamewars and jawflapping of comp.lang.lisp on the clojure group
again? You're giving me flashbacks 8
There are some examples of homoiconicity in other languages here:
http://c2.com/cgi/wiki?HomoiconicExampleInManyProgrammingLanguages
(being TCL, Joy and Io)
Also worth noting is the recent work by Ola Bini on Ioke.
Another interesting homoiconic language was Apple's Dylan language - which
tran
> I am from java Background. We say Homoiconicity in Clojure (Lisp).
> Code is data and data is code. I read various blogs on it, still not
> clear, Can you give me some example?
Using macros it's possible to add "new syntax" to the language which
is extremely hard (if possible at all) to achieve
While Peter Norvig was discussing Python with John McCarthy
(inventor of lisp) in the audience:
John simply asked if Python could gracefully manipulate
Python code as data.
"No, John, it can't" was Peter's reply.
Create a list and call read on it.
Create a function, manipulate it as a list to mo
I am from java Background. We say Homoiconicity in Clojure (Lisp).
Code is data and data is code. I read various blogs on it, still not
clear, Can you give me some example?
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send em
10 matches
Mail list logo