Philip Monk
d1d32167ff
[jets] add lsh test
2023-02-14 16:19:30 -07:00
Philip Monk
4653e41bd8
[jets] add bex test
2023-02-14 16:02:29 -07:00
Philip Monk
ee9d2c7c3c
[jets] add gte test
2023-02-14 15:56:38 -07:00
Philip Monk
dd4621be20
[jets] add gth test
2023-02-14 15:56:13 -07:00
Philip Monk
f54f5171ae
[jets] add lte test
2023-02-14 15:55:10 -07:00
Philip Monk
3d022b3f90
[jets] add lth test
2023-02-14 15:54:23 -07:00
Philip Monk
38399d12b0
[jets] add mod test
2023-02-14 15:42:42 -07:00
Philip Monk
fd94db487f
[jets] add dvr test
2023-02-14 15:38:59 -07:00
Philip Monk
03df84d67d
[jets] add div test
2023-02-14 15:25:27 -07:00
Philip Monk
7533406fa4
[jets] add mul test
2023-02-14 15:20:48 -07:00
Philip Monk
6aa17458d5
[jets] add sub test
2023-02-14 15:10:16 -07:00
Philip Monk
60c32b2ed2
[jets] add 'add' test
2023-02-14 14:57:38 -07:00
Philip Monk
b05a6a7b01
[jets] add testing framework
2023-02-14 14:26:31 -07:00
Edward Amsden
264fe4df6f
Merge pull request #26 from urbit/philip/unifying-equality
...
[ares] fix bug in unifying equality
2023-02-14 14:15:14 -06:00
Philip Monk
dec93b9ed8
[jets] add rsh jet
2023-02-14 13:08:19 -07:00
Philip Monk
bb819abcc2
[ares] fix bug in unifying equality
2023-02-14 13:08:19 -07:00
Philip Monk
89e7d612f8
[jets] add lsh jet
...
Also implement chop, as in vere
2023-02-14 13:08:19 -07:00
Philip Monk
ccc0306d33
[jets] add bex jet
2023-02-14 13:08:19 -07:00
Philip Monk
39d0cab706
[jets] add gte jet
2023-02-14 13:08:19 -07:00
Philip Monk
9fb605769e
[jets] add gth jet
2023-02-14 13:08:19 -07:00
Philip Monk
bbae5bb146
[jets] add lte jet
2023-02-14 13:08:19 -07:00
Philip Monk
3e7df76174
[jets] add lth jet
2023-02-14 13:08:19 -07:00
Philip Monk
8c1f2b668f
[jets] add mod jet
2023-02-14 13:08:19 -07:00
Philip Monk
025ce511f0
[jets] add dvr jet
2023-02-14 13:08:19 -07:00
Philip Monk
099ec9243f
[jets] add div jet
2023-02-14 13:08:19 -07:00
Philip Monk
f6e5b3898d
[jets] add mul jet
2023-02-14 13:08:19 -07:00
Philip Monk
511370d592
[ares] add sub jet
2023-02-14 13:08:19 -07:00
Philip Monk
4c1e742044
[jets] import ubig, add "add" jet
2023-02-14 13:08:19 -07:00
Philip Monk
a527ba7aaa
[ares] add lib/tiny to scaffolding
2023-02-14 13:08:19 -07:00
Philip Monk
d39715df31
[jets] add mug jet
2023-02-14 13:08:19 -07:00
Philip Monk
33c4996aef
[ares] add test mode to sham jets
...
Similar to vere, this mode runs both the nock and the jet and compares
the results.
2023-02-14 13:08:19 -07:00
Philip Monk
9f3b4dd781
[ares] allow jets to fail
2023-02-14 13:08:19 -07:00
Edward Amsden
82a08d878e
Merge pull request #24 from urbit/philip/equal
...
[ares] fix a couple bugs in unifying equality
2023-02-13 20:00:59 -06:00
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
Edward Amsden
b4418f0388
Merge pull request #23 from urbit/eamsden/update-rust
...
[ares] update rust compiler to 1.64
2023-02-13 19:27:19 -06:00
Edward Amsden
c68728edf1
[ares] update rust compiler to 1.64
2023-02-13 16:01:50 -06: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