by liamilan · 2y ago · 0 comments
Wanted first class functions to simplify the parse step (they can be treated like any other value), but I needed a different mechanism to invoke “native code” vs user-defined methods, so there’s two different types for that.
Needed some kind of compound data type, but I didn’t want to deal with side effects from pass by reference, so Crumb implements lists, but they are always pass by value :)
P.s. theres some pretty neat stuff build with Crumb at https://github.com/topics/crumb if anyone’s interested!
No comments yet.