Alex Shelkovnykov
25c0ad7778
hook up +mook to +slam
2023-09-15 21:18:22 -06:00
Alex Shelkovnykov
841301a251
hoon, jets: add +slow for %ud
2023-09-15 12:43:59 -06:00
Alex Shelkovnykov
58a512c035
Merge branch 'status' into trace
2023-09-15 09:33:11 -06:00
Jonathan Paprocki
7070fad4e5
Merge branch 'status' into jon/hamt-preserve-no-lw
2023-09-14 13:01:31 -04:00
Jonathan Paprocki
02ffe3ddb7
hamt: use expect() instead of let .. else
...
Co-authored-by: Edward Amsden <edward@blackriversoft.com>
2023-09-14 12:27:01 -04:00
Alex Shelkovnykov
1944c0294e
WIP 09/13
2023-09-13 22:30:59 -06:00
Edward Amsden
6e0e5d103b
Merge branch 'status' into y/import-fix
2023-09-13 21:31:07 -05:00
Jonathan Paprocki
2bfe5a06c6
hamt: preserve traversal_stack uses rust stack
...
this was using the lightweight stack, but this presented the following
issue: NockStack::copy() can be called during the Hamt::preserve() call,
and the lightweight stack may not be empty. NockStack::copy() presumes
that the lightweight stack is empty when it is called, and thus tried to
pop elements that preserve() had pushed onto it.
NockStack::copy() should probably assert that the lightweight stack is
empty when its called
2023-09-13 13:51:20 -04:00
Jonathan Paprocki
028519edd7
mem: assert stack_is_empty() when it should be
...
if these functions are callled with a non-empty lightweight stack, they
will try to pop things that they shouldn't.
all other stack_is_empty() callsites happen in a fresh stack frame, so
we already know the lightweight stack will be empty.
2023-09-13 13:44:33 -04:00
Alex Shelkovnykov
67abda479e
WIP 09/12
2023-09-12 22:20:15 -06:00
Alex Shelkovnykov
54a9ec980f
Merge branch 'status' into trace
2023-09-11 19:38:12 -06:00
Yaseen
999504ef4e
ares: make ibig dep a relative path so importing as a crate works properly
...
- using patch.crates-io does not work because it only applies to the local crate development and not as a setting for consumers of the package
thanks to @drbeefsupreme for the original fix
Co-authored-by: <drbeefsupreme@discordja.net>
2023-09-11 13:20:28 -04:00
Alex Shelkovnykov
54f982bf4d
WIP - 09/10
2023-09-10 23:13:07 -06:00
Alex Shelkovnykov
96a8915cc3
WIP - 09/09
2023-09-10 09:51:25 -06:00
Edward Amsden
f056a796a3
Merge branch 'status' into eamsden/lightweight-stack-2
2023-09-06 11:01:52 -05:00
Edward Amsden
e2f1ad15e1
nix: rust: bump versions in dev shell
2023-09-06 10:22:25 -05:00
Edward Amsden
576b511065
interpreter: address new lints
2023-09-06 10:18:43 -05:00
Edward Amsden
1705b9e81b
Merge branch 'status' into eamsden/lightweight-stack-2
2023-09-06 09:36:17 -05:00
Edward Amsden
1494915aa9
interpreter: remove unnecessary cast.
2023-09-06 08:43:30 -05:00
Alex Shelkovnykov
0480fe615b
style: run cargo fmt
2023-09-05 23:05:23 -06:00
Alex Shelkovnykov
4af4ac7296
jets: remove math helpers from bit jets
2023-09-05 22:48:31 -06:00
Alex Shelkovnykov
d187f64d5a
jets: reorganize jets
2023-09-05 22:48:26 -06:00
Alex Shelkovnykov
e9f203e4bd
jets: modify +can tests
2023-09-05 22:47:29 -06:00
Alex Shelkovnykov
a0e3bb03d1
jets: minor fix to +cat jet
2023-09-05 22:47:29 -06:00
Alex Shelkovnykov
6019240d01
hoon, jets: add +rap
2023-09-05 22:47:29 -06:00
Alex Shelkovnykov
b2f61d6b95
jets: lower bloq safety to 48-bit addresses
2023-09-05 22:47:21 -06:00
Alex Shelkovnykov
c6580f30da
jets: add bloq helper function
2023-09-04 15:27:36 -06:00
Alex Shelkovnykov
bb244ee52b
jets: add checked helper functions
2023-09-04 15:27:36 -06:00
Alex Shelkovnykov
a90b23d263
hoon, jets: add +mas
2023-09-04 15:27:28 -06:00
Alex Shelkovnykov
15656c1fe2
jets: move shared functions into jets::util(::test)
2023-09-04 15:27:28 -06:00
Alex Shelkovnykov
5a2e4eec57
hoon, jets: add +cap
2023-09-04 15:27:14 -06:00
Alex Shelkovnykov
104fffca96
noun: move slot lookup into noun crate
2023-09-01 16:12:27 -06:00
Edward Amsden
a9a7db4606
interpreter: add comments to protect assert_no_alloc
2023-09-01 13:53:53 -05:00
Edward Amsden
9d8e43c91b
Put assert-no-alloc-able allocator in lib.rs instead of main.rs
2023-09-01 13:46:28 -05:00
Edward Amsden
5a15bde2aa
interpreter: add list repeat testcases from ~datnut-pollen with tc and non-tc variants
2023-09-01 13:31:53 -05:00
Edward Amsden
d610442e8b
interpreter: make sure called formulas in new frames are recorded as being in tail position
2023-09-01 13:31:08 -05:00
Edward Amsden
0f6d574526
main: make assert_no_alloc actually assert
2023-09-01 10:43:24 -05:00
Jonathan Paprocki
2da536f12c
test_data: add (shax 0x1) jamfile
...
built on a ship that has the math.rs %sham jets
2023-09-01 11:12:30 -04:00
Edward Amsden
7e4558e4f9
interpreter: fix lints
2023-08-31 14:44:21 -05:00
Edward Amsden
f52d6d96db
interpreter: fix lints
2023-08-31 14:42:20 -05:00
Edward Amsden
69edca94da
interpreter: remove debugging
2023-08-31 14:12:05 -05:00
Edward Amsden
92e98cba29
interpreter: make nock 2 tail have correct subject
2023-08-31 14:09:56 -05:00
Edward Amsden
bfecdf9aa4
interpreter: bugfixes
2023-08-31 13:21:06 -05:00
Edward Amsden
53635decf6
Merge branch 'status' into eamsden/lightweight-stack-2
2023-08-31 00:25:29 -05:00
Edward Amsden
68dc6cb169
rust shell: include gdb
2023-08-31 00:25:20 -05:00
Edward Amsden
e4d556dc17
Merge pull request #74 from urbit/jon/copy-fix
...
copy() memory issue fix
2023-08-31 00:24:07 -05:00
Edward Amsden
276286c114
interpreter: clippy
2023-08-31 00:05:26 -05:00
Edward Amsden
3cd735a182
interpreter: format
2023-08-30 23:50:09 -05:00
Edward Amsden
52d4a7a327
interpreter: use lightweight stack and do TCO
2023-08-30 23:44:27 -05:00
Jonathan Paprocki
15bbe68cc1
mem: fix copy() allocation of indirect atoms
...
addresses #73
2023-08-29 17:26:11 -04:00