Shell : edit path inference

This commit is contained in:
Anton Dyudin 2015-02-12 13:04:33 -08:00
parent 60a85e329c
commit 12508568af
3 changed files with 21 additions and 6 deletions

View File

@ -4,7 +4,7 @@
:: ::
/? 314 /? 314
/- term-line, kyev /- term-line, kyev
/= pit /~ !>(.) :: kernel vase /= pit /~ !>(+) :: kernel vase
:: ::
:::: structures :::: structures
:: ::
@ -239,12 +239,17 @@
|= [paf=path gen=(unit twig)] |= [paf=path gen=(unit twig)]
^+ +> ^+ +>
=+ fel=(file paf) =+ fel=(file paf)
?~ fel ?^ fel
(chew-file paf '! none') ?~ gen
?^ gen (blab (stray (crip ": {(spud paf)} {<(,@t u.fel)>}")))
%+ with u.gen |= new=vase %+ with u.gen |= new=vase
(chew-file paf (foal paf q.new)) (chew-file paf (foal paf q.new))
(blab (stray (crip ": {(spud paf)} {<(,@t u.fel)>}"))) =+ ark=;;(arch .^(%cy paf))
?- r.ark
~ (chew-file paf '! none')
[^ ~ ~] $(paf (welp paf /[p.n.r.ark]))
* (chew-file paf '! many')
==
:: ::
++ eat-help ++ eat-help
|= app=term |= app=term

View File

@ -8,6 +8,14 @@
|% |%
++ html (crip (poxo own)) :: convert to %html ++ html (crip (poxo own)) :: convert to %html
++ mime [/text/html (taco html)] :: convert to %mime ++ mime [/text/html (taco html)] :: convert to %mime
++ urb
~| hymn//mal-formed
?> ?=([[%html ~] [[%head ~] *] [[%body ~] ^] ~] own)
%_ own
c.i.c
:_ c.i.c.own
;script@"/~/on/try/0.js"; :: XX
==
-- --
++ grab |% :: convert from ++ grab |% :: convert from
++ noun manx :: clam from %noun ++ noun manx :: clam from %noun

View File

@ -10,9 +10,11 @@
++ grow :: convert to ++ grow :: convert to
|% |%
++ mime :: convert to %mime ++ mime :: convert to %mime
[/text/json (taco (crip (pojo jon)))] [/text/json (tact (pojo jon))]
-- --
++ grab |% :: convert from ++ grab |% :: convert from
++ noun json :: clam from %noun ++ noun json :: clam from %noun
++ numb jone
++ time jode
-- -- -- --