Philip Monk
43f3622f63
[ares] fix a couple bugs in unifying equality
...
East/West typo, also we were setting the frame pointer to the stack
pointer while chasing up the stack.
This also refactors the conditionals in a way that I think is easier to
read. We always have to do both calculations anyway.
2023-02-13 18:46:37 -07:00
Philip Monk
5edfc1a801
Merge pull request #22 from urbit/philip/persist
...
[ares] Add jam-based snapshots
2023-02-13 11:14:14 -07:00
Philip Monk
634680aa24
[ares] copy directly into atom in newt
2023-02-13 11:13:21 -07:00
Philip Monk
fe3c0895b2
[ares] comments and formatting
2023-02-13 10:57:13 -07:00
Philip Monk
ff59ca8ba9
[ares] rename new_tuple -> T, make D const
2023-02-13 10:39:08 -07:00
Philip Monk
dd4dc625bd
[ares] harden snapshotting
2023-02-12 18:02:11 -07:00
Philip Monk
f16c194098
[ares] refactor snapshotting
...
Especially, don't require cueing the snapshot to verify the checksum and
get the event number.
2023-02-12 17:10:26 -07:00
Philip Monk
b9abb0efe8
[ares] extend jam perstistence to use two snapshots
2023-02-12 14:55:05 -07:00
Philip Monk
6d51c8c262
[ares] add simplest possible checkpoints
...
These checkpoints are just a jam file of your state, with the event
number and a checksum. If you crash while writing the checkpoint, it
will be corrupt. Obviously, these snapshots will be slow to write on a
real ship as well.
2023-02-11 23:04:39 -07:00
Philip Monk
51b4735711
[ares] fill out basic lifecycle
...
With these changes, you can boot the included "baby" pill -- a trivial
pill which requires no jets and prints the text "effect" on every event.
2023-02-11 17:28:14 -07:00
Philip Monk
1d6e4c74b2
[ares] add basic ipc handler
2023-02-11 02:51:59 -07:00
Philip Monk
e4f44d705c
[ares] convenient noun constructors
2023-02-11 02:40:49 -07:00
Edward Amsden
9de96c8e85
Merge pull request #19 from urbit/eamsden/move-contributing
...
Move contribution guidelines to repository root and link from README
2023-02-06 11:54:49 -06:00
Edward Amsden
f67b7608fe
Update README to link to contribution guidelines
2023-02-05 17:09:09 -06:00
Edward Amsden
683bbaadef
Move contribution guidelines to repository root and link from README
2023-02-05 17:08:02 -06:00
Edward Amsden
2ab4070e1a
Merge pull request #18 from urbit/eamsden/CONTRIBUTING
...
Add brief CONTRIBUTING.md file
2023-02-04 08:47:41 -06:00
Edward Amsden
10b8166815
Merge branch 'status' into eamsden/CONTRIBUTING
2023-02-03 13:59:03 -06:00
Edward Amsden
716940c83d
Add brief CONTRIBUTING.md file
2023-02-03 13:58:27 -06:00
Philip Monk
145a5632e2
Merge pull request #12 from urbit/philip/jets
...
"implement" "jet" "dashboard"
2023-02-03 12:52:46 -07:00
Philip Monk
7a3338cb19
Merge pull request #17 from urbit/i/15/tas-macro
...
Add tas!() procedural macro
2023-02-03 12:51:51 -07:00
Edward Amsden
5f3e5c1f12
Merge branch 'philip/jets' into i/15/tas-macro
2023-02-03 13:43:47 -06:00
Edward Amsden
1f2adf4b6a
Merge branch 'status' into philip/jets
2023-02-03 13:41:47 -06:00
Peter McEvoy
3de42389c1
Use tas!() when computing Nock 11
2023-02-03 12:19:32 -05:00
Philip Monk
7765c020cf
[ares] rename %prop->%sham and add comment
2023-02-03 10:19:23 -07:00
Peter McEvoy
83b4fe308a
Revert "Sort dependencies alphabetically"
...
This reverts commit 38fd034984
.
2023-02-03 12:15:56 -05:00
Peter McEvoy
27f64b96ea
Use tas!() in jets dashboard
2023-02-03 12:12:10 -05:00
Peter McEvoy
f41cf8cc38
Test tas!()
2023-02-03 12:12:08 -05:00
Peter McEvoy
d072c3ecea
Implement tas!() in separate crate
2023-02-03 12:11:53 -05:00
Peter McEvoy
38fd034984
Sort dependencies alphabetically
2023-02-03 12:09:56 -05:00
Edward Amsden
157b0e0c85
Merge pull request #16 from urbit/philip/raw
...
[ares] fix atom initialization bug
2023-02-02 22:16:52 -06:00
Philip Monk
3e05e54104
Merge branch 'philip/raw' into philip/jets
2023-02-02 21:00:41 -07:00
Philip Monk
336214cd9b
[ares] fix atom initialization bug
2023-02-02 20:58:11 -07:00
Edward Amsden
697180606b
Merge pull request #14 from urbit/eamsden/2stackz-fixes
...
[ares][unifying equality] simplify, document, remove bugs and redundancies
2023-02-02 18:49:37 -06:00
Edward Amsden
3ee28adb93
[ares][unifying equality] add fast pointer and cached mug checks outside the loop
2023-02-02 18:47:53 -06:00
Edward Amsden
4ddcb1e07c
[ares][unifying equality] memcmp
for indirect atoms requires bytesize
2023-02-02 18:30:34 -06:00
Philip Monk
ac6103da99
[ares] style fixes
2023-02-02 17:19:45 -07:00
Edward Amsden
4edd3a6fb3
Merge branch 'status' into philip/jets
2023-02-02 13:51:44 -06:00
Edward Amsden
06fe914c34
[ares] simplify unifying equality, remove redundant checks, and better document
2023-02-02 13:37:04 -06:00
Edward Amsden
e04329f2b6
[ares][2stackz] missing pop of work stack when pointer equality is discovered
2023-02-02 12:06:25 -06:00
Edward Amsden
9c09e81779
Merge pull request #13 from urbit/philip/prints
...
Fixes and printing functions
2023-02-02 12:04:58 -06:00
Edward Amsden
4600b4b5b3
Merge branch 'status' into philip/prints
2023-02-02 11:55:37 -06:00
Philip Monk
23e33cfd11
add note to raw_slot
2023-02-02 10:54:31 -07:00
Edward Amsden
a5ff1d31e0
Merge pull request #11 from urbit/dev/ares-review
...
Comments and bugfixes from Ares review
2023-02-02 11:42:03 -06:00
Philip Monk
69b4bbeeae
add naive jet dashboard with two jets
2023-02-01 21:36:37 -07:00
Philip Monk
b88190f119
rename axis->slot to reduce confusion
2023-02-01 21:35:30 -07:00
Philip Monk
d55db12c12
implement Debug trait for nouns
2023-02-01 21:35:07 -07:00
Philip Monk
999e1e29d7
east/west typo
2023-02-01 20:06:49 -07:00
Edward Amsden
b7fac596c3
[ares] get rid of warnings
2023-02-01 18:42:38 -06:00
Edward Amsden
140dcf4e28
[ares] rust formatting
2023-02-01 18:37:48 -06:00
Edward Amsden
4eb99cc2d4
[ares] Some cleanup
2023-02-01 18:36:43 -06:00