mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-25 07:52:59 +03:00
hoon: remove deprecated lustar parser
See #6052. This is completely different from the +* used at the top of doors, and has almost entirely been replaced by |$. The exception is the use of the `%made` spec, not present in `|$`. I do not see an obvious way to change `|$` to use `%made` since this `+*` parser uses the name of the arm in the `%made` structure, unless we change the AST of |$.
This commit is contained in:
parent
d5bf903f56
commit
5b99f74c94
@ -13243,7 +13243,7 @@
|
||||
::
|
||||
++ boog !:
|
||||
%+ knee [p=*whit q=*term r=*help s=*hoon]
|
||||
|.(~+((scye ;~(pose bola boba bota))))
|
||||
|.(~+((scye ;~(pose bola boba))))
|
||||
++ bola :: ++ arms
|
||||
%+ knee [q=*term r=*help s=*hoon] |. ~+
|
||||
%+ cook
|
||||
@ -13273,37 +13273,6 @@
|
||||
;~(pfix jump loan)
|
||||
==
|
||||
==
|
||||
::TODO: deprecated, remove at next kelvin bump
|
||||
++ bota :: +* arms
|
||||
%+ knee [q=*term r=*help s=*hoon] |. ~+
|
||||
%+ cook
|
||||
|= [b=term d=hoon]
|
||||
[b *help d]
|
||||
;~ plug
|
||||
%+ cook
|
||||
|= [b=term c=(list term) e=spec]
|
||||
^- [term hoon]
|
||||
:- b
|
||||
:+ %brtr
|
||||
:- %bccl
|
||||
=- ?>(?=(^ -) -)
|
||||
:: for each .term in .c, produce $=(term $~(* $-(* *)))
|
||||
:: ie {term}=mold
|
||||
::
|
||||
%+ turn c
|
||||
|= =term
|
||||
^- spec
|
||||
=/ tar [%base %noun]
|
||||
[%bcts term [%bcsg tar [%bchp tar tar]]]
|
||||
[%ktcl [%made [b c] e]]
|
||||
;~ pfix (jest '+*')
|
||||
;~ plug
|
||||
;~(pfix gap sym)
|
||||
;~(pfix gap (ifix [sel ser] (most ace sym)))
|
||||
;~(pfix gap loan)
|
||||
==
|
||||
==
|
||||
==
|
||||
::
|
||||
:: parses a or [a b c] or a b c ==
|
||||
++ lynx
|
||||
|
Loading…
Reference in New Issue
Block a user