Some support stuff.

This commit is contained in:
C. Guy Yarvin 2014-09-12 12:55:15 -07:00
parent 6f17001337
commit 69de3fdb92

20
main/bin/liquid.hoon Normal file
View File

@ -0,0 +1,20 @@
!:
:: /=main=/bin/liquid/hoon
::
=> .(- `[who=@p how=path]`-)
|= [est=time eny=@uw]
|= arg=*
=+ ^= lok ^- case
?: =(~ arg) [%da est]
?> =(~ +.arg)
((hard case) -.arg)
=+ cav=(scot (dime lok))
=+ top=`path`[(scot %p who) %arvo cav ~]
=+ pax=`path`(weld top `path`[%hoon ~])
~& %liquid-start
=+ gen=(reck pax)
~& %liquid-parsed
=+ ken=q:(~(mint ut %noun) %noun gen)
~& %liquid-compiled
:_ ~ :_ ~
[%xx %sage [%dummy %pill ~] [ken 0]]