> 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 in non-homoiconic languages. As an exercise, try writing the `or' function in Java and then take a look at the Clojure implementation - https://github.com/clojure/clojure/blob/master/src/clj/clojure/core.clj#L789 Regards, BG -- Baishampayan Ghose b.ghose at gmail.com -- 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