notes
All repositories: gitoria
806 B
// hl:proc — THE TERMINAL'S OWN INPUT as instance events, the Process pattern// applied to fd 0://// input = stdin()// on input.line(text) { … } \\ one typed line, without its newline// on input.eof() { … } \\ the terminal closed (Ctrl-D)//// A joined terminal realm (SPEC "Joining a realm") is what this exists for: the// peer's entry reads lines here and `emit`s across the edge.Number #srcId = 0start() {#srcId = __native("eventloop.register", __native("proc.stdin"), "__stdinEvent")return this}on __stdinEvent(ev) {if (ev.eof == true) {// the closed terminal retires its source, so a program whose only// source was the keyboard simply ends__native("eventloop.unregister", #srcId)emit eof()return null}emit line(ev.line)return null}
Branches
- mainmain branch
Latest commits
- 3dea0ef2notes: Hybriel master 190aa11d (fc838894 GC correctness, #126 closure scopes, #127); gate 50/0mre
- e27c7d71notes: Hybriel master 8efba065 (#126 GC by bytes, #48 lambda params copy; audit: nothing to fix; gate 50/0)mre
- 124613b6antcolony#40: mission references point to the moved missionsmre
- 1ca2f34dantcolony#40: history (LOG.md), worker briefs (missions/) and reports moved here from antcolony, numbered per project; old numbers in antcolony docs/mission-map.mdmre
- 2bebebdanotes: Hybriel master ff51cf46 (re-vendor round)mre
- 3eff126dnotes#3: installable app (manifest + own icon/favicon; notes' own sw.js kept)mre
- 9883c540deploy.sh: back up live storage/.sessions/.env before every deploy (newest 5 kept)mre
- eee693b8deploy.sh: never send .git or .gitignore to Byrodinmre
- c8904061State of 2026-09-27, before the move to gitoriamre