3 ms·
> Forth style is great for writing but very hard for reading. It's the lack of type- and structural indications. I like De Bruijn notation for lambda calculus,
by zozbot234 7y ago
> Forth style is great for writing but very hard for reading.
It's the lack of type- and structural indications. I like De Bruijn notation for lambda calculus, which gives you a "postfix" syntax like in Forth (only for function application though, not for lambda abstraction!) but is semantically just plain old lambda, with all that implies (easy to extend with types, no weirdness in stack interactions, etc. etc.). Unfortunately I've not seen it implemented in real-world systems, except perhaps in some theorem provers.