mirror of
https://github.com/urbit/shrub.git
synced 2024-12-24 20:47:27 +03:00
Merge pull request #6509 from urbit/jon/doccords-lustar-tistar
turn off doccord parsing for +*, =*
This commit is contained in:
commit
09fb89bd5b
@ -11470,9 +11470,15 @@
|
||||
:: 5d: parser
|
||||
+| %parser
|
||||
::
|
||||
++ vang :: set ++vast params
|
||||
|= [bug=? wer=path] :: bug: debug mode
|
||||
%*(. vast bug bug, wer wer) :: wer: where we are
|
||||
:: +vang: set +vast params
|
||||
::
|
||||
:: bug: debug mode
|
||||
:: doc: doccord parsing
|
||||
:: wer: where we are
|
||||
::
|
||||
++ vang
|
||||
|= [f=$@(? [bug=? doc=?]) wer=path]
|
||||
%*(. vast bug ?@(f f bug.f), doc ?@(f & doc.f), wer wer)
|
||||
::
|
||||
++ vast :: main parsing core
|
||||
=+ [bug=`?`| wer=*path doc=`?`&]
|
||||
@ -13486,7 +13492,7 @@
|
||||
;~ pose
|
||||
%+ ifix
|
||||
[;~(plug lus tar muck) muck]
|
||||
(most muck ;~(gunk sym loaf))
|
||||
(most muck ;~(gunk sym loll))
|
||||
::
|
||||
(easy ~)
|
||||
==
|
||||
@ -13563,6 +13569,7 @@
|
||||
++ hunk (most mush loan) :: gapped specs
|
||||
++ jump ;~(pose leap:docs gap) :: gap before docs
|
||||
++ loaf ?:(tol tall wide) :: hoon
|
||||
++ loll ?:(tol tall(doc |) wide(doc |)) :: hoon without docs
|
||||
++ loan ?:(tol till wyde) :: spec
|
||||
++ lore (sear |=(=hoon ~(flay ap hoon)) loaf) :: skin
|
||||
++ lomp ;~(plug sym (punt ;~(pfix tis wyde))) :: typeable name
|
||||
@ -13612,7 +13619,7 @@
|
||||
++ expd |.(;~(goop loaf loaf loaf loaf)) :: four hoons
|
||||
++ expe |.(wisp) :: core tail
|
||||
++ expf |.(;~(goop ;~(pfix cen sym) loaf)) :: %term and hoon
|
||||
++ expg |.(;~(goop lomp loaf loaf)) :: term/spec, two hoons
|
||||
++ expg |.(;~(gunk lomp loll loaf)) :: term/spec, two hoons
|
||||
++ exph |.((butt ;~(gunk rope rick))) :: wing, [wing hoon]s
|
||||
++ expi |.((butt ;~(goop loaf hank))) :: one or more hoons
|
||||
++ expj |.(;~(goop lore loaf)) :: skin and hoon
|
||||
|
Loading…
Reference in New Issue
Block a user