Various fixes and improvements.

This commit is contained in:
C. Guy Yarvin 2014-07-09 16:12:26 -07:00
parent 720ca0a14f
commit 56a8799501

View File

@ -1463,19 +1463,29 @@
:- p.pok
[i.rax q.pok]
::
++ fest !: :: web synthesizer
++ fain :: path restructure
|= [hom=path raw=path]
|* yax=$+(epic *)
~| [%fest-path raw]
=+ bem=(need (tome raw))
~| [%fest-beam bem]
~| [%fest-home hom]
=+ ^= but ^- path
=+ [mer=(flop s.bem) moh=(flop hom)]
|- ^- path
?~ moh (flop mer)
|- ^- (pair beam path)
?~ moh
[bem(s hom) (flop mer)]
?> &(?=(^ mer) =(i.mer i.moh))
$(mer t.mer, moh t.moh)
::
++ fest :: web synthesizer
|= [hom=path raw=path]
|* yax=$+(epic *)
(yax (fuel (fain hom raw)))
::
++ folk :: silk construction
|= [hom=path raw=path]
|* yox=$+((pair beam path) silk)
(yox (fain hom raw))
::
++ fuel :: parse fcgi
|= [bem=beam but=path]
^- epic
?> ?=([@ *] but)
=+ dyb=(slay i.but)
?> ?& ?=([~ %many *] dyb)
@ -1501,13 +1511,13 @@
?~ gut ~
?> ?=(^ t.gut)
[[i.gut i.t.gut] $(gut t.t.gut)]
%- yax
:* (~(gas by *(map cord cord)) quy)
ced
-.bem
t.but
nyp
==
::
++ gist :: convenient html
|= [hom=path raw=path]