mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 01:52:42 +03:00
Revert "Breach compatibility rc2", "Revert "Tile %smsm, replaced instance in ames with ++hard call""
This reverts commit 66e94bd04b9333fd7cdafaacc1714d69b3cab059. This reverts commit d3ac409e27bafe7fc2074be71eaf86a6d97f887c.
This commit is contained in:
parent
619dfbb563
commit
15f7641339
@ -272,7 +272,7 @@
|
||||
[%smdt p=twig q=tusk] ::
|
||||
[%smdq p=(list beer)] :: assemble string
|
||||
[%smsg p=twig q=tusk] :: gonads
|
||||
[%smsm p=twig q=twig] :: make sure q is a p
|
||||
[%smsm p=tile q=twig] :: make sure q is a p
|
||||
:: :::::: compositions
|
||||
[%tsbr p=tile q=twig] :: push bunt: =+(_p q)
|
||||
[%tscl p=tram q=twig] :: p changes, then q
|
||||
@ -6662,7 +6662,8 @@
|
||||
::
|
||||
[%smsm *] :: ;;
|
||||
:+ %tsgr [%ktts %v ~ 1] :: => v=.
|
||||
:+ %tsls [%ktts %a [%tsgr [%cnzy %v] p.gen]] :: =+ a==>(v {p.gen})
|
||||
:+ %tsls :+ %ktts %a :: =+ ^= a
|
||||
[%tsgr [%cnzy %v] [%bccm p.gen]] :: =>(v ,{p.gen})
|
||||
:+ %tsls [%ktts %b [%tsgr [%cnzy %v] q.gen]] :: =+ b==>(v {q.gen})
|
||||
:+ %tsls :: =+ c=(a b)
|
||||
[%ktts %c [%cnhp [%cnzy %a] [%cnzy %b] ~]] ::
|
||||
@ -8946,7 +8947,7 @@
|
||||
=+ rev=(plex b)
|
||||
?~ rev ~
|
||||
%- some
|
||||
:+ %smsm ~(clam al a)
|
||||
:+ %smsm a
|
||||
[%dtkt %dtzz %$ %cx u.rev]
|
||||
;~(plug hill rood)
|
||||
==
|
||||
@ -9194,7 +9195,7 @@
|
||||
:~ [':' (rune col %smcl expi)]
|
||||
['.' (rune dot %smdt expi)]
|
||||
['~' (rune sig %smsg expi)]
|
||||
[';' (rune sem %smsm expb)]
|
||||
[';' (rune sem %smsm expo)]
|
||||
==
|
||||
==
|
||||
:- '='
|
||||
|
@ -19,7 +19,7 @@
|
||||
=+ ark=;;(arch .^(%cy pax))
|
||||
?^ q.ark
|
||||
:- leaf/(spud pax)
|
||||
%+ turn (lore ;;(,@t .^(%cx pax)))
|
||||
%+ turn (lore ;;(@t .^(%cx pax)))
|
||||
|=(a=cord leaf/(trip a))
|
||||
?- r.ark :: handle ambiguity
|
||||
~
|
||||
|
@ -12,6 +12,6 @@
|
||||
::
|
||||
++ pour
|
||||
|= [ost=bone * sih=*]
|
||||
~& poke-resp/(,[term term] [&1 &2]:sih)
|
||||
~& poke-resp/;;([term term] [&1 &2]:sih)
|
||||
:_(+> [ost %pass / %g %cide %$]~)
|
||||
--
|
||||
|
@ -10,7 +10,8 @@
|
||||
::
|
||||
|% ::
|
||||
++ axle ::
|
||||
$: tiv=? :: typing?
|
||||
$: %0 :: version
|
||||
tiv=? :: typing?
|
||||
pid=@u :: next process id
|
||||
pax=_`path`/=try= :: working directory
|
||||
act=(unit span) :: active child
|
||||
|
@ -58,36 +58,6 @@
|
||||
[%vega p=path] ::
|
||||
== == ==
|
||||
--
|
||||
::
|
||||
:::: from future import wick, pack, pick XX remove on breach or kelvin bump
|
||||
::
|
||||
|%
|
||||
++ wick :: span format
|
||||
|= a=@
|
||||
^- (unit ,@ta)
|
||||
=+ b=(rip 3 a)
|
||||
=- ?^(b ~ (some (rap 3 (flop c))))
|
||||
=| c=tape
|
||||
|- ^- [b=tape c=tape]
|
||||
?~ b [~ c]
|
||||
?. =('~' i.b)
|
||||
$(b t.b, c [i.b c])
|
||||
?~ t.b [b ~]
|
||||
?- i.t.b
|
||||
%'~' $(b t.t.b, c ['~' c])
|
||||
%'-' $(b t.t.b, c ['_' c])
|
||||
@ [b ~]
|
||||
==
|
||||
::
|
||||
++ pack :: light path encoding
|
||||
|= [a=term b=path] ^- span
|
||||
%+ rap 3 :- (wack a)
|
||||
(turn b |=(c=span (cat 3 '_' (wack c))))
|
||||
::
|
||||
++ pick :: light path decoding
|
||||
|= a=span ^- (unit ,[p=term q=path])
|
||||
(rush a (most cab (sear wick urt:ab)))
|
||||
--
|
||||
!:
|
||||
:::: helpers
|
||||
::
|
||||
|
Loading…
Reference in New Issue
Block a user