mirror of
https://github.com/urbit/shrub.git
synced 2024-11-28 22:33:06 +03:00
|merge better spacing, desk ovverides
This commit is contained in:
parent
934babecc7
commit
1e328f3d1f
@ -14,17 +14,26 @@
|
||||
|= $: {now/@da eny/@uvI bek/beak}
|
||||
{arg/{?(sorc {syd/$@(desk beaky) sorc})} cas/case gem/?($auto germ)}
|
||||
==
|
||||
=. cas ?:(=(*case cas) da+now cas)
|
||||
=* our p.bek
|
||||
|^ :- %kiln-merge
|
||||
^- {syd/desk her/ship sud/desk cas/case gem/?($auto germ)}
|
||||
?- arg
|
||||
{@ @ $~} =+(arg [sud ?.(=(our her) her (sein her)) sud cas gem])
|
||||
{^ $~} =+ (pars bek.arg)
|
||||
[dez ?.(=(our who) who (sein who)) dez caz gem]
|
||||
{* @ @ $~} [(pars-src syd.arg) =+(arg [her sud cas gem])]
|
||||
{* ^ $~} [(pars-src syd.arg) =+((pars bek.arg) [who dez caz gem])]
|
||||
{@ @ $~}
|
||||
=+(arg [sud ?.(=(our her) her (sein her)) sud (opt-case da+now) gem])
|
||||
::
|
||||
{^ $~}
|
||||
=+ (pars bek.arg)
|
||||
[dez ?.(=(our who) who (sein who)) dez (opt-case caz) gem]
|
||||
::
|
||||
{* @ @ $~}
|
||||
:- (pars-src syd.arg)
|
||||
=+(arg [her sud (opt-case da+now) gem])
|
||||
::
|
||||
{* ^ $~}
|
||||
:- (pars-src syd.arg)
|
||||
=+((pars bek.arg) [who dez (opt-case caz) gem])]
|
||||
==
|
||||
++ opt-case |=(a=case ?:(=(*case cas) a cas)) :: override
|
||||
++ pars |=(a/beaky `{{who/ship dez/desk caz/case} *}`(need (tome a)))
|
||||
++ pars-src
|
||||
|= syd/$@(desk beaky)
|
||||
|
Loading…
Reference in New Issue
Block a user