ruricolist / cloture

Clojure in Common Lisp
377 stars 7 forks source link

&env format #2

Open ruricolist opened 4 years ago

ruricolist commented 4 years ago

It should be possible to expose some information about the lexical environment in a Clojure-compatible way by storing it in the Lisp environment in the expansion of a symbol macro.

Clojure and ClojureScript use different formats, neither of which seems to be documented anywhere, but the value of &env should at least be a map or Clojure nil.

ruricolist commented 4 years ago

The value of &env is now a map, but the question of what information it should contain, and in what format, remains open.