hoon: added barhax to replace barbus

barhax will implement changes request in pr and is used to stage changes to barbus
This commit is contained in:
David Kerschner 2019-09-10 15:03:28 -07:00
parent 936c79d616
commit 0935b87dc6
4 changed files with 20 additions and 8 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a562de0845815ff8c428d6309ef7bdad27875658384a407f09ed331fd6974921
size 11687466
oid sha256:261b5519801f67fa67e2d25d9c9a6ed7ed0ee2b1a59212e747c25e07a4db7b7c
size 11826986

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e0d5ff3da4ca3a7a3b279fc76902b8131eff39f43fdca39e4fae390e5c90f3e9
size 6678560
oid sha256:e8bbbf19d0465d3bb0bf0e8c50ed45425d19d104b0be60f3123bab3e7b3ef72d
size 6825127

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f43577c3560d4dec5b5c456f30ab62add5b7193b9ce60d803ca70fd8c72c3157
size 14322620
oid sha256:242cb0f06cbdbe26e0142089a0ff6896296b6809ea3cd618e557b4bd03ce8e32
size 14470098

View File

@ -6670,6 +6670,7 @@
{$xray p/manx:hoot} :: ;foo; templating
:: :::::: cores
[%brbs sample=spec body=spec]
{$brhx sample/(lest term) body/spec}
{$brcb p/spec q/alas r/(map term tome)} :: |_
{$brcl p/hoon q/hoon} :: |:
{$brcn p/(unit term) q/(map term tome)} :: |%
@ -8647,6 +8648,14 @@
{$note *} q.gen
::
[%brbs *] [%brtr sample.gen [%ktcl body.gen]]
{$brhx *} =- ?~ - !!
[%brtr [%bscl -] [%ktcl body.gen]]
^- (list spec)
%+ turn `(list term)`sample.gen
|= =term
^- spec
=/ tar [%base %noun]
[%bsts term [%bssg tar [%bshp tar tar]]]
{$brcb *} :+ %tsls [%kttr p.gen]
:+ %brcn ~
%- ~(run by r.gen)
@ -16600,7 +16609,8 @@
['*' (rune tar %brtr exqc)]
['=' (rune tis %brts exqc)]
['?' (rune wut %brwt expa)]
['$' (rune bus %brbs exqe)]
['$' (rune bus %brbs exqf)]
['#' (rune hax %brhx exqe)]
==
==
:- '$'
@ -16921,6 +16931,7 @@
?.(tol fail ;~(sfix zor ;~(plug gap dun)))
++ hank (most muck loaf) :: gapped hoons
++ hunk (most muck loan) :: gapped specs
++ huns (most muck sym) :: gapped terms
++ lore (sear |=(=hoon ~(flay ap hoon)) loaf) :: skin
++ loaf ?:(tol tall wide) :: tall/wide hoon
++ loan ?:(tol till wyde) :: tall/wide spec
@ -16999,7 +17010,8 @@
++ exqb |.(;~(gunk loan loan)) :: two specs
++ exqc |.(;~(gunk loan loaf)) :: spec then hoon
++ exqd |.(;~(gunk loaf loan)) :: hoon then spec
++ exqe |.(;~(gunk lynx loan)) :: list of names then spec
++ exqf |.(;~(gunk lynx loan)) :: list of names then spec
++ exqe |.(;~(gunk (butt huns) loan)) :: list of names then spec
++ exqs |.((butt hunk)) :: closed gapped specs
++ exqg |.(;~(gunk sym loan)) :: term and spec
++ exqk |.(;~(gunk loaf ;~(plug loan (easy ~)))) :: hoon with one spec