The 'literal' special form is just really broken.
samrushing opened this issue · 0 comments
samrushing commented
Noticed that t_alist0.scm no longer works. I think that a better approach would be to teach the compiler to recognize top-level literal expressions, and just emit them naturally. [would it make sense to do this outside of the top level?]
I think it can be done efficiently by just looking for any definition consisting of a constructor.
The code that translates those into 'literal' objects could just raise an error if it encounters a funcall in there.