4 ms·
FWIW, I think the idea he presents of performing algebra (or other formal syntactic or semantic operations) to derive and transform programs deserves more atten
by carapace 7y ago
FWIW, I think the idea he presents of performing algebra (or other formal syntactic or semantic operations) to derive and transform programs deserves more attention than it seems to get.
I was doing some experiments with Joy ( https://joypy.osdn.io/ https://joypy.osdn.io/ ) and some meta-programming that would have been pretty gnarly in most other notations was very straightforward:
https://joypy.osdn.io/notebooks/Quadratic.html#derive-a-definition https://joypy.osdn.io/notebooks/Quadratic.html#derive-a-defi...
https://joypy.osdn.io/notebooks/Recursion_Combinators.html#derivation-of-hylomorphism-combinator https://joypy.osdn.io/notebooks/Recursion_Combinators.html#d...
https://joypy.osdn.io/notebooks/Generator_Programs.html#making-generators https://joypy.osdn.io/notebooks/Generator_Programs.html#maki...
https://joypy.osdn.io/notebooks/Newton-Raphson.html#finding-consecutive-approximations-within-a-tolerance https://joypy.osdn.io/notebooks/Newton-Raphson.html#finding-...
Joy is similar to Backus' FP and to the point-free Haskell of Conal Elliot's "Compiling to categories" http://conal.net/papers/compiling-to-categories/ http://conal.net/papers/compiling-to-categories/ https://joypy.osdn.io/notebooks/Categorical.html https://joypy.osdn.io/notebooks/Categorical.html