2016-11-17 02:58:56 +03:00
|
|
|
::
|
2018-03-28 03:01:45 +03:00
|
|
|
|%
|
|
|
|
++ test
|
2018-03-28 03:41:52 +03:00
|
|
|
$% [%arvo ~] ::UNIMPLEMENTED
|
|
|
|
[%marks ~] ::UNIMPLEMENTED
|
2018-03-28 03:01:45 +03:00
|
|
|
[%cores p=path]
|
|
|
|
[%hoons p=path]
|
|
|
|
[%names p=path]
|
2018-03-28 03:38:34 +03:00
|
|
|
[%renders p=path]
|
2018-03-28 03:01:45 +03:00
|
|
|
==
|
|
|
|
--
|
|
|
|
::
|
|
|
|
|%
|
|
|
|
++ join
|
|
|
|
|= {a/cord b/(list cord)}
|
|
|
|
?~ b ''
|
|
|
|
(rap 3 |-([i.b ?~(t.b ~ [a $(b t.b)])]))
|
2018-03-28 03:30:31 +03:00
|
|
|
::
|
|
|
|
++ fake-fcgi [%many [%blob *cred:eyre] $+[%n ~] ~]
|
2018-03-28 03:01:45 +03:00
|
|
|
--
|
|
|
|
::
|
2017-02-14 01:57:07 +03:00
|
|
|
=, gall
|
|
|
|
=, ford
|
2017-11-14 03:31:46 +03:00
|
|
|
=, format
|
2016-11-17 02:05:24 +03:00
|
|
|
|_ {bowl $~}
|
|
|
|
++ peek _~
|
2018-03-28 00:49:12 +03:00
|
|
|
++ report-error
|
|
|
|
|= [a=spur b=(each cage tang)] ^- tang
|
|
|
|
=/ should-fail (~(get by failing) (flop a))
|
|
|
|
?- -.b
|
|
|
|
%&
|
|
|
|
?~ should-fail ~
|
|
|
|
:~ leaf+"warn: expected failure, {<`tape`u.should-fail>}"
|
|
|
|
leaf+"warn: built succesfully"
|
|
|
|
(sell q.p.b)
|
|
|
|
==
|
|
|
|
::
|
|
|
|
%|
|
|
|
|
?^ should-fail
|
|
|
|
~[>[%failed-known `tape`(weld "TODO: " u.should-fail)]<]
|
|
|
|
(flop p.b)
|
|
|
|
==
|
|
|
|
::
|
2017-11-14 03:31:46 +03:00
|
|
|
++ made-a-core
|
|
|
|
|= {a/spur @uvH b/gage}
|
|
|
|
:_ +>.$
|
2018-03-28 00:49:12 +03:00
|
|
|
?> ?=([%tabl [(each) (each)] ~] b)
|
|
|
|
%- (slog (report-error a p.i.p.b))
|
2017-11-14 03:31:46 +03:00
|
|
|
=/ nex/(list spur)
|
|
|
|
=<(p ;;(,[%& %cont * p=(list spur)] q.i.p.b))
|
2018-03-08 06:19:42 +03:00
|
|
|
?~ nex ~&(%cores-tested ~)
|
2017-11-14 03:31:46 +03:00
|
|
|
[ost (build-core nex)]~
|
|
|
|
::
|
|
|
|
++ build-core
|
|
|
|
|= [a=spur b=(list spur)]
|
|
|
|
~& >> (flop a)
|
|
|
|
:^ %exec a-core+a our
|
|
|
|
%- some
|
|
|
|
^- bilk
|
|
|
|
:- now-beak
|
|
|
|
:~ %tabl
|
|
|
|
[[%core now-beak a] [%$ %cont !>(b)]]
|
|
|
|
==
|
2016-11-17 02:05:24 +03:00
|
|
|
::
|
2018-03-28 03:30:31 +03:00
|
|
|
++ made-a-rend
|
|
|
|
|= {a/wire @uvH b/gage}
|
|
|
|
?> ?=([ren=mark ~] a)
|
|
|
|
=+ `[ren=term pax=path]`?~(a !! a)
|
|
|
|
:_ +>.$
|
|
|
|
?> ?=([%tabl [(each) (each)] ~] b)
|
|
|
|
%- (slog (report-error /[ren.i.a]/ren p.i.p.b))
|
|
|
|
=/ nex/(list term)
|
|
|
|
=<(p ;;(,[%& %cont * p=(list term)] q.i.p.b))
|
|
|
|
?~ nex ~&(%rens-tested ~)
|
|
|
|
[ost (build-rend nex)]~
|
|
|
|
::
|
|
|
|
++ build-rend
|
|
|
|
|= [a=term b=(list term)]
|
|
|
|
~& >> [%ren a]
|
|
|
|
=/ bem/beam (need (de-beam %/example))
|
|
|
|
=. -.bem now-beak
|
|
|
|
:^ %exec a-rend+/[a] our
|
|
|
|
%- some
|
|
|
|
^- bilk
|
|
|
|
:- -.bem
|
|
|
|
:~ %tabl
|
|
|
|
[`silk`[%bake a fake-fcgi bem] [%$ %cont !>(b)]]
|
|
|
|
==
|
|
|
|
::
|
2016-11-17 02:05:24 +03:00
|
|
|
++ poke-noun
|
2018-03-28 03:01:45 +03:00
|
|
|
|= a=test
|
2017-11-14 03:31:46 +03:00
|
|
|
:_ +>
|
2018-03-28 03:01:45 +03:00
|
|
|
?- -.a
|
2018-03-28 03:41:52 +03:00
|
|
|
%arvo ~|(%stub !!) ::basically double solid?
|
2018-03-28 03:38:34 +03:00
|
|
|
%hoons ~&((list-hoons p.a ~) ~)
|
|
|
|
%cores [ost (build-core [- +]:(list-hoons p.a skip=(sy /sys /ren ~)))]~
|
2018-03-28 03:01:45 +03:00
|
|
|
%names ~&((list-names p.a) ~)
|
2018-03-28 03:41:52 +03:00
|
|
|
%marks ~|(%stub !!) ::TODO restore historical handler
|
2018-03-28 03:38:34 +03:00
|
|
|
%renders [ost (build-rend [- +]:(list-names (weld /ren p.a)))]~
|
2018-03-28 03:01:45 +03:00
|
|
|
==
|
|
|
|
::
|
|
|
|
++ list-names
|
|
|
|
|= a/path ^- (list term)
|
2018-03-28 03:38:34 +03:00
|
|
|
=/ hon (list-hoons a ~)
|
2018-03-28 03:01:45 +03:00
|
|
|
%+ turn hon
|
|
|
|
|= b=spur
|
|
|
|
(join '-' (slag 1 (flop b)))
|
2017-11-14 03:31:46 +03:00
|
|
|
::
|
2018-03-28 03:01:45 +03:00
|
|
|
++ list-hoons
|
2018-03-28 03:38:34 +03:00
|
|
|
|= [under=path skipping=(set spur)] ^- (list spur)
|
|
|
|
=/ sup (flop under)
|
|
|
|
~& [%findining-hoons under=under]
|
2017-11-14 03:31:46 +03:00
|
|
|
|- ^- (list spur)
|
2017-11-30 00:32:22 +03:00
|
|
|
%- zing
|
|
|
|
%+ turn
|
|
|
|
=- (sort ~(tap by -) aor)
|
|
|
|
dir:.^(arch %cy (en-beam now-beak sup))
|
|
|
|
|= [a=knot ~] ^- (list spur)
|
2017-11-14 03:31:46 +03:00
|
|
|
=. sup [a sup]
|
2018-03-28 03:38:34 +03:00
|
|
|
?: (~(has in skipping) (flop sup))
|
|
|
|
~&(> [(flop sup) %out-of-scope] ~)
|
2018-03-28 00:49:12 +03:00
|
|
|
=/ ded (~(get by skip-completely) (flop sup))
|
2018-03-28 00:34:58 +03:00
|
|
|
?^ ded
|
|
|
|
~&(> [(flop sup) %skipped `tape`u.ded] ~)
|
2017-11-30 00:32:22 +03:00
|
|
|
?~ [fil:.^(arch %cy (en-beam now-beak [%hoon sup]))]
|
|
|
|
^$
|
|
|
|
~& (flop sup)
|
|
|
|
[sup ^$]
|
2016-11-17 02:05:24 +03:00
|
|
|
::
|
2016-11-17 02:58:56 +03:00
|
|
|
++ now-beak %_(byk r [%da now])
|
2018-03-28 00:49:12 +03:00
|
|
|
++ skip-completely
|
2018-03-28 00:34:58 +03:00
|
|
|
^~ ^- (map path tape)
|
|
|
|
%- my :~ ::TODO don't hardcode
|
2018-03-28 03:30:31 +03:00
|
|
|
:- /ren/css "not meant to be called outside /web/pack"
|
|
|
|
:- /ren/js "not meant to be called outside /web/pack"
|
|
|
|
:- /ren/run "not meant to be called except on a (different) hoon file"
|
2018-08-01 02:31:30 +03:00
|
|
|
:- /ren/collections "temporarily disabled"
|
2018-07-31 08:24:32 +03:00
|
|
|
:- /ren/x-urb "temporarily disabled"
|
2018-07-31 23:56:38 +03:00
|
|
|
:- /ren/x-htm "temporarily disabled"
|
|
|
|
:- /ren/x-collections-snip "temporarily disabled"
|
|
|
|
:- /ren/x-collections-json "temporarily disabled"
|
2018-07-31 08:24:32 +03:00
|
|
|
:- /ren/urb "temporarily disabled"
|
2018-03-28 00:49:12 +03:00
|
|
|
::
|
2018-03-28 00:34:58 +03:00
|
|
|
:- /app/gh "hangs for some reason"
|
|
|
|
:- /mar/gh "hangs for some reason"
|
2018-03-28 01:05:31 +03:00
|
|
|
:- /app/twit "slow and/or crash"
|
|
|
|
:- /gen/twit "slow and/or crash"
|
2018-03-28 00:34:58 +03:00
|
|
|
:- /mar/twit "slow and/or crash"
|
2018-07-31 08:24:32 +03:00
|
|
|
:- /web/landscape "/$ doensn't work in tests"
|
2018-03-28 00:49:12 +03:00
|
|
|
==
|
|
|
|
::
|
|
|
|
++ failing
|
|
|
|
^~ ^- (map path tape)
|
|
|
|
%- my :~ ::TODO don't hardcode
|
2018-03-08 05:13:57 +03:00
|
|
|
::
|
2018-03-28 00:34:58 +03:00
|
|
|
:- /app/pipe "wants 'flavor:hall' to exist"
|
|
|
|
:- /gen/capitalize "wants unicode-data/txt"
|
2018-03-08 05:13:57 +03:00
|
|
|
::
|
2018-03-28 00:34:58 +03:00
|
|
|
:- /lib/down-jet/parse "// nonsense"
|
|
|
|
:- /lib/down-jet/rend "// nonsense"
|
|
|
|
:- /lib/hood/kiln "ford can't handle surs from libs"
|
|
|
|
:- /lib/sole "ford can't handle surs from libs"
|
|
|
|
:- /lib/hall "ford can't handle surs from libs"
|
|
|
|
:- /lib/twitter "ford can't handle surs from libs"
|
|
|
|
:- /sys/arvo "BROKEN"
|
|
|
|
:- /sys/vane/jael "expects our"
|
|
|
|
:- /sys/vane/xmas "expects our"
|
2018-03-08 05:13:57 +03:00
|
|
|
==
|
2016-12-02 22:46:23 +03:00
|
|
|
--
|