basilisp icon indicating copy to clipboard operation
basilisp copied to clipboard

Simplify reader macro to compiler logic

Open chrisrink10 opened this issue 4 years ago • 0 comments

Every time we want to add a new reader macro to Basilisp, changes need to be made to the reader, analyzer, and generator to support those changes. However, it would probably be much simpler if we merely returned some sort of ReaderMacro type from the reader which the compiler could use to generically reconstruct the reader form, so we wouldn't have to add special support to the compiler for every macro form.

chrisrink10 avatar Jul 21 '20 11:07 chrisrink10