r/ProgrammingLanguages • u/Phie_Ash • Apr 05 '26
How I Accidentally Reinvented Kernel (Programming Language)
https://fayash.me/posts/how-i-accidentally-reinvented-kernel
28
Upvotes
r/ProgrammingLanguages • u/Phie_Ash • Apr 05 '26
3
u/WittyStick Apr 06 '26 edited Apr 06 '26
IMO, first-class environments are one of Kernel's best features - though the consequence is that they make compilation difficult, if not impossible, because the meaning of any operative may depend on the dynamic runtime environment provided when the operative is called.
The design you have made makes
evalmore like$remote-eval, except we can't craft our own parameter for the environment to perform the evaluation in - we can only use the caller's evaluator. There's a ton of missed opportunity in not having$bindings->environmentandmake-environment.2
u/awoocent Apr 05 '26
At what point, after everyone's first Lisp dialect "rediscovers" the vau calculus, do we finally admit that the entire idea of Kernel is just kind of obvious and not actually that interesting?
4
u/Inevitable-Ant1725 Apr 06 '26
I really miss John Shutt, he had fascinating ideas and he died too soon.
3
u/Impetus_of_Meaning Apr 06 '26
Glad to see discourse on fexprs 🥺🙏 keep up the good work sir 🫡