Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ska: nouncode interpreter #245

Closed
wants to merge 39 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
f885c67
wip: rust-side nouncode updates
matthew-levan Jul 16, 2024
8ca2dab
wip: start using `blox` and `@uwoo`s
matthew-levan Jul 17, 2024
5cd2fec
wip: comment `+peek` return type
matthew-levan Jul 17, 2024
ca31a12
wip: compiles with lots of stubs
matthew-levan Jul 18, 2024
6b301a9
wip: start `blox_init`
matthew-levan Jul 18, 2024
fd8a43f
wip: `blox_init` progress; needs jet matching
matthew-levan Jul 19, 2024
68fd498
wip: `jet` in `Block` initialized to `None`
matthew-levan Jul 19, 2024
4d8a17c
wip: where to call `blox_init`?
matthew-levan Jul 19, 2024
70fa5b2
wip: happy friday
matthew-levan Jul 19, 2024
5944a7b
wip: cleanup `Blocks` struct
matthew-levan Jul 20, 2024
6c4699c
wip: mild incremental improvements
matthew-levan Jul 22, 2024
3a06b38
wip: nouncode
matthew-levan Jul 26, 2024
bcb2f47
Merge branch 'jb/nouncode' into msl/nouncode
matthew-levan Jul 29, 2024
9157526
Merge branch 'jb/nouncode' of https://github.com/urbit/ares into msl/…
matthew-levan Jul 30, 2024
f030879
Merge branch 'jb/nouncode' of https://github.com/urbit/ares into msl/…
matthew-levan Jul 31, 2024
9a5711f
ska: `eval.hoon` builds; still wip
matthew-levan Jul 31, 2024
c9d8f14
ska: nouncode rust interpreter with `@uxor`
matthew-levan Aug 1, 2024
a3acabf
Merge branch 'jb/nouncode' into msl/nouncode
matthew-levan Aug 1, 2024
3ea4a6c
Merge branch 'jb/nouncode' of https://github.com/urbit/ares into msl/…
matthew-levan Aug 1, 2024
45d9f27
ska: working nouncode rust interpreter with `@uxor`
matthew-levan Aug 1, 2024
2f3e807
site: basic call site caching
matthew-levan Aug 2, 2024
648bb3e
Merge branch 'jb/nouncode' of https://github.com/urbit/ares into msl/…
matthew-levan Aug 2, 2024
cd49f06
Merge branch 'jb/nouncode' of https://github.com/urbit/ares into msl/…
matthew-levan Aug 5, 2024
a383905
ska: update line core
matthew-levan Aug 5, 2024
3699fd2
ska: updated hoon-side interpreter `eval.hoon`
matthew-levan Aug 5, 2024
41a1ae7
ska: wip mean stack for nouncode
matthew-levan Aug 5, 2024
c8db55e
Merge branch 'jb/nouncode' into msl/nouncode
matthew-levan Aug 6, 2024
5a19155
ska: nouncode stack traces
matthew-levan Aug 6, 2024
3e51706
ska: `%jmf` and `%caf` for hoon-side nouncode interpreter
matthew-levan Aug 7, 2024
d64de68
wip
matthew-levan Aug 8, 2024
0c9bf82
ska: `+dec` with jet in hoonside nouncode interpreter
matthew-levan Aug 8, 2024
c763a82
ska: update `cg.jam`
matthew-levan Aug 9, 2024
d549d47
pill: update toddler
matthew-levan Aug 9, 2024
bfcf9ea
Merge branch 'jb/nouncode' of https://github.com/urbit/ares into msl/…
matthew-levan Aug 9, 2024
e4cdb03
ska: updated toddler and small fixes
matthew-levan Aug 9, 2024
9e1578a
ska: fix eval
matthew-levan Aug 9, 2024
c188ecc
Merge branch 'jb/nouncode' into msl/nouncode
matthew-levan Aug 10, 2024
7c0d3b2
ska: update `cg.jam`
matthew-levan Aug 10, 2024
a91a919
Merge branch 'jb/nouncode' of https://github.com/urbit/ares into msl/…
matthew-levan Aug 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions hoon/codegen/exa/dec.hoon
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
=>
~% %k.139 ~ ~
|%
++ hoon-version 139
--
~% %one + ~
|%
++ dec
~/ %dec
:: unsigned decrement by one.
|= a=@
~_ leaf+"decrement-underflow"
?< =(0 a)
=+ b=0
:: decremented integer
|- ^- @
?: =(a +(b)) b
$(b +(b))
--
2 changes: 1 addition & 1 deletion hoon/codegen/sur/gene.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
:: %tom - Pop a timer from the timer stack, stop it, and print elapsed
:: %mem - Print memory usage
:: %poi - Poison d
:: %ibp - If any register in s is poisoned, crash.
:: %ipp - If any register in s is poisoned, crash.
+$ pole
$% [%imm n=* d=@uvre]
[%mov s=@uvre d=@uvre]
Expand Down
4 changes: 2 additions & 2 deletions resources/pills/src/toddler/playpen.hoon
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
:: This file aims to approach hoon.hoon, as the pieces necessary to run a live
:: ship with Ares as Serf are written. Required to run toddler.hoon as an Arvo.
::
!.
!:
=> %a50
~% %a.50 ~ ~
|%
Expand Down Expand Up @@ -178,7 +178,7 @@
:: Tree addressing
::
++ cap :: index in head or tail
~/ %cap
~/ %cap
|= a=@
~> %sham.%cap
^- ?(%2 %3)
Expand Down
4 changes: 3 additions & 1 deletion resources/pills/src/toddler/toddler.hoon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
:: scaffolding directory.
::
/+ playpen
!.
!:
=/ core
=> playpen
!=
Expand Down Expand Up @@ -58,6 +58,8 @@
|= [now=@da ovo=ovum]
^- ^
::
~> %slog.[0 p.card.ovo]
~> %slog.[0 [%rose ["/" "/" ""] wire.ovo]]
?. ?=(?(%crud %wack %wyrd) p.card.ovo)
~> %slog.[0 leaf+(scow %ud (slow (bex 23)))]
[~ ..poke]
Expand Down
Binary file modified resources/pills/toddler.pill
Binary file not shown.
Binary file modified rust/ares/bin/cg.jam
Binary file not shown.
Loading
Loading