Example files.

This commit is contained in:
C. Guy Yarvin 2013-11-25 14:59:17 -08:00
parent 1e331d9bf0
commit 2d34a822a6
2 changed files with 20 additions and 14 deletions

18
try/bin/app.hoon Normal file
View File

@ -0,0 +1,18 @@
!:
:: /=main=/bin/tach/hoon
::
=> %= .
+
=> +
|%
++ word
%hello
--
==
|= *
|= ~
^- bowl
:_ ~ :_ ~
:- %$
!>
"{(trip word)}, world"

View File

@ -6,17 +6,5 @@
%+ sell %noun::
.* a :: Replace the formula with your own
:::::::::::::::::
:: Formula: decrement
[ 8
[1 0]
[ 8
[ 1
[ 6
[5 [4 0 6] [0 7]]
[0 6]
[9 2 [0 2] [4 0 6] [0 7]]
]
]
[9 2 0 1]
]
]
:: Formula: increment
[4 0 1]