Skip to content

Commit

Permalink
codegen: use ford to build again, but with traps!
Browse files Browse the repository at this point in the history
  • Loading branch information
eamsden committed Apr 21, 2024
1 parent fe6f28c commit 0fe2202
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 100 deletions.
11 changes: 0 additions & 11 deletions hoon/codegen/gen/cg-make.hoon

This file was deleted.

4 changes: 4 additions & 0 deletions hoon/codegen/lib/cg.hoon
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/+ line
=/ cg-kick
=> line != $
[%cg cg-kick line]
4 changes: 4 additions & 0 deletions hoon/codegen/lib/eval.hoon
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/+ line
=> $:line
=* line .
=/ ip=? |
|%
Expand Down Expand Up @@ -120,10 +122,12 @@
++ mope
|= [s=* f=*]
^- (unit hone)
~! moan
=/ huns (~(get ja moan) f)
|- ^- (unit hone)
?~ huns ~
:: ~& [%mope-i soot.i.huns]
~! so
?: (~(huge so soot.i.huns) [& s])
`i.huns
$(huns t.huns)
Expand Down
3 changes: 2 additions & 1 deletion hoon/codegen/lib/hoon.hoon → hoon/codegen/lib/hoot.hoon
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
::
:::: /sys/hoon ::
:::: /sys/hoon but as a trap ::
:: ::
!.
|.
=< ride
=> %139 =>
:: ::
Expand Down
3 changes: 3 additions & 0 deletions hoon/codegen/lib/line.hoon
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/- gene
|.
=> $:gene
:: XX
:: - generate ipb tests at 0/10 sites (done)
:: - make copy pessimize %this/%both case (not %both/%this) (done)
Expand Down
73 changes: 0 additions & 73 deletions hoon/codegen/lib/make.hoon

This file was deleted.

3 changes: 3 additions & 0 deletions hoon/codegen/lib/skan.hoon
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/- noir
|.
=> $:noir
=<
:: moan contains analyzed code for the linearizer
=| moan=(jar * hone)
Expand Down
3 changes: 3 additions & 0 deletions hoon/codegen/lib/soak.hoon
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/- sock
|.
=> $:sock
|%
:: operations on $cape
++ ca
Expand Down
3 changes: 3 additions & 0 deletions hoon/codegen/sur/gene.hoon
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/+ skan
|.
=> $:skan
|%
::
:: hot state
Expand Down
3 changes: 3 additions & 0 deletions hoon/codegen/sur/noir.hoon
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/+ soak
|.
=> $:soak
|%
:: in-progress call table entry
::
Expand Down
3 changes: 3 additions & 0 deletions hoon/codegen/sur/sock.hoon
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/+ hoot
|.
=> $:hoot
|%
:: mask
::
Expand Down
15 changes: 0 additions & 15 deletions hoon/codegen/ted/cg-build.hoon

This file was deleted.

0 comments on commit 0fe2202

Please sign in to comment.