Re:Expresso: A simple expressions language with polymorphic ...
by garmaine on Monday November 19, 2018 @05:15PM
(#18490211)
Do you have any notes on this? It is something I’m actively researching.
[ Parent
| on HN ]
Re:Expresso: A simple expressions language with polymorphic ...
by CuriousSkeptic on Wednesday November 21, 2018 @02:33PM
(#18505341)
Not much. But basically a bit inspired by Cat (a stack based, typed, concatenative language), and a thought that stacks could be replaced by first class environments and rewriting, so you could have a concatenative language with partial evaluation. Instead of the usual ordered parameter lists, and/or curried functions with partial application, functions take environments and produce environments. A program like "{a=1}{b=2}{c=a+b}" would evaluate to "{c=3}". While "{b=2}{c=a+b}" evaluates to "{c=a+2}"