3 ms·
That code is just data. In lispalikes, code has the same "shape" as any other data. The compiler / language environment and the runtime environment are "blend
by xyzzy123 4y ago
That code is just data.
In lispalikes, code has the same "shape" as any other data.
The compiler / language environment and the runtime environment are "blended" in a much more natural way than is usual.
- gavinray 4y agoI'll make the argument that this is a property of JavaScript too JSON being a native part of the language makes it inexpressibly easier to work with than in languages where you've got to define serialization and logic In JS, you can toss around objects which can have functions or primitive values as properties in much the same way you can work with IE maps in Clojure
- 3np 4y agoYou can't eval a json AST and have it execute. As of WebExtensionsV3, you can't eval anything at all. AIUI (not a lisper; just dabbled in a past life) in Lisp, the closest practice is idiomatic.
- deleted 4y ago[deleted]