Re:Racket – Lisp beyond Clojure
by junke on Tuesday September 27, 2016 @02:16PM
(#12591691)
Talking about CL, all the things that are done with syntax objects are done with environments (`&environment`). Type declarations, lexical bindings, etc. You can even process the same code in two different environments if this is useful. Other bindings from symbols to values can be stored in the symbols themselves: things like original code source (as a string; I recovered deleted code thanks to that in the past), original location, custom properties, etc.
[ Parent
| on HN ]
Re:Racket – Lisp beyond Clojure
by qwertyuiop924 on Tuesday September 27, 2016 @02:51PM
(#12591992)
So like the sc macro system, but more featureful. In theory, the sc macros could record this sort of data (maybe), but I don't think they record as much as syntax objects.