Commit Graph

3 Commits

Author SHA1 Message Date
Edward Amsden
bd27200ef3
NockStack: explicitly catch OOM (#283)
* Dropping sword guard

alloc_would_oom, guarding alloc now

stack push_east/push_west

Fixed cue_pill benchmark

frame_push, preserve, purging unused Result warnings

Test cleanup, tests for stack push and frame push

slot_pointer and alloc in previous frame, not working correctly yet

Slot pointer and slots available checks

test_prev_alloc seems to be fixed now

Updating TODO: comments

Fix stash push in PC

interpreter: convert AllocationError to NonDeterministic(Mote::Meme, _)

delete serf and PMA

Use with_frame() instead of frame_push()/frame_pop() everywhere except interpret()

Fix AllocPreviousFrame case of OOM check and add FlipTopFrame case

Co-authored-by: Edward Amsden <edward@blackriversoft.com>

* sundry fixes to alloc_would_oom_ and nounlist roundtrips

* proper direction in prev_alloc oom check

* delete guard.rs

---------

Co-authored-by: Chris Allen <cma@bitemyapp.com>
2024-11-21 16:53:05 -06:00
Chris A.
f740d85336
Nounable, Cold state (#276)
* Nounable, Cold state

* Down with the foomty

* Update rust/sword/src/jets/cold.rs

Co-authored-by: Edward Amsden <edward@blackriversoft.com>

* Update rust/sword/src/jets/cold.rs

Co-authored-by: Edward Amsden <edward@blackriversoft.com>

* Update rust/sword/src/jets/cold.rs

Co-authored-by: Edward Amsden <edward@blackriversoft.com>

* Update rust/sword/src/jets/cold.rs

Co-authored-by: Edward Amsden <edward@blackriversoft.com>

* Update rust/sword/src/jets/cold.rs

Co-authored-by: Edward Amsden <edward@blackriversoft.com>

* Update rust/sword/src/jets/cold.rs

Co-authored-by: Edward Amsden <edward@blackriversoft.com>

---------

Co-authored-by: Edward Amsden <edward@blackriversoft.com>
2024-10-17 13:51:09 -05:00
Edward Amsden
a7005c7049 Ares -> Sword (#12)
* Update README.md

* Rename ares -> sword

* Workspace

* Cargo-only CI
2024-08-22 10:46:38 -05:00