dave on Nostr: I have been learning about continuation passing style lately and I'm trying to think ...
I have been learning about continuation passing style lately and I'm trying to think of ways to capture the process in blog form that could serve as a stepping stone for other novices. currently mulling over the idea of a "baby's first cps" blog post that walks through compiling some tiny simple language (like maybe a 4-function calculator language) to cps and interpreting the result. the point would be to show how to linearize a very simple expression tree that you can easily implement for yourself in a safe place far away from the gnarliness of real world compilers and then point towards resources for leveling up.
Published at
2023-06-15 17:09:31Event JSON
{
"id": "e1035a35e4cb96edf02fa8f93f3ac3bfc85e52a99397aa6eef82b031b0d0f295",
"pubkey": "1ba3c31c0ac2a0161b903be74e8a93bac9e51f68b21aa5cc5e3b6f9150e993e3",
"created_at": 1686848971,
"kind": 1,
"tags": [
[
"mostr",
"https://toot.cat/users/dthompson/statuses/110549334224276722"
]
],
"content": "I have been learning about continuation passing style lately and I'm trying to think of ways to capture the process in blog form that could serve as a stepping stone for other novices. currently mulling over the idea of a \"baby's first cps\" blog post that walks through compiling some tiny simple language (like maybe a 4-function calculator language) to cps and interpreting the result. the point would be to show how to linearize a very simple expression tree that you can easily implement for yourself in a safe place far away from the gnarliness of real world compilers and then point towards resources for leveling up.",
"sig": "b4ee20ee0323f1e6506a6ec9e68dcf93ee4920913fd5fce870f4fae1ee9f0d8b7608fd52081d6a7747afd42783b6732d5552b17fe51f3f840a8988aeb29dec8b"
}