Commit Graph

611 Commits

Author SHA1 Message Date
Edward Amsden
72c63d9014
Merge pull request #83 from ynx0/y/import-fix
ares: make ibig dep a relative path so importing as a crate works properly
2023-09-13 21:56:15 -05:00
Edward Amsden
6e0e5d103b
Merge branch 'status' into y/import-fix 2023-09-13 21:31:07 -05:00
Edward Amsden
a39f856282
Merge pull request #85 from urbit/jon/assert_empty_stack
mem: assert stack_is_empty() when it should be
2023-09-13 21:29:48 -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
Sigilante
39cfd709bc WIP jets 2023-09-08 22:00:19 -05:00
Sigilante
2aabf2e8a7 Add min/max jets. 2023-09-06 13:02:33 -05:00
Alex Shelkovnykov
21a13ee444
Merge pull request #82 from urbit/eamsden/gitattributes
ares: add .gitattributes to mark .jam and .pill files binary
2023-09-06 11:47:48 -06:00
Edward Amsden
ad38bd858b ares: add .gitattributes to mark .jam and .pill files binary 2023-09-06 11:10:38 -05:00
Edward Amsden
5b26b24cef
Merge pull request #76 from urbit/eamsden/lightweight-stack-2
interpreter: use lightweight stack and do TCO
2023-09-06 11:05:27 -05:00
Edward Amsden
f056a796a3
Merge branch 'status' into eamsden/lightweight-stack-2 2023-09-06 11:01:52 -05:00
Alex Shelkovnykov
1b02d61c30
Merge pull request #81 from urbit/eamsden/fix-lints
interpreter: address new lints
2023-09-06 09:58:44 -06: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
8816d470c9 test: replace print with call to Ackermann function 2023-09-05 23:18:05 -06:00
Alex Shelkovnykov
0480fe615b style: run cargo fmt 2023-09-05 23:05:23 -06:00
Alex Shelkovnykov
0438bbea88 hoon: add +mack 2023-09-05 23:03:13 -06:00
Alex Shelkovnykov
17a2b914c0 hoon: add +mock 2023-09-05 23:03:13 -06:00
Alex Shelkovnykov
70da990300 hoon: add +mook 2023-09-05 23:03:13 -06:00
Alex Shelkovnykov
7b3bb4e05a hoon: add +scag 2023-09-05 23:03:13 -06:00
Alex Shelkovnykov
f185d34313 hoon: add +scow 2023-09-05 23:03:13 -06:00
Alex Shelkovnykov
e5d08bb7e0 hoon: add +smyt 2023-09-05 23:03:13 -06:00
Alex Shelkovnykov
d505538f8c hoon: add +soft 2023-09-05 23:03:13 -06:00
Alex Shelkovnykov
ee73df3022 hoon: add +trip 2023-09-05 23:03:10 -06:00
Alex Shelkovnykov
fc13acdd6e hoon: add partial +co 2023-09-05 23:02:48 -06:00
Alex Shelkovnykov
220595d384 hoon: add +ob 2023-09-05 23:02:46 -06:00
Alex Shelkovnykov
409b98ab5d hoon: add +po 2023-09-05 23:01:23 -06:00
Alex Shelkovnykov
2cd8a87763 hoon: add +ne 2023-09-05 23:01:21 -06:00
Alex Shelkovnykov
b18aa95de9 hoon: add +pow 2023-09-05 23:00:20 -06:00
Alex Shelkovnykov
a242f9d34d hoon: add +fa 2023-09-05 23:00:16 -06:00
Alex Shelkovnykov
f4f1d59e59 hoon: add +shay 2023-09-05 22:48:31 -06:00
Alex Shelkovnykov
da6d1547a9 hoon: add +fil 2023-09-05 22:48:31 -06:00
Alex Shelkovnykov
ff2650cf3a hoon: add +roll 2023-09-05 22:48:31 -06:00
Alex Shelkovnykov
304f399595 hoon: add +fe 2023-09-05 22:48:31 -06:00
Alex Shelkovnykov
b6b69b3334 hoon: add +mole 2023-09-05 22:48:31 -06:00
Alex Shelkovnykov
b5532abe92 hoon: add +mure 2023-09-05 22:48:31 -06:00
Alex Shelkovnykov
475143b4d4 hoon: add +mink 2023-09-05 22:48:31 -06:00
Alex Shelkovnykov
c6d5a2656d hoon: add +turn 2023-09-05 22:48:31 -06:00
Alex Shelkovnykov
2833fe1878 hoon: add +weld 2023-09-05 22:48:31 -06:00
Alex Shelkovnykov
b85f5f5c97 hoon: add +homo 2023-09-05 22:48:31 -06:00
Alex Shelkovnykov
85d9c03407 hoon: add +crip 2023-09-05 22:48:31 -06:00
Alex Shelkovnykov
9871b05851 hoon: add types used by virtualization 2023-09-05 22:48:31 -06:00
Alex Shelkovnykov
33d781beb9 hoon: remove sham hints for missing jets 2023-09-05 22:48:31 -06:00