melisgl / named-readtables

The official repo of named-readtables.
Other
66 stars 15 forks source link

Unable to compile file with DEFREADTABLE and IN-READTABLE #14

Closed phoe closed 4 years ago

phoe commented 4 years ago
(defreadtable :riichi-evaluator
  (:merge :standard))

(in-readtable :riichi-evaluator)

Compiling this file fails because the readtable from DEFREADTABLE is not available in the compile environment.

A fix would be to add :COMPILE-TOPLEVEL to the EVAL-WHEN inside DEFREADTABLE.

phoe commented 4 years ago

OK, I've read the README and I can understand the rationale there. Closing.