2 ms·
This is an interesting approach. I find myself being sucked into the space between Forth and Lisp. Thanks for showing a working example of a system that uses Ca
by mikewarot 5y ago
This is an interesting approach. I find myself being sucked into the space between Forth and Lisp. Thanks for showing a working example of a system that uses Case as a color (in the ColorForth sense) for text. The more of these types of systems I see, the more I'm starting to recognize patterns... Def instead of :, swapping the argument orders (prefix/postfix), etc.
It's helpful to me specifically, because I'm trying to tweak a forth like language written in C, and you're giving me a similar framework to compare it against. As a novice C programmer, this is very helpful.
- stavromulabeta 5y agoI'm glad you're finding Cognate useful. Case is actually a higher order function that builds a closure that performs the pattern match - no compile time execution is involved.