I can't believe it took this long for me to come up with this, but it is so obviously the Right Thing.https://gist.github.com/pervognsen/74e9c00781503525913f434e958cf62c …
Can simplify further by not constructing the AST, or, genericising AST construction as function from labels to payloads to results.
-
-
In the crazy case, the label->payload->result is a hygenic macro.
-
Working on some similar stuff now, moved from JavaScript to C++, really like working with "thin fat pointer" variant type.
End of conversation
New conversation -
-
-
Right, it's already designed to forego AST construction since it's designed for one-pass compilation. The latter--yes.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.