An experimental new runtime for Urbit
Go to file
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
.github Ares -> Sword (#12) 2024-08-22 10:46:38 -05:00
docs docs: style improvements 2024-02-01 23:31:13 +09:00
hoon/codegen meta: reorganize test resources in repo 2023-11-28 12:00:03 -03:00
resources pill: add pill that causes OOM errors 2024-02-10 02:28:44 +09:00
rust NockStack: explicitly catch OOM (#283) 2024-11-21 16:53:05 -06:00
subject-knowledge Add lash function to build sk core with added jets in jute 2022-02-17 21:52:23 -06:00
.gitattributes ares: add .gitattributes to mark .jam and .pill files binary 2023-09-06 11:10:38 -05:00
.gitignore Ares -> Sword (#12) 2024-08-22 10:46:38 -05:00
Cargo.lock NockStack: explicitly catch OOM (#283) 2024-11-21 16:53:05 -06:00
Cargo.toml NockStack: explicitly catch OOM (#283) 2024-11-21 16:53:05 -06:00
CONTRIBUTING.md Ares -> Sword (#12) 2024-08-22 10:46:38 -05:00
DEVELOPERS.md Update DEVELOPERS.md 2024-08-22 14:07:29 -05:00
LICENSE Update LICENSE 2024-08-22 14:08:08 -05:00
README.md Update README.md 2024-09-06 13:39:22 -05:00
rust-toolchain.toml NockStack: explicitly catch OOM (#283) 2024-11-21 16:53:05 -06:00
rustfmt.toml Cue: don't panic! (#262) 2024-10-04 17:17:06 -05:00

Sword

A modern Nock runtime with automatic persistence.

Installation

See the "Run" section of DEVELOPERS.md.