stash changes

This commit is contained in:
Scott Richmond 2025-07-01 10:42:34 -04:00
parent 4e7557cbcc
commit 989e217917

View File

@ -1126,13 +1126,13 @@ That leaves the following list:
* [ ] I need to return to the question of whether/how strings are ordered; do we use `at`, or do we want `char_at`? etc. * [ ] I need to return to the question of whether/how strings are ordered; do we use `at`, or do we want `char_at`? etc.
- MNL and I decided: yes, stings are indexable - MNL and I decided: yes, stings are indexable
- [ ] implement `slice` and `at` and others for strings - [ ] implement `slice` and `at` and others for strings
* [ ] Automate this build process * [x] Automate this build process
* [ ] Start testing against the cases in `ludus-test` * [ ] Start testing against the cases in `ludus-test`
* [ ] Systematically debug prelude * [ ] Systematically debug prelude
* [ ] Bring it in function by function, testing each in turn * [ ] Bring it in function by function, testing each in turn
* [ ] Animation hooked into the web frontend (Spacewar!) * [ ] Animation hooked into the web frontend (Spacewar!)
* [ ] Text input (Spacewar!) * [ ] Text input (Spacewar!)
* [ ] Makey makey for alternate input? * [ ] ~Makey makey for alternate input?~
* [ ] Saving and loading data into Ludus (perceptrons, dissociated press) * [ ] Saving and loading data into Ludus (perceptrons, dissociated press)
* [ ] Finding corpuses for Dissociated Press * [ ] Finding corpuses for Dissociated Press
* [ ] improve validator * [ ] improve validator
@ -1150,21 +1150,21 @@ That leaves the following list:
### Next steps in integration hell ### Next steps in integration hell
#### 2025-06-29 #### 2025-06-29
* [ ] improve build process for rudus+wasm_pack * [x] improve build process for rudus+wasm_pack
- [ ] delete generated .gitignore - [x] delete generated .gitignore
- [ ] edit first line of rudus.js to import the local `ludus.js` - [x] edit first line of rudus.js to import the local `ludus.js`
- On this, made a justfile, but I needed to like actually try the build and figure out what happens. I got carried away touching the js. Too many things at once. - On this, made a justfile, but I needed to like actually try the build and figure out what happens. I got carried away touching the js. Too many things at once.
* [ ] design & implement asynchronous i/o+runtime * [ ] design & implement asynchronous i/o+runtime
- [ ] use `box`es for i/o: they can be reified in rust: making actors available is rather more complex (i.e. require message passing between the ludus and rust) - [x] use `box`es for i/o: they can be reified in rust: making actors available is rather more complex (i.e. require message passing between the ludus and rust)
* We also then don't have to have prelude run in the vm; that's good * We also then don't have to have prelude run in the vm; that's good
* We... maybe or maybe don't need processes in prelude, since we need to read and write from the boxes; we might be able to do that with closures and functions that call `spawn!` themselves * We... maybe or maybe don't need processes in prelude, since we need to read and write from the boxes; we might be able to do that with closures and functions that call `spawn!` themselves
- [ ] start with ludus->rust->js pipeline - [x] start with ludus->rust->js pipeline
* [ ] console * [x] console
* [ ] turtle graphics * [ ] turtle graphics
* [ ] completion * [x] completion
- [ ] then js->rust->ludus - [ ] then js->rust->ludus
* [ ] kill * [x] kill
* [ ] text input * [?] text input
* [ ] keypresses * [ ] keypresses
- [ ] then ludus->rust->js->rust->ludus - [ ] then ludus->rust->js->rust->ludus
* [ ] slurp * [ ] slurp
@ -1176,3 +1176,11 @@ That leaves the following list:
* The return to a `slurp` call is interesting. * The return to a `slurp` call is interesting.
* I think the thing to do is to write to a slurp buffer/box as well. * I think the thing to do is to write to a slurp buffer/box as well.
### Finishing integration?
#### 2025-07-01
Happy Canada day!
After a really rough evening, I seem to have the actor model not only working in Ludus, but reasonably debugged in Rust.