2023-03-01 00:05:08 +01:00
|
|
|
/* s.c -- generated via skint -c s.scm */
|
|
|
|
|
|
|
|
char *s_code[] = {
|
|
|
|
|
2023-03-22 19:20:17 +01:00
|
|
|
"let-syntax",
|
|
|
|
"l4:y12:syntax-rules;n;l2:l2:y1:_;l2:l2:y2:kw;y4:init;;y3:...;;;l1:y5:b"
|
|
|
|
"egin;;;l2:py1:_;pl2:l2:y2:kw;y4:init;;y3:...;;y5:forms;;;l3:py13:synta"
|
|
|
|
"x-lambda;pl2:y2:kw;y3:...;;y5:forms;;;y4:init;y3:...;;;",
|
|
|
|
|
|
|
|
"letrec-syntax",
|
|
|
|
"l3:y12:syntax-rules;n;l2:py1:_;pl2:l2:y3:key;y5:trans;;y3:...;;y5:form"
|
|
|
|
"s;;;py4:body;pl3:y13:define-syntax;y3:key;y5:trans;;py3:...;y5:forms;;"
|
|
|
|
";;;",
|
|
|
|
|
|
|
|
"letrec",
|
|
|
|
"l3:y12:syntax-rules;n;l2:py1:_;pl2:l2:y3:var;y4:init;;y3:...;;y5:forms"
|
|
|
|
";;;py4:body;pl3:y6:define;y3:var;y4:init;;py3:...;y5:forms;;;;;",
|
|
|
|
|
|
|
|
"let",
|
|
|
|
"l4:y12:syntax-rules;n;l2:py1:_;pl2:l2:y3:var;y4:init;;y3:...;;y5:forms"
|
|
|
|
";;;l3:py6:lambda;pl2:y3:var;y3:...;;y5:forms;;;y4:init;y3:...;;;l2:py1"
|
|
|
|
":_;py4:name;pl2:l2:y3:var;y4:init;;y3:...;;y5:forms;;;;l3:l3:y6:letrec"
|
|
|
|
";l1:l2:y4:name;py6:lambda;pl2:y3:var;y3:...;;y5:forms;;;;;y4:name;;y4:"
|
|
|
|
"init;y3:...;;;",
|
|
|
|
|
|
|
|
"let*",
|
|
|
|
"l4:y12:syntax-rules;n;l2:py1:_;pn;y5:forms;;;py4:body;y5:forms;;;l2:py"
|
|
|
|
"1:_;ppy5:first;y4:more;;y5:forms;;;l3:y3:let;l1:y5:first;;py4:let*;py4"
|
|
|
|
":more;y5:forms;;;;;",
|
|
|
|
|
|
|
|
"and",
|
|
|
|
"l5:y12:syntax-rules;n;l2:l1:y1:_;;t;;l2:l2:y1:_;y4:test;;y4:test;;l2:p"
|
|
|
|
"y1:_;py4:test;y5:tests;;;l4:y2:if;y4:test;py3:and;y5:tests;;f;;;",
|
|
|
|
|
|
|
|
"or",
|
|
|
|
"l5:y12:syntax-rules;n;l2:l1:y1:_;;f;;l2:l2:y1:_;y4:test;;y4:test;;l2:p"
|
|
|
|
"y1:_;py4:test;y5:tests;;;l3:y3:let;l1:l2:y1:x;y4:test;;;l4:y2:if;y1:x;"
|
|
|
|
"y1:x;py2:or;y5:tests;;;;;",
|
|
|
|
|
|
|
|
"cond",
|
|
|
|
"l7:y12:syntax-rules;l2:y4:else;y2:=>;;l2:l1:y1:_;;f;;l2:l2:y1:_;py4:el"
|
|
|
|
"se;y4:exps;;;py5:begin;y4:exps;;;l2:py1:_;pl1:y1:x;;y4:rest;;;l3:y2:or"
|
|
|
|
";y1:x;py4:cond;y4:rest;;;;l2:py1:_;pl3:y1:x;y2:=>;y4:proc;;y4:rest;;;l"
|
|
|
|
"3:y3:let;l1:l2:y3:tmp;y1:x;;;py4:cond;pl2:y3:tmp;l2:y4:proc;y3:tmp;;;y"
|
|
|
|
"4:rest;;;;;l2:py1:_;ppy1:x;y4:exps;;y4:rest;;;l4:y2:if;y1:x;py5:begin;"
|
|
|
|
"y4:exps;;py4:cond;y4:rest;;;;",
|
|
|
|
|
|
|
|
"case-test",
|
|
|
|
"l4:y12:syntax-rules;l1:y4:else;;l2:l3:y1:_;y1:k;y4:else;;t;;l2:l3:y1:_"
|
|
|
|
";y1:k;y5:atoms;;l3:y4:memv;y1:k;l2:y5:quote;y5:atoms;;;;",
|
|
|
|
|
|
|
|
"case",
|
|
|
|
"l3:y12:syntax-rules;n;l2:l4:y1:_;y1:x;py4:test;y5:exprs;;y3:...;;l3:y3"
|
|
|
|
":let;l1:l2:y3:key;y1:x;;;l3:y4:cond;pl3:y9:case-test;y3:key;y4:test;;y"
|
|
|
|
"5:exprs;;y3:...;;;;",
|
|
|
|
|
|
|
|
"do",
|
|
|
|
"l3:y12:syntax-rules;n;l2:l5:y1:_;l2:py3:var;py4:init;y4:step;;;y3:...;"
|
|
|
|
";y6:ending;y4:expr;y3:...;;l4:y3:let;y4:loop;l2:l2:y3:var;y4:init;;y3:"
|
|
|
|
"...;;l3:y4:cond;y6:ending;l4:y4:else;y4:expr;y3:...;l3:y4:loop;py5:beg"
|
|
|
|
"in;py3:var;y4:step;;;y3:...;;;;;;",
|
|
|
|
|
|
|
|
"quasiquote",
|
|
|
|
"l10:y12:syntax-rules;l3:y7:unquote;y16:unquote-splicing;y10:quasiquote"
|
|
|
|
";;l2:l2:y1:_;l2:y7:unquote;y1:x;;;y1:x;;l2:l2:y1:_;pl2:y16:unquote-spl"
|
|
|
|
"icing;y1:x;;y1:y;;;l3:y6:append;y1:x;l2:y10:quasiquote;y1:y;;;;l2:py1:"
|
|
|
|
"_;pl2:y10:quasiquote;y1:x;;y1:d;;;l3:y4:cons;l2:y5:quote;y10:quasiquot"
|
|
|
|
"e;;l3:y10:quasiquote;l1:y1:x;;y1:d;;;;l2:l3:y1:_;l2:y7:unquote;y1:x;;y"
|
|
|
|
"1:d;;l3:y4:cons;l2:y5:quote;y7:unquote;;py10:quasiquote;pl1:y1:x;;y1:d"
|
|
|
|
";;;;;l2:l3:y1:_;l2:y16:unquote-splicing;y1:x;;y1:d;;l3:y4:cons;l2:y5:q"
|
|
|
|
"uote;y16:unquote-splicing;;py10:quasiquote;pl1:y1:x;;y1:d;;;;;l2:py1:_"
|
|
|
|
";ppy1:x;y1:y;;y1:d;;;l3:y4:cons;py10:quasiquote;py1:x;y1:d;;;py10:quas"
|
|
|
|
"iquote;py1:y;y1:d;;;;;l2:py1:_;pv2:y1:x;y3:...;;y1:d;;;l2:y12:list->ve"
|
|
|
|
"ctor;py10:quasiquote;pl2:y1:x;y3:...;;y1:d;;;;;l2:py1:_;py1:x;y1:d;;;l"
|
|
|
|
"2:y5:quote;y1:x;;;",
|
|
|
|
|
|
|
|
"when",
|
|
|
|
"l3:y12:syntax-rules;n;l2:py1:_;py4:test;y4:rest;;;l3:y2:if;y4:test;py5"
|
|
|
|
":begin;y4:rest;;;;",
|
|
|
|
|
|
|
|
"unless",
|
|
|
|
"l3:y12:syntax-rules;n;l2:py1:_;py4:test;y4:rest;;;l3:y2:if;l2:y3:not;y"
|
|
|
|
"4:test;;py5:begin;y4:rest;;;;",
|
|
|
|
|
|
|
|
"case-lambda",
|
|
|
|
"l3:y12:syntax-rules;n;l2:l3:y1:_;py4:args;y4:body;;y3:...;;l3:y7:lambd"
|
|
|
|
"a*;l2:y4:args;py6:lambda;py4:args;y4:body;;;;y3:...;;;",
|
|
|
|
|
2023-03-07 23:48:27 +01:00
|
|
|
0,
|
2023-03-21 18:57:28 +01:00
|
|
|
"&0{%2.1,.1G4,.2,.2G3,@(y6:values)[22}@!(y6:floor/)",
|
2023-03-07 23:48:27 +01:00
|
|
|
|
|
|
|
0,
|
2023-03-21 18:57:28 +01:00
|
|
|
"&0{%2.1,.1G6,.2,.2G5,@(y6:values)[22}@!(y9:truncate/)",
|
2023-03-07 23:48:27 +01:00
|
|
|
|
2023-03-01 00:05:08 +01:00
|
|
|
0,
|
2023-03-21 18:57:28 +01:00
|
|
|
"&0{%!0.0,,#0.0,&1{%1.0u?{n]1}.0du?{.0a]1}${.2d,:0^[01},.1aL6]1}.!0.0^_"
|
|
|
|
"1[11}@!(y7:%25append)",
|
2023-02-28 06:31:08 +01:00
|
|
|
|
2023-03-01 00:05:08 +01:00
|
|
|
"append",
|
2023-02-28 06:31:08 +01:00
|
|
|
"l7:y12:syntax-rules;n;l2:l1:y1:_;;l2:y5:quote;n;;;l2:l2:y1:_;y1:x;;y1:"
|
2023-03-21 01:00:18 +01:00
|
|
|
"x;;l2:l3:y1:_;y1:x;y1:y;;l3:y8:list-cat;y1:x;y1:y;;;l2:l5:y1:_;y1:x;y1"
|
|
|
|
":y;y1:z;y3:...;;l3:y8:list-cat;y1:x;l4:y6:append;y1:y;y1:z;y3:...;;;;l"
|
2023-03-21 18:43:26 +01:00
|
|
|
"2:y1:_;y7:%25append;;",
|
2023-02-28 06:31:08 +01:00
|
|
|
|
2023-03-01 00:05:08 +01:00
|
|
|
0,
|
2023-03-21 18:57:28 +01:00
|
|
|
"&0{%!2.0u?{.2,.2A2]3}.0a,.3,.3,,#0.0,&1{%3.1p?{${.3a,.3,.6[02}?{.1]3}."
|
|
|
|
"2,.2d,.2,:0^[33}f]3}.!0.0^_1[33}@!(y7:%25member)",
|
2023-02-28 06:31:08 +01:00
|
|
|
|
2023-03-01 00:05:08 +01:00
|
|
|
"member",
|
2023-03-20 23:47:10 +01:00
|
|
|
"l5:y12:syntax-rules;n;l2:l3:y1:_;y1:v;y1:l;;l3:y4:meme;y1:v;y1:l;;;l2:"
|
|
|
|
"py1:_;y4:args;;py7:%25member;y4:args;;;l2:y1:_;y7:%25member;;",
|
2023-02-28 06:31:08 +01:00
|
|
|
|
2023-03-01 00:05:08 +01:00
|
|
|
0,
|
2023-03-21 18:57:28 +01:00
|
|
|
"&0{%!2.0u?{.2,.2A5]3}.0a,.3,.3,,#0.0,&1{%3.1p?{${.3aa,.3,.6[02}?{.1a]3"
|
|
|
|
"}.2,.2d,.2,:0^[33}f]3}.!0.0^_1[33}@!(y6:%25assoc)",
|
2023-02-28 06:31:08 +01:00
|
|
|
|
2023-03-01 00:05:08 +01:00
|
|
|
"assoc",
|
2023-03-20 23:47:10 +01:00
|
|
|
"l5:y12:syntax-rules;n;l2:l3:y1:_;y1:v;y2:al;;l3:y4:asse;y1:v;y2:al;;;l"
|
|
|
|
"2:py1:_;y4:args;;py6:%25assoc;y4:args;;;l2:y1:_;y6:%25assoc;;",
|
2023-02-28 06:31:08 +01:00
|
|
|
|
2023-03-01 00:05:08 +01:00
|
|
|
0,
|
2023-03-22 19:20:17 +01:00
|
|
|
"&0{%1.0,,#0.0,&1{%1.0p?{${.2d,:0^[01},.1ac]1}.0]1}.!0.0^_1[11}@!(y9:li"
|
|
|
|
"st-copy)",
|
2023-03-21 18:43:26 +01:00
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%!1.0,.2,,#0.0,&1{%2.1u?{.0]2}${.3d,.4a,:0^[02},.1c]2}.!0.0^_1[22}@"
|
|
|
|
"!(y6:%25list*)",
|
2023-02-28 06:31:08 +01:00
|
|
|
|
2023-03-01 00:05:08 +01:00
|
|
|
"list*",
|
2023-03-06 04:19:29 +01:00
|
|
|
"l7:y12:syntax-rules;n;l2:l2:y1:_;y1:x;;y1:x;;l2:l3:y1:_;y1:x;y1:y;;l3:"
|
2023-03-19 19:52:49 +01:00
|
|
|
"y4:cons;y1:x;y1:y;;;l2:l5:y1:_;y1:x;y1:y;y1:z;y3:...;;l3:y4:cons;y1:x;"
|
2023-03-21 18:43:26 +01:00
|
|
|
"l4:y5:list*;y1:y;y1:z;y3:...;;;;l2:py1:_;y4:args;;py6:%25list*;y4:args"
|
|
|
|
";;;l2:y1:_;y6:%25list*;;",
|
2023-02-28 06:31:08 +01:00
|
|
|
|
2023-03-01 00:05:08 +01:00
|
|
|
"cons*",
|
2023-03-03 19:18:00 +01:00
|
|
|
"l4:y12:syntax-rules;n;l2:py1:_;y4:args;;py5:list*;y4:args;;;l2:y1:_;y5"
|
|
|
|
":list*;;",
|
2023-02-28 06:31:08 +01:00
|
|
|
|
2023-03-07 23:48:27 +01:00
|
|
|
0,
|
|
|
|
"&0{%3n,'1,.4I-,,#0.3,.1,.6,&3{%2:0,.1I<?{.1]2}.1,.1,:2V4c,'1,.2I-,:1^["
|
|
|
|
"22}.!0.0^_1[32}@!(y15:subvector->list)",
|
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%3.2,.2,.2,@(y15:subvector->list)[33}%x,&0{%2.0V3,.2,.2,@(y15:subve"
|
2023-03-21 18:57:28 +01:00
|
|
|
"ctor->list)[23}%x,&0{%1.0X0]1}%x,&3{|10|21|32%%}@!(y13:%25vector->list"
|
|
|
|
")",
|
2023-03-21 01:00:18 +01:00
|
|
|
|
|
|
|
"vector->list",
|
2023-03-21 18:43:26 +01:00
|
|
|
"l5:y12:syntax-rules;n;l2:l2:y1:_;y1:x;;l2:y14:%25vector->list1;y1:x;;;"
|
|
|
|
"l2:py1:_;y1:r;;py13:%25vector->list;y1:r;;;l2:y1:_;y13:%25vector->list"
|
|
|
|
";;",
|
2023-03-07 23:48:27 +01:00
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%5.1,.1V3I-,.4I+,.5In,.4,.3I>!?{.4,.3,,#0.3,.7,.6,.3,&4{%2:3,.2I<!,"
|
|
|
|
".0?{.0]3}.2,:2V4,.2,:1V5.2'1,.3I+,.2'1,.3I+,:0^[32}.!0.0^_1[62}'1,.1I-"
|
2023-03-08 19:03:39 +01:00
|
|
|
",'1,.6,.8I-I-,.4I+,,#0.7,.7,.6,.3,&4{%2:3,.2I<,.0?{.0]3}.2,:2V4,.2,:1V"
|
|
|
|
"5.2'1,.3I-,.2'1,.3I-,:0^[32}.!0.0^_1[62}@!(y15:subvector-copy!)",
|
2023-03-07 23:48:27 +01:00
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%5.4,.4,.4,.4,.4,@(y15:subvector-copy!)[55}%x,&0{%4.2V3,.4,.4,.4,.4"
|
|
|
|
",@(y15:subvector-copy!)[45}%x,&0{%3.2V3,'0,.4,.4,.4,@(y15:subvector-co"
|
|
|
|
"py!)[35}%x,&3{|30|41|52%%}@!(y12:vector-copy!)",
|
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%3f,.2,.4I-V2,${.5,.5,.5,'0,.6,@(y15:subvector-copy!)[05}.0]4}@!(y9"
|
|
|
|
":subvector)",
|
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%3.2,.2,.2,@(y9:subvector)[33}%x,&0{%2.0V3,.2,.2,@(y9:subvector)[23"
|
|
|
|
"}%x,&0{%1.0V3,'0,.2,@(y9:subvector)[13}%x,&3{|10|21|32%%}@!(y11:vector"
|
|
|
|
"-copy)",
|
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%4.2,,#0.5,.4,.4,.3,&4{%1:3,.1I<!,.0?{.0]2}:2,.2,:1V5.1'1,.2I+,:0^["
|
|
|
|
"21}.!0.0^_1[41}@!(y15:subvector-fill!)",
|
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%4.3,.3,.3,.3,@(y15:subvector-fill!)[44}%x,&0{%3.0V3,.3,.3,.3,@(y15"
|
|
|
|
":subvector-fill!)[34}%x,&0{%2.0V3,'0,.3,.3,@(y15:subvector-fill!)[24}%"
|
|
|
|
"x,&3{|20|31|42%%}@!(y12:vector-fill!)",
|
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%5.1,.1S3I-,.4I+,.5In,.4,.3,,#0.0,.5,.8,.6,&4{%2:0,.2I<!?{:2]2}.1,:"
|
|
|
|
"1V4,.1,:2S5.1'1,.2I+,.1'1,.2I+,:3^[22}.!0.0^_1[62}@!(y22:subvector-str"
|
|
|
|
"ing-copy!)",
|
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%3.2,.2,.2,'0,'(c ),.6,.8I-S2,@(y22:subvector-string-copy!)[35}@!(y"
|
|
|
|
"17:subvector->string)",
|
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%3.2,.2,.2,@(y17:subvector->string)[33}%x,&0{%2.0V3,.2,.2,@(y17:sub"
|
|
|
|
"vector->string)[23}%x,&0{%1.0V3,'0,.2,@(y17:subvector->string)[13}%x,&"
|
|
|
|
"3{|10|21|32%%}@!(y14:vector->string)",
|
|
|
|
|
2023-03-08 19:03:39 +01:00
|
|
|
0,
|
|
|
|
"&0{%1'0,.1,,#0.0,&1{%2.0u?{.1]2}.0aV3,.2I+,.1d,:0^[22}.!0.0^_1[12}@!(y"
|
|
|
|
"18:vectors-sum-length)",
|
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%2'0,.2,,#0.0,.4,&2{%2.0u?{:0]2}.0d,.1a,.0V3,${.2,'0,.5,.9,:0,@(y15"
|
|
|
|
":subvector-copy!)[05}.0,.5I+,.3,:1^[52}.!0.0^_1[22}@!(y18:vectors-copy"
|
|
|
|
"-into!)",
|
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%!0.0,f,${.4,@(y18:vectors-sum-length)[01}V2,@(y18:vectors-copy-int"
|
2023-03-21 01:00:18 +01:00
|
|
|
"o!)[12}@!(y14:%25vector-append)",
|
2023-03-08 19:03:39 +01:00
|
|
|
|
|
|
|
"vector-append",
|
|
|
|
"l7:y12:syntax-rules;n;l2:l1:y1:_;;l2:y5:quote;v0:;;;l2:l2:y1:_;y1:x;;l"
|
2023-03-21 01:00:18 +01:00
|
|
|
"2:y4:%25ckv;y1:x;;;l2:l3:y1:_;y1:x;y1:y;;l3:y10:vector-cat;y1:x;y1:y;;"
|
|
|
|
";l2:py1:_;y1:r;;py14:%25vector-append;y1:r;;;l2:y1:_;y14:%25vector-app"
|
|
|
|
"end;;",
|
2023-02-28 06:31:08 +01:00
|
|
|
|
2023-03-07 23:48:27 +01:00
|
|
|
0,
|
|
|
|
"&0{%3n,'1,.4I-,,#0.3,.1,.6,&3{%2:0,.1I<?{.1]2}.1,.1,:2S4c,'1,.2I-,:1^["
|
|
|
|
"22}.!0.0^_1[32}@!(y15:substring->list)",
|
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%3.2,.2,.2,@(y15:substring->list)[33}%x,&0{%2.0S3,.2,.2,@(y15:subst"
|
2023-03-21 18:57:28 +01:00
|
|
|
"ring->list)[23}%x,&0{%1.0X2]1}%x,&3{|10|21|32%%}@!(y13:%25string->list"
|
|
|
|
")",
|
2023-03-21 01:00:18 +01:00
|
|
|
|
|
|
|
"string->list",
|
2023-03-21 18:43:26 +01:00
|
|
|
"l5:y12:syntax-rules;n;l2:l2:y1:_;y1:x;;l2:y14:%25string->list1;y1:x;;;"
|
|
|
|
"l2:py1:_;y1:r;;py13:%25string->list;y1:r;;;l2:y1:_;y13:%25string->list"
|
|
|
|
";;",
|
2023-03-07 23:48:27 +01:00
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%5.1,.1S3I-,.4I+,.5In,.4,.3I>!?{.4,.3,,#0.3,.7,.6,.3,&4{%2:3,.2I<!,"
|
|
|
|
".0?{.0]3}.2,:2S4,.2,:1S5.2'1,.3I+,.2'1,.3I+,:0^[32}.!0.0^_1[62}'1,.1I-"
|
2023-03-08 19:03:39 +01:00
|
|
|
",'1,.6,.8I-I-,.4I+,,#0.7,.7,.6,.3,&4{%2:3,.2I<,.0?{.0]3}.2,:2S4,.2,:1S"
|
|
|
|
"5.2'1,.3I-,.2'1,.3I-,:0^[32}.!0.0^_1[62}@!(y15:substring-copy!)",
|
2023-03-07 23:48:27 +01:00
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%5.4,.4,.4,.4,.4,@(y15:substring-copy!)[55}%x,&0{%4.2S3,.4,.4,.4,.4"
|
|
|
|
",@(y15:substring-copy!)[45}%x,&0{%3.2S3,'0,.4,.4,.4,@(y15:substring-co"
|
|
|
|
"py!)[35}%x,&3{|30|41|52%%}@!(y12:string-copy!)",
|
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%3.2,.2,.2S7]3}%x,&0{%2.0S3,.2,.2S7]2}%x,&0{%1.0S3,'0,.2S7]1}%x,&3{"
|
|
|
|
"|10|21|32%%}@!(y11:string-copy)",
|
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%4.2,,#0.5,.4,.4,.3,&4{%1:3,.1I<!,.0?{.0]2}:2,.2,:1S5.1'1,.2I+,:0^["
|
|
|
|
"21}.!0.0^_1[41}@!(y15:substring-fill!)",
|
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%4.3,.3,.3,.3,@(y15:substring-fill!)[44}%x,&0{%3.0S3,.3,.3,.3,@(y15"
|
|
|
|
":substring-fill!)[34}%x,&0{%2.0S3,'0,.3,.3,@(y15:substring-fill!)[24}%"
|
|
|
|
"x,&3{|20|31|42%%}@!(y12:string-fill!)",
|
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%5.1,.1V3I-,.4I+,.5In,.4,.3,,#0.0,.5,.8,.6,&4{%2:0,.2I<!?{:2]2}.1,:"
|
|
|
|
"1S4,.1,:2V5.1'1,.2I+,.1'1,.2I+,:3^[22}.!0.0^_1[62}@!(y22:substring-vec"
|
|
|
|
"tor-copy!)",
|
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%3.2,.2,.2,'0,f,.6,.8I-V2,@(y22:substring-vector-copy!)[35}@!(y17:s"
|
|
|
|
"ubstring->vector)",
|
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%3.2,.2,.2,@(y17:substring->vector)[33}%x,&0{%2.0S3,.2,.2,@(y17:sub"
|
|
|
|
"string->vector)[23}%x,&0{%1.0S3,'0,.2,@(y17:substring->vector)[13}%x,&"
|
|
|
|
"3{|10|21|32%%}@!(y14:string->vector)",
|
|
|
|
|
2023-03-08 19:03:39 +01:00
|
|
|
0,
|
|
|
|
"&0{%1'0,.1,,#0.0,&1{%2.0u?{.1]2}.0aS3,.2I+,.1d,:0^[22}.!0.0^_1[12}@!(y"
|
|
|
|
"18:strings-sum-length)",
|
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%2'0,.2,,#0.0,.4,&2{%2.0u?{:0]2}.0d,.1a,.0S3,${.2,'0,.5,.9,:0,@(y15"
|
|
|
|
":substring-copy!)[05}.0,.5I+,.3,:1^[52}.!0.0^_1[22}@!(y18:strings-copy"
|
|
|
|
"-into!)",
|
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%!0.0,'(c ),${.4,@(y18:strings-sum-length)[01}S2,@(y18:strings-copy"
|
2023-03-21 01:00:18 +01:00
|
|
|
"-into!)[12}@!(y14:%25string-append)",
|
2023-03-08 19:03:39 +01:00
|
|
|
|
|
|
|
"string-append",
|
|
|
|
"l7:y12:syntax-rules;n;l2:l1:y1:_;;s0:;;l2:l2:y1:_;y1:x;;l2:y4:%25cks;y"
|
2023-03-21 01:00:18 +01:00
|
|
|
"1:x;;;l2:l3:y1:_;y1:x;y1:y;;l3:y10:string-cat;y1:x;y1:y;;;l2:py1:_;y1:"
|
|
|
|
"r;;py14:%25string-append;y1:r;;;l2:y1:_;y14:%25string-append;;",
|
2023-02-28 06:31:08 +01:00
|
|
|
|
2023-03-21 18:43:26 +01:00
|
|
|
0,
|
|
|
|
"&0{%!2${.2,.5,,#0.0,&1{%2.1u?{.0]2}${.3d,.4a,:0^[02},.1c]2}.!0.0^_1[02"
|
|
|
|
"},.2,@(y13:apply-to-list)[32}@!(y6:%25apply)",
|
|
|
|
|
2023-03-01 00:05:08 +01:00
|
|
|
"apply",
|
2023-03-21 18:43:26 +01:00
|
|
|
"l6:y12:syntax-rules;n;l2:l3:y1:_;y1:p;y1:l;;l3:y13:apply-to-list;y1:p;"
|
|
|
|
"y1:l;;;l2:l6:y1:_;y1:p;y1:a;y1:b;y3:...;y1:l;;l3:y13:apply-to-list;y1:"
|
|
|
|
"p;l5:y5:list*;y1:a;y1:b;y3:...;y1:l;;;;l2:py1:_;y4:args;;py6:%25apply;"
|
|
|
|
"y4:args;;;l2:y1:_;y6:%25apply;;",
|
2023-02-28 06:31:08 +01:00
|
|
|
|
2023-03-01 00:05:08 +01:00
|
|
|
"call/cc",
|
2023-03-21 18:43:26 +01:00
|
|
|
"l5:y12:syntax-rules;n;l2:l2:y1:_;y1:p;;l3:y5:letcc;y1:k;l2:y1:p;y1:k;;"
|
|
|
|
";;l2:py1:_;y4:args;;py8:%25call/cc;y4:args;;;l2:y1:_;y8:%25call/cc;;",
|
2023-02-28 06:31:08 +01:00
|
|
|
|
2023-03-01 00:05:08 +01:00
|
|
|
"call-with-current-continuation",
|
2023-03-03 19:18:00 +01:00
|
|
|
"l4:y12:syntax-rules;n;l2:py1:_;y4:args;;py7:call/cc;y4:args;;;l2:y1:_;"
|
|
|
|
"y7:call/cc;;",
|
2023-02-28 06:31:08 +01:00
|
|
|
|
2023-03-21 18:43:26 +01:00
|
|
|
0,
|
|
|
|
"&0{%2n,.2,,#0.0,.4,&2{%2.0p?{.1,${.3a,:0[01}c,.1d,:1^[22}.1A9]2}.!0.0^"
|
|
|
|
"_1[22}@!(y5:%25map1)",
|
2023-03-06 21:53:37 +01:00
|
|
|
|
2023-03-21 18:43:26 +01:00
|
|
|
0,
|
|
|
|
"&0{%3n,.3,.3,,#0.0,.5,&2{%3.0p?{.1p}{f}?{.2,${.4a,.4a,:0[02}c,.2d,.2d,"
|
|
|
|
":1^[33}.2A9]3}.!0.0^_1[33}@!(y5:%25map2)",
|
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%!2.0u?{.2,.2,@(y5:%25map1)[32}.0du?{.0a,.3,.3,@(y5:%25map2)[33}n,."
|
|
|
|
"1,.4c,,#0.0,.5,&2{%2${.2,,#0.0,&1{%1.0u,.0?{.0]2}.1ap?{.1d,:0^[21}f]2}"
|
2023-03-21 18:57:28 +01:00
|
|
|
".!0.0^_1[01}?{.1,${${.5,@(y3:car),@(y5:%25map1)[02},:0,@(y13:apply-to-"
|
|
|
|
"list)[02}c,${.3,@(y3:cdr),@(y5:%25map1)[02},:1^[22}.1A9]2}.!0.0^_1[32}"
|
|
|
|
"@!(y4:%25map)",
|
2023-03-06 21:53:37 +01:00
|
|
|
|
|
|
|
"map",
|
2023-03-21 18:43:26 +01:00
|
|
|
"l6:y12:syntax-rules;n;l2:l3:y1:_;y1:p;y1:l;;l3:y5:%25map1;y1:p;y1:l;;;"
|
|
|
|
"l2:l4:y1:_;y1:p;y2:l1;y2:l2;;l4:y5:%25map2;y1:p;y2:l1;y2:l2;;;l2:py1:_"
|
|
|
|
";y4:args;;py4:%25map;y4:args;;;l2:y1:_;y4:%25map;;",
|
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%2.1,,#0.2,.1,&2{%1.0p?{${.2a,:1[01}.0d,:0^[11}]1}.!0.0^_1[21}@!(y1"
|
|
|
|
"0:%25for-each1)",
|
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%3.2,.2,,#0.3,.1,&2{%2.0p?{.1p}{f}?{${.3a,.3a,:1[02}.1d,.1d,:0^[22}"
|
|
|
|
"]2}.!0.0^_1[32}@!(y10:%25for-each2)",
|
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%!2.0u?{.2,.2,@(y10:%25for-each1)[32}.0du?{.0a,.3,.3,@(y10:%25for-e"
|
|
|
|
"ach2)[33}.0,.3c,,#0.3,.1,&2{%1${.2,,#0.0,&1{%1.0u,.0?{.0]2}.1ap?{.1d,:"
|
2023-03-21 18:57:28 +01:00
|
|
|
"0^[21}f]2}.!0.0^_1[01}?{${${.4,@(y3:car),@(y5:%25map1)[02},:1,@(y13:ap"
|
|
|
|
"ply-to-list)[02}${.2,@(y3:cdr),@(y5:%25map1)[02},:0^[11}]1}.!0.0^_1[31"
|
|
|
|
"}@!(y9:%25for-each)",
|
2023-03-06 21:53:37 +01:00
|
|
|
|
|
|
|
"for-each",
|
2023-03-21 18:43:26 +01:00
|
|
|
"l6:y12:syntax-rules;n;l2:l3:y1:_;y1:p;y1:l;;l3:y10:%25for-each1;y1:p;y"
|
|
|
|
"1:l;;;l2:l4:y1:_;y1:p;y2:l1;y2:l2;;l4:y10:%25for-each2;y1:p;y2:l1;y2:l"
|
|
|
|
"2;;;l2:py1:_;y4:args;;py9:%25for-each;y4:args;;;l2:y1:_;y9:%25for-each"
|
|
|
|
";;",
|
2023-03-06 21:53:37 +01:00
|
|
|
|
|
|
|
0,
|
2023-03-07 01:36:15 +01:00
|
|
|
"&0{%!2.0u?{.2S3,'(c ),.1S2,'0,,#0.0,.3,.8,.8,.7,&5{%1:0,.1I<!?{:3]1}${"
|
2023-03-21 18:43:26 +01:00
|
|
|
".2,:2S4,:1[01},.1,:3S5.0'1,.1I+,:4^[11}.!0.0^_1[51}${${.4,.7c,@(y13:%2"
|
|
|
|
"5string->list),@(y5:%25map1)[02},.4c,@(y4:%25map),@(y13:apply-to-list)"
|
|
|
|
"[02}X3]3}@!(y10:string-map)",
|
2023-03-06 21:53:37 +01:00
|
|
|
|
|
|
|
0,
|
2023-03-07 01:36:15 +01:00
|
|
|
"&0{%!2.0u?{.2V3,f,.1V2,'0,,#0.0,.3,.8,.8,.7,&5{%1:0,.1I<!?{:3]1}${.2,:"
|
2023-03-21 18:43:26 +01:00
|
|
|
"2V4,:1[01},.1,:3V5.0'1,.1I+,:4^[11}.!0.0^_1[51}${${.4,.7c,@(y13:%25vec"
|
|
|
|
"tor->list),@(y5:%25map1)[02},.4c,@(y4:%25map),@(y13:apply-to-list)[02}"
|
|
|
|
"X1]3}@!(y10:vector-map)",
|
2023-03-06 21:53:37 +01:00
|
|
|
|
|
|
|
0,
|
2023-03-07 01:36:15 +01:00
|
|
|
"&0{%!2.0u?{.2S3,'0,,#0.2,.6,.6,.3,&4{%1:3,.1I<!,.0?{.0]2}${.3,:2S4,:1["
|
2023-03-21 18:43:26 +01:00
|
|
|
"01}.1'1,.2I+,:0^[21}.!0.0^_1[41}${.2,.5c,@(y13:%25string->list),@(y5:%"
|
|
|
|
"25map1)[02},.2c,@(y9:%25for-each),@(y13:apply-to-list)[32}@!(y15:strin"
|
|
|
|
"g-for-each)",
|
2023-03-06 21:53:37 +01:00
|
|
|
|
|
|
|
0,
|
2023-03-07 01:36:15 +01:00
|
|
|
"&0{%!2.0u?{.2V3,'0,,#0.2,.6,.6,.3,&4{%1:3,.1I<!,.0?{.0]2}${.3,:2V4,:1["
|
2023-03-21 18:43:26 +01:00
|
|
|
"01}.1'1,.2I+,:0^[21}.!0.0^_1[41}${.2,.5c,@(y13:%25vector->list),@(y5:%"
|
|
|
|
"25map1)[02},.2c,@(y9:%25for-each),@(y13:apply-to-list)[32}@!(y15:vecto"
|
|
|
|
"r-for-each)",
|
2023-03-06 21:53:37 +01:00
|
|
|
|
2023-03-07 05:52:38 +01:00
|
|
|
0,
|
|
|
|
"&0{%1.0P00,.0?{.0]2}.1P01]2}@!(y5:port?)",
|
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%1.0P00?{.0P60}.0P01?{.0P61]1}]1}@!(y10:close-port)",
|
|
|
|
|
|
|
|
0,
|
2023-03-21 18:57:28 +01:00
|
|
|
"&0{%2.0,&1{%!0${:0,@(y10:close-port)[01}.0,@(y6:values),@(y13:apply-to"
|
|
|
|
"-list)[12},.1,.3,&2{%0:1,:0[01},@(y16:call-with-values)[22}@!(y14:call"
|
|
|
|
"-with-port)",
|
2023-03-07 05:52:38 +01:00
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%2.1,.1P40,@(y14:call-with-port)[22}@!(y20:call-with-input-file)",
|
|
|
|
|
|
|
|
0,
|
|
|
|
"&0{%2.1,.1P41,@(y14:call-with-port)[22}@!(y21:call-with-output-file)",
|
|
|
|
|
|
|
|
0,
|
2023-03-20 23:47:10 +01:00
|
|
|
"&0{%!0P51,.1u?{P10}{.1a},t,,#0.2,.4,.2,&3{%1:2R0,.0R8,.0?{.0}{'(c%0a),"
|
|
|
|
".2C=}_1?{.0R8?{.1}{f}?{.0]2}:1P9,:1P61.0]3}'(c%0d),.1C=?{f,:0^[21}:1,."
|
|
|
|
"1W0f,:0^[21}.!0.0^_1[31}@!(y9:read-line)",
|
2023-03-06 21:53:37 +01:00
|
|
|
|
2023-03-01 00:05:08 +01:00
|
|
|
"minmax-reducer",
|
2023-02-28 06:31:08 +01:00
|
|
|
"l3:y12:syntax-rules;n;l2:l2:y1:_;y1:f;;l3:y6:lambda;py1:x;y4:args;;l4:"
|
|
|
|
"y3:let;y4:loop;l2:l2:y1:x;y1:x;;l2:y4:args;y4:args;;;l4:y2:if;l2:y5:nu"
|
|
|
|
"ll?;y4:args;;y1:x;l3:y4:loop;l3:y1:f;y1:x;l2:y3:car;y4:args;;;l2:y3:cd"
|
|
|
|
"r;y4:args;;;;;;;",
|
|
|
|
|
2023-03-01 00:05:08 +01:00
|
|
|
0,
|
2023-03-21 18:57:28 +01:00
|
|
|
"&0{%!0.0,,#0.0,&1{%1.0u?{n]1}.0du?{.0a]1}${.2d,:0^[01},.1aL6]1}.!0.0^_"
|
|
|
|
"1[11}@!(y16:%25residual-append)",
|
2023-02-28 06:31:08 +01:00
|
|
|
|
2023-03-01 00:05:08 +01:00
|
|
|
0, 0
|
2023-02-28 06:31:08 +01:00
|
|
|
};
|