homoiconicity Questions
15
Reading Paul Graham's essays on programming languages one would think that Lisp macros are the only way to go. As a busy developer, working on other platforms, I have not had the privilege of using...
Durban asked 6/11, 2008 at 7:33
4
Solved
A claim that I recall being repeated in the Clojure for Lisp Programmers videos is that a great weakness of the earlier Lisps, particularly Common Lisp, is that too much is married to the lis...
Forsyth asked 18/1, 2021 at 20:24
3
Solved
I was trying to understand the Wikipedia article on homoiconity, but it's too verbose and does not explain the main theory behind the word concisely. I should add that I'm not a native English spea...
Ynez asked 27/6, 2011 at 12:15
5
Solved
Lisp has the property of being homoiconic, that is, the representation of code used by the language implementation (lists) is also available to, and idiomatically used by, programs that want to rep...
Trypanosome asked 29/11, 2011 at 1:8
1
Solved
Homoiconicity in Lisp is easy to see:
(+ 1 2)
is both the function call to + with 1, 2 as arguments, as well as being a list containing +, 1, and 2. It is simultaneously both code and data.
In ...
Ronel asked 30/7, 2015 at 20:50
1
Solved
This is a follow up to my previous question. I’m not convinced that Lisp code is as Homoiconic as machine code on a Von Neumann architecture. It seems obvious to me that in both cases code is...
Cutcherry asked 4/6, 2013 at 9:54
4
Solved
While I may incorrectly interpret the concept of homoiconicity, I've understood it as 'code being data'.
So, I can write code like this:
(def subject "world")
(def helo '(str "Hello " subject))
...
Author asked 23/5, 2013 at 15:34
10
Solved
By definition the word homoiconic means:
Same representation of code and data
In LISP this means that you could have a quoted list and evaluate it, so (car list) would be the function and (cd...
Notus asked 6/8, 2009 at 13:23
4
Solved
I will be forward in admiting that my knowledge of Lisp is extremely minimal. However I am extremely interested in the language and plan to begin seriously learning it in the near future. My unders...
Musketry asked 13/12, 2011 at 14:12
7
Solved
Isn't it possible to treat functions in Scheme as any other list?
Basically, what I want do to is something like this:
(define (foo) "hello")
(cdr foo) ; or similar, should return the list ((foo...
Pinder asked 6/3, 2010 at 17:59
18
Someone is trying to sell Lisp to me, as a super powerful language that can do everything ever, and then some.
Is there a practical code example of Lisp's power?(Preferably alongside equival...
Tremolite asked 19/9, 2008 at 22:10
1
© 2022 - 2024 — McMap. All rights reserved.