-
as with anything there are tradeoffs. this code is very closed compared to what i had built in C#. adding a special form means editing the source of this file, whereas in my first draft dispatch was more dynamic and it was easier to extend from the outside.
-
thats fine for something rigid like the internals a compiler, but i imagine there are other applications where the closed nature of pattern matching would be disqualifying.
-
im having a blast in any case! next steps: finish porting the analyzer and start porting the bytecode generator (my favorite bit) ✌🏽




