mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-14 17:41:33 +03:00
hoon: yel to doq
This commit is contained in:
parent
b9027100af
commit
a75cd8c85c
@ -12470,7 +12470,7 @@
|
||||
%+ cook |=(a/marl:hoot a)
|
||||
;~ pose
|
||||
;~ less (jest '"""')
|
||||
(ifix [yel yel] (cook collapse-chars quote-innards))
|
||||
(ifix [doq doq] (cook collapse-chars quote-innards))
|
||||
==
|
||||
::
|
||||
%- inde
|
||||
@ -12482,7 +12482,7 @@
|
||||
%+ cook |=(a/(list $@(@ tuna:hoot)) a)
|
||||
%- star
|
||||
;~ pose
|
||||
;~(pfix bas ;~(pose (mask "-+*%;\{") bas yel bix:ab))
|
||||
;~(pfix bas ;~(pose (mask "-+*%;\{") bas doq bix:ab))
|
||||
inline-embed
|
||||
;~(less bas lob ?:(in-tall-form fail doq) prn)
|
||||
?:(lin fail ;~(less (jest '\0a"""') (just '\0a')))
|
||||
@ -13142,7 +13142,7 @@
|
||||
::
|
||||
:: "quoted text"
|
||||
::
|
||||
(stag %quod (ifix [yel yel] (cool (cash yel) werk)))
|
||||
(stag %quod (ifix [doq doq] (cool (cash doq) werk)))
|
||||
::
|
||||
:: `classic markdown quote`
|
||||
::
|
||||
@ -13619,11 +13619,11 @@
|
||||
++ soil
|
||||
;~ pose
|
||||
;~ less (jest '"""')
|
||||
%+ ifix [yel yel]
|
||||
%+ ifix [doq doq]
|
||||
%- star
|
||||
;~ pose
|
||||
;~(pfix bas ;~(pose bas yel lob bix:ab))
|
||||
;~(less yel bas lob prn)
|
||||
;~(pfix bas ;~(pose bas doq lob bix:ab))
|
||||
;~(less doq bas lob prn)
|
||||
(stag ~ sump)
|
||||
==
|
||||
==
|
||||
|
@ -6696,7 +6696,7 @@
|
||||
=* wow `(map @t @)`(malt lip)
|
||||
(sear ~(get by wow) low)
|
||||
=* tuf ;~(pfix (just 'u') (cook tuft qix:ab))
|
||||
;~(pose yel net soq bas loo tuf)
|
||||
;~(pose doq net soq bas loo tuf)
|
||||
==
|
||||
:: :: ++expo:de-json:html
|
||||
++ expo :: exponent
|
||||
@ -6710,7 +6710,7 @@
|
||||
;~(plug dot digs)
|
||||
:: :: ++jcha:de-json:html
|
||||
++ jcha :: string character
|
||||
;~(pose ;~(less yel bas prn) esca)
|
||||
;~(pose ;~(less doq bas prn) esca)
|
||||
:: :: ++mayb:de-json:html
|
||||
++ mayb :: optional
|
||||
|*(bus/rule ;~(pose bus (easy ~)))
|
||||
@ -6741,7 +6741,7 @@
|
||||
(cook |=(a/@ [a ~]) bus)
|
||||
:: :: ++stri:de-json:html
|
||||
++ stri :: string
|
||||
(cook crip (ifix [yel yel] (star jcha)))
|
||||
(cook crip (ifix [doq doq] (star jcha)))
|
||||
:: :: ++tops:de-json:html
|
||||
++ tops :: strict value
|
||||
;~(pose abox obox)
|
||||
@ -6849,9 +6849,9 @@
|
||||
;~(pfix (plus whit) name)
|
||||
;~ pose
|
||||
%+ ifix
|
||||
:_ yel
|
||||
;~(plug (ifix [. .]:(star whit) tis) yel)
|
||||
(star ;~(less yel escp))
|
||||
:_ doq
|
||||
;~(plug (ifix [. .]:(star whit) tis) doq)
|
||||
(star ;~(less doq escp))
|
||||
::
|
||||
%+ ifix
|
||||
:_ soq
|
||||
@ -6872,7 +6872,7 @@
|
||||
:: :: ++chrd:de-xml:html
|
||||
++ chrd :: character data
|
||||
%+ cook |=(a/tape ^-(mars ;/(a)))
|
||||
(plus ;~(less yel ;~(pose (just `@`10) escp)))
|
||||
(plus ;~(less doq ;~(pose (just `@`10) escp)))
|
||||
:: :: ++comt:de-xml:html
|
||||
++ comt :: comments
|
||||
=- (ifix [(jest '<!--') (jest '-->')] (star -))
|
||||
@ -7082,7 +7082,7 @@
|
||||
;~(pose pure pesc psub col pat)
|
||||
:: :: ++pcok:de-purl:html
|
||||
++ pcok :: cookie char
|
||||
;~(less bas mic com yel prn)
|
||||
;~(less bas mic com doq prn)
|
||||
:: :: ++pesc:de-purl:html
|
||||
++ pesc :: 2396 escaped
|
||||
;~(pfix cen mes)
|
||||
@ -7122,7 +7122,7 @@
|
||||
(cook crip (plus pcok))
|
||||
:: :: ++tosk:de-purl:html
|
||||
++ tosk :: 6265 quoted value
|
||||
;~(pose tock (ifix [yel yel] tock))
|
||||
;~(pose tock (ifix [doq doq] tock))
|
||||
:: :: ++toke:de-purl:html
|
||||
++ toke :: 2616 token
|
||||
(cook crip (plus ptok))
|
||||
|
Loading…
Reference in New Issue
Block a user