justinmeiners/lisp-interpreter

Syntax checkers

justinmeiners opened this issue · 1 comments

Like macros except they just check that forms look like (like cons, cdr, etc).
Could probably just be in C, but would like them to be separate functions.
Expand currently does this for set! manually.

The solution is to make an internal version with a private name like _set! and then expand set! to it with a macro that checks the arguments.