mirror of
https://github.com/urbit/shrub.git
synced 2024-11-28 22:33:06 +03:00
dojo: parse %as in ++parse-value instead of ++parse-build
Allows things like `+hello &helm-hi 'hi'`. Fixes #1476.
This commit is contained in:
parent
2b723e9ac1
commit
d576c9479f
@ -218,7 +218,6 @@
|
|||||||
;~(plug (cold %ur lus) parse-url)
|
;~(plug (cold %ur lus) parse-url)
|
||||||
;~(plug (cold %ge lus) parse-model)
|
;~(plug (cold %ge lus) parse-model)
|
||||||
;~(plug (cold %te hep) sym (star ;~(pfix ace parse-source)))
|
;~(plug (cold %te hep) sym (star ;~(pfix ace parse-source)))
|
||||||
;~(plug (cold %as pad) sym ;~(pfix ace parse-source))
|
|
||||||
;~(plug (cold %do cab) parse-hoon ;~(pfix ace parse-source))
|
;~(plug (cold %do cab) parse-hoon ;~(pfix ace parse-source))
|
||||||
parse-value
|
parse-value
|
||||||
==
|
==
|
||||||
@ -284,6 +283,7 @@
|
|||||||
==
|
==
|
||||||
++ parse-value
|
++ parse-value
|
||||||
;~ pose
|
;~ pose
|
||||||
|
;~(plug (cold %as pad) sym ;~(pfix ace parse-source))
|
||||||
(stag %sa ;~(pfix tar pad sym))
|
(stag %sa ;~(pfix tar pad sym))
|
||||||
(stag %ex parse-hoon)
|
(stag %ex parse-hoon)
|
||||||
(stag %tu (ifix [lac rac] (most ace parse-source)))
|
(stag %tu (ifix [lac rac] (most ace parse-source)))
|
||||||
|
Loading…
Reference in New Issue
Block a user