3 ms·
So, to understand what you are saying, is it true that in LISP, you can write a function F that can take any function object G, and turn it into an equivalent A
by amelius 12y ago
So, to understand what you are saying, is it true that in LISP, you can write a function F that can take any function object G, and turn it into an equivalent AST of G?
- 4ad 12y agoThe spirit of your statement is true, but the precise formulation is incorrect. In LISPs, when you pass a function, you pass a list that defines the function. There is no special "turn into AST" step. Executable code is data, and you can create genuinely new executable code out of this data. There's no special "turn code into data" or "find the data corresponding to this code" step. Code just is data.