Home | Notifications | New Note | Local | Federated | Search | Logout

Note Detail


Irenes (many)@ireneista@adhd.irenes.space (2026-09-08 11:02:05)
there's a specific interface between the transform and the compiler (the compiler is the thing being transformed), which is gradually becoming clearer in our head, and which we do intend to formalize as soon as we can get all the words together. it's not intended to work with any arbitrary thing the compiler might do, only stuff that follows the interface restrictions, so it's not as bad as it sounds.

---Reply--- Irenes (many)@ireneista@adhd.irenes.space (2026-09-08 11:03:53) anyway, so we need to have a running concept of where in the output buffer the current output point is, which is a concept the compiler keeps track of through means opaque to us.
Reply

---Replies---
Irenes (many)@ireneista@adhd.irenes.space (2026-09-08 11:04:57)
fortunately, it's not that hard to reconstruct. the compiler does go back and retrace its steps sometimes, re-writing areas of the output it's already done, but that happens in pretty controlled ways that we can deal with specially. for the most part, each major pass it does is filling the buffer up linearly, from beginning to end.