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
View all comments
Show parent comment
1
u/Phie_Ash Apr 07 '26
Well actually I think my implementation of the evaluator works as the former one you described. Calling (env foo) actually evaluates foo in the current environment, and then evaluates its result in env, while calling (env 'foo) is what evaluates foo in env.