all stats

taswelll's stats

guessed the most

namecorrect guessesgames togetherratio
seshoumara340.750
Olivia580.625
Palaiologos350.600
olus20006110.545
kotnen360.500
JJRubes250.400
luatic5130.385
razetime270.286
moshikoi280.250
kimapr2100.200
LyricLy3150.200
Dolphy180.125
yui040.000
soup girl050.000
essaie050.000
IFcoltransG040.000

were guessed the most by

namecorrect guessesgames togetherratio
LyricLy8150.533
olus20005110.455
Dolphy380.375
kimapr3100.300
moshikoi270.286
yui140.250
Olivia280.250
luatic3130.231
essaie150.200
kotnen060.000
JJRubes050.000
seshoumara040.000
Palaiologos040.000
razetime060.000

entries

round #62

submitted at
2 likes

guesses
comments 0

post a comment


txt.k ASCII text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/bin/awk /aw -ec/{system("stty raw -echo;k "ARGV[1]" $(stty size) "ARGV[2]";stty sane")}
(h;w):.'2#x; t:(~#:){,""}/0:fd:<`$fn:$[2=#x;`argv 1;x 2] /height;width, t:text(lines)
fcur:cur:scr:0 0; sel:0N 0N; clip:,"" /(fake)cursor, scroll, first selected, clipboard
CS:0x1b5b; CL:CS/" "\" H 2J"; (LI;TX;SE;BO):CS,/:" "\"37;100m 97;40m 90;47m 44m" /colors
foot:foot0:"^F Find Next  ^XCV Clipboard  ^E Eval  ^S Save  ^Q Quit" /footer
place:{[pos;str;a] $[~(0;h-1)'n:*pos-scr; a[n]:?[a[n];0|(w-4)&(pos-scr)1;str];]; a}
disp:{r:4$(4>#:)(4$-3$)//:$'1+no:scr[0]+!# m:(w-4)$scr[1]_/:((h-1)&#a)#a:scr[0]_t
 $[^*sel;s:!0;[(sa;sz):s:x@<x:(sel;cur); m:place[sa;SE]place[sz;TX]m]] /display selection
 `1:CL; `0:LI,/:r,'(TX;SE)[~(*'s)'no-1],'m,\:"\r"; f:"editing ",fn," at ",":"/$'1+cur
 `1:BO,(f,(-w-#f)$foot),CS,(";"/$'1 5+cur-scr),"H"} /r:ruler, m:main
read:{(sa;sz):sord`;$[^*sel;,t[*cur]; ~*sz-sa; ,(sz-sa)[1]#sa[1]_t[*sa] /selected lines
                      (,sa[1]_t[*sa]),((*sz-1+sa)#(1+*sa)_t),,sz[1]#t[*sz]]}
type:{(sa;sz):sord`;a:$[2>#x;,(sa[1]#t[*sa])    ,(    *x)       ,sz[1]_t@*sz /write lines
                            (,(sa[1]#t[*sa]),*x),(-1_1_x),,(*|x),sz[1]_t@*sz]
 t:: ?[t;(*sa;1+*sz);a]; desel (sa[0]+-1+#x;(sa[1]*2>#x)+#*|x)}; end:{l,#t@l:-1+#t};
sord:{a@<a:(cur^'sel;cur)}; desel:{sel::0N 0N;x}; up:{x*~0>*x}; dn:{~x[0]<#t}end/; /^v oob
sft:{ac[y]:{[f;x] $[x;;sel::cur];f 0}ac x}; scroll:{scr[0]:((#t)--2!h)&0|x+*scr;cur+x,0}
ac:(,"")!,0N; other:{[x;s] type@,(~0x1f<*x)`k/x}; /ac[key][selected?]>new cur, otherwise
ac[CS,"A"]:{x desel/up fcur-1 0}; ac[CS,"B"]:{x desel/dn fcur+1 0} /Up Down
ac[CS,"C"]:{{x[1]>#t@*x}{dn(1+*x;0)}/cur+0 1},{desel sord[] 1}     /Right
ac[CS,"D"]:{{0>x 1}{up a,#t@a:-1+*x}/cur-0 1},{desel sord[] 0}     /Left
ac[,0x13]:{fd 1:"\n"/t;>fd;fd::<`$fn;cur}; ac[,0x11]:{>fd;`1:CS,"0m",CL;`exit 0} /^S ^Q
ac[,0x05]:{$[x;type;{t::?[t;1+*cur;x];cur}]@"\n"\(~`C=@:)`k/.[.:;,"\n"/read`;::]} /^E
sprd:{t::@[t;&&(1--)\*'sord`;x]};ac[,"\t"]:{sprd@,[tw#" ";];$[x;sel+:0,tw;];cur+0,tw} /Tab
ac[CS,"Z"]:{sprd{(tw&+/&\x=" ")_x};$[x;sel::0|sel-0,tw;];0|cur-0,tw}; tw:4 /Sft+Tab, width
ac[,0x06]:{lb:&"\n"=tf:"\n"/t;m:(#a:"\n"/aa:read`)(a~)':tf; c:2+sa[1]+lb@-1+*sa:*sord` /^F
 c:c-lb@l:lb'c:$[^n:*&c_m;*&m;c+n];foot::"found ",$+/m;sel::1 -1+l,c;(l+#aa;0|c+-1+#*|aa)}
bs:{$[~+/(l;c):cur;0 0; ~c;[a:(l-1;#t l-1);t[l-1],:t[l];t_:l;a];[t[l]_:c-1;l,c-1]]} /Back
ac[,0x08]:ac[,0x7f]:bs,del:{type@,""};ac[,0x07]:{dn(-1+.,/-1_(|/~"A0"'){1:`}\"0";0)} /^G
ac[CS,"3~"]:{(l;c):cur;:[cur~end`;; c=#t@l;[t[l],:t[l+1];t_:l+1]; t[l]_:c];cur},del /Del
ac[CS,"H"]:{(l;c):cur;l,x*~c=x:+/&\" "=t l};ac[CS,"F"]:{x desel/cur[0],#t cur 0} /Home End
ac[CS,"1;5H"]:{0 0}; ac[CS,"1;5F"]:end; ac[,0x1b]:{desel`;cur}           /^Home ^End Esc
ac[CS,"5~"]:{up x desel/scroll@-h};ac[CS,"6~"]:{dn x desel/scroll h}     /PgUp PgDn
ac[CS,"1;5A"]:{up x desel/scroll -1};ac[CS,"1;5B"]:{dn x desel/scroll 1} /^Up ^Down
wc:,/`c$"0A_a"+!'10 26 1 26; wd:{a 0 1+(a:&^wc?t@*cur)'x} / wc:word chars. v ^Left ^Right
ac[CS,"1;5C"]:{cur[0],(#t@*cur)^wd[cur 1]1}; ac[CS,"1;5D"]:{cur[0],1+-1^wd[-2+cur 1]0}
ac[,"\r"]:{type("";(&\" "=)#t@*cur)};ac[,0x18]:{clip::read`;$[x;del`;[t_:l:*cur;l,0]]} /^X
ac[,0x03]:{clip::read`;cur};ac[,0x16]:{type clip};ac[,0x01]:{sel::0 0;end`} /^C ^V ^A
sft/'CS,/:/:{("1;",/:/:"56",\:/:x),("56",/:\:" "\"~ ;2~"),+1("1;2",)'\x}"ABCDFH" /shift+..
{1}{disp`; foot::foot0; fcur::{(other x)^ac x}[1:`][~^*sel][]; cur::{[l;c] l,c&#t@l}.fcur
 scr::cur&scr|cur-(h;w)-2 5; (cur~sel)desel/` }/`
/
needs ngn/k awk stty. usage: ./txt.k filename(optional). xterm/compatible recommended.
simple. usable. extensible. pick all three. type to a line and press Ctrl+E:
  TX:CS,"30;47m";SE:CS,"97;40m" / light mode
  foot0:"\"just do it and have fun while doing it\" - HelloBoi" / add your favorite quote
  ac[,0x0a]:{."\\eject";cur} / adds a new command in ^J
\

round #59

submitted at
2 likes

guesses
comments 0

post a comment


a.pl ASCII text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#!/usr/bin/env swipl
p(eo,[],[],[]).
p(D,[D|X],X,[]).
p(D,[' '|X],Z,B):-p(D,X,Z,B).
p(D,['['|X],Z,[A|As]):-p('|',X,X1,C),p(']',X1,X2,B),p(D,X2,Z,As),lo(C,B,A).
p(D,[#|X],Z,[push(N)|As]):-pl(X,X1,N,0),p(D,X1,Z,As).
p(D,[+|X],Z,[add(N) |As]):-pl(X,X1,N,1),p(D,X1,Z,As).
p(D,[A|X],Z,[A|As]):-p(D,X,Z,As).
p(X,A):-p(eo,X,[],A).

pl(X,Z,N):-pl(X,Z,N,0).
pl([+|X],Z,N,N0):-N1 is N0+1,pl(X,Z,N,N1).
pl(X,X,N,N).

lo([push(0)],_,pop).
lo([push(N)],[],pop):-N\=0.
lo([push(N)],[add(M)],aff(M)):-N\=0.
lo([push(N)],B,for(B)):-N\=0.
lo(C,B,loop(C,B)).

i([],S,S).
i([A|As],S,S2):-i(A,S,S1),i(As,S1,S2).
i(add(N),[S|Ss]+M,[T|Ss]+M):-T is S+N.
i(add(N),[]+M,[N]+M).
i(push(N),S+M,[N|S]+M).
i(pop,[_|Ss]+M,Ss+M).
i(pop,[]+M,[]+M).
i(aff(_),[ ]+M,[]+M).
i(aff(N),[B]+M,[T]+M):-T is N*B.
i(aff(N),[B,A|Ss]+M,[T|Ss]+M):-T is A+N*B.
i(for(_),[0|Ss]+M,Ss+M).
i(for(_),[]+M,[]+M).
i(for(B),[I|S]+M,Sf):-I\=0,i(B,S+M,S1+M1),I2 is I-1,i(for(B),[I2|S1]+M1,Sf).
i(loop(C,_),[]+M,Sf):-i(C,[]+M,Sf).
i(loop(C,B),[I|Ss]+M,Sf):-i(C,Ss+M,S1_+M1),(S1_=[]->[]+M1=Sf;S1_=[L|S1],
  ((I=0;L=0)->S1+M1=Sf;i(B,S1+M1,S2+M2),I2 is I-1,i(loop(C,B),[I2|S2]+M2,Sf))).
i(@,[]+M,[B]+M):-g(M,0,B).
i(@,[A|Ss]+M,[B|Ss]+M):-g(M,A,B).
i(!,[]+M,[]+M2):-i(!,[0]+M,[]+M2).
i(!,[A]+M,[]+M2):-i(!,[A,0]+M,[]+M2).
i(!,[A,B|Ss]+M,Ss+M2):-s(M,A,B,M1),!,M1=M2.
i(?,[]+M,[]+M).
i(?,[A|Ss]+M/O,[B|Ss]+M/O1):-O1 is O*(A+1),between(0,A,B).

gg(a(A),_,A).
gg(a(L,_,B),N,V):-N/\B=:=0,gg(L,N,V).
gg(a(_,R,B),N,V):-N/\B=\=0,gg(R,N,V).
ss(a(_),_,V,a(V)).
ss(a(L,R,B),N,V,a(A,R,B)):-N/\B=:=0,ss(L,N,V,A).
ss(a(L,R,B),N,V,a(L,A,B)):-N/\B=\=0,ss(R,N,V,A).
s(a(L,R,B),N,V,A):-N< B<<1,ss(a(L,R,B),N,V,A).
s(a(L,R,B),N,V,A):-N>=B<<1,B1 is B<<1,e(B,R1),s(a(a(L,R,B),R1,B1),N,V,A).
s(A/O,N,V,B/O):-s(A,N,V,B).
g(a(L,R,B),N,V):-N< B<<1,gg(a(L,R,B),N,V).
g(a(_,_,B),N,0):-N>=B<<1.
g(A/_,N,V):-g(A,N,V).

e(0,a(0)).
e(N,a(L,R,N)):-N1 is N>>1,e(N1,L),e(N1,R).

t([],[]).
t([[S|_]+_/O|X],[t(S,N)|Y]):-N is 1 rdiv O,t(X,Y).
t([[]   +_/O|X],[t(0,N)|Y]):-N is 1 rdiv O,t(X,Y).

c([t(S,A)],[A-S]).
c([t(S,A),t(S,B)|As],Z):-C is A+B,c([t(S,C)|As],Z).
c([t(S,A),t(T,B)|As],[A-S|Z]):-S\=T,c([t(T,B)|As],Z).

o([]).
o([S-A|X]):-format('~t~2f~5+% ~t~d~5+~n',[S*100,A]),o(X).

:-initialization(main,main).
main([A|_]):-
  atom_chars(A,B),p(B,C),!,%writeln(C),
  e(1,M),bagof(D,i(C,[]+M/1,D),E),!,
  t(E,F),msort(F,G),c(G,H),msort(H,I),o(I).

round #56

submitted at
1 like

guesses
comments 0

post a comment


entry.fs ASCII text, with CRLF line terminators
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
\ Code by Jia Tan (<https://github.com/JiaT75>)

: pop ( src u -- src' u' c ) 1- swap dup c@ swap char+ -rot ;
: shift ( src u -- src' u' ) 1- swap char+ swap ;

: peek ( src u -- src u c ) over c@ ;
: ?peek ( src u -- src u c ) dup if peek else -1 then ;

: skip-'\' ( src u c -- src u c )
	dup '\' = if drop pop then
;

defer parenthesis
: terminal ( src u -- src u unrch? )
	pop 
	dup '(' = if drop parenthesis else
	dup '[' = if drop shift -1 else
		skip-'\' c, 0 then then
;
: kleene ( src u unrch? -- src u unrch? )
	third c@ '*' = if drop shift 0 then
;

: not-ending? ( src u -- src u continue? )
	dup if peek dup '|' <> swap ')' <> and else 0 then
;
: alternative ( src u -- src u unrch? )
	0 >r begin not-ending? while
		terminal kleene r> or >r
	repeat r>
;

: find-candidate ( src u -- start src u unrch? )
	here -rot  ( keep in stack, in case we need to restore )
	begin
		alternative while ( break if reachable )
		third ->here ( restore string )
		?peek '|' = if shift else -1 exit then
	repeat 0
;
: paren-depth ( c n -- n' )
	over '(' = if 1+ else over ')' = if 1- then then nip
;
: skip-until-')' ( src u -- src' u' )
	1 >r begin 
		dup 0= if exit then ( quit if empty )
		pop skip-'\' r> paren-depth dup >r while
	repeat rdrop
;

:noname ( src u -- src u unrch? )
	find-candidate >r rot drop skip-until-')' r>
; is parenthesis

: recover ( start -- str u ) here over - [ 1 chars ] literal / ;
: generate ( src u -- str u unrch? )
	find-candidate >r 2drop recover r>
;
: deallot ( src u -- ) chars negate allot drop ;
: main ( -- )
	generate if ." *unreachable*" else 2dup type cr then deallot
;

next-arg main bye

round #54

submitted at
1 like

guesses
comments 1
jan Sija

You can run this online at https://rabbits.srht.site/uxn5/


post a comment


entry.rom data
entry.tal ASCII text
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
( devices )
|00 @System [ &vector $2 &pad $6 &r $2 &g $2 &b $2 &debug $1 ]
|10 @Console [ &vector $2 &read $1 &pad $4 &type $1 &write $1 &error $1 ]
|20 @Screen [ &vector $2 &width $2 &height $2 &pad $2 &x $2 &y $2 &addr $2 &pixel $1 &sprite $1 ]
|90 @Mouse [ &vector $2 &x $2 &y $2 &state $1 &pad $7 &scrolly $1 ]

|00 @pressed $1 @shape $2
%BLIT { .Screen/y DEO2 .Screen/x DEO2 #42 .Screen/pixel DEO }

%ABS2 { DUP2k #1f SFT2 MUL2 SUB2 }
%NOT { #01 EOR }
%NEG { #ff MUL }
%NEG2 { #ffff MUL2 }

%DBG { #01 .System/debug DEO }
%ISNEG2 { #0f SFT2 NIP }
%ISPOS2 { POP #80 LTH }
%DBL2 { #10 SFT2 }
%SGN2 { #1f SFT2 #0001 SWP2 SUB2 }

|0100
	#0f7f .System/r DEO2
	#0fd6 .System/g DEO2
	#0fb2 .System/b DEO2
	( .Screen/width DEO2 )
	#00 .pressed STZ
	;shapes .shape STZ2
	
	;on-mouse .Mouse/vector DEO2

@on-mouse ( -> )
	#0000 DUP2 .Screen/y DEO2 .Screen/x DEO2 #c0 .Screen/pixel DEO
	.Mouse/state DEI #01 AND DUP NOT ?&nopress 
		.pressed LDZ ?&nopress
		.shape LDZ2 INC2 INC2 INC2 LDA2k
		#0000 NEQ2 ?&noreset POP2 ;shapes &noreset
		.shape STZ2
	&nopress .pressed STZ
	.Mouse/x DEI2 #20 SFT2 display
	BRK

@smul21 ( x* y* -- x.y* )
	STH2 DUP2 SGN2 DUP2 ROT2 MUL2 ( xs* |x|* | y* )
	STH2r DUP2 SGN2 DUP2 ROT2 MUL2 ( xs* |x|* ys* |y|* )
	ROT2 SWP2 mul21 [ STH2 MUL2 STH2r ] MUL2 ( ys.xs.|x|.|y|* ) 
JMP2r

@mul21 ( x* y* -- x.y* )
	( OVR #80 LTH  ?&pos NEG2 mul21 JMP2r &pos )
	ROT #00 SWP ( OVR ,&meow STR ) OVR2 MUL2 ( xh y* xl.y* )
	POP STH ( xh y* | xl.y>>8 )
	ROT #00 SWP  [ MUL2 #00 STHr ] ADD2
JMP2r
%LTS2 { #8000 STH2k ADD2 SWP2 STH2r ADD2 GTH2 }
%GTS2 { #8000 STH2k ADD2 SWP2 STH2r ADD2 LTH2 }
%PI/2 { #0192 } %PI { #0324 } %2.PI { #0648 } %nPI/2 { #fe6d }
( 0x1234 0x5678 )
@cos ( x* -- cos* )
	DUP2 nPI/2 GTS2 ?&noadd 2.PI ADD2 !cos &noadd
	DUP2 PI/2 LTS2 ?&noneg PI SUB2 /noadd NEG2 JMP2r &noneg
	ABS2 DUP2 mul21 #01 SFT2 ( x^2/2* )
	DUP2k mul21 #0028 ( ~1/6 ) mul21 ( x^2/2* x^4/24* )
	SUB2 #0100 SWP2 SUB2
JMP2r
@sin ( x* -- cos* ) PI/2 SUB2 cos JMP2r

@rotate ( x* y* phi* -- x'* y'* )
	DUP2 sin STH2 cos STH2 SWP2k  ( x y y x | sin cos )
	STH2kr SWP2r smul21 SWP2 STH2kr smul21 ADD2 ( x y y.cos+x.sin | cos sin )
	STH2r STH2r ROT2 STH2 ROT2 ( x cos sin y | y.cos+x.sin )
	smul21 STH2 smul21 STH2r SWP2 SUB2 ( x.cos-y.sin | y.cos+x.sin )
	STH2r
JMP2r

%V3 { #01bb }
@project ( x* y* z* -- x'* y'* )
	STH2 
	OVR2 V3 smul21 OVR2 V3 smul21 SUB2 ( x* y* V3.x-V3.y | z* )
	ROT2 ROT2 ADD2 STH2r DBL2 SUB2 ( V3.x-V3.y x+y-2.z )
JMP2r
@display ( phi* -- )
	STH2 .shape LDZ2 LDA2k STH2
	INC2 INC2 LDA #00 &until LTHk ?&end
		STH2r point STH2kr SWP2 STH2 ( x1* y1* phi* | phi* addr* )
		transform ( x1* y1* addr* | phi* )
		STH2r point STH2kr SWP2 STH2 ( x1* x2* y1* y2* phi* | phi* addr* )
		transform ( x1* x2* y1* y2* | phi* addr* )
		Bresenham/draw
	INC !&until &end
	POP2 POP2r POP2r
	JMP2r
@point ( addr* -- x* y* z* addr* )
	%read { LDAk #00 #50 SFT2 SWP #0020 SUB2 SWP2 INC2 }  read read read JMP2r
@transform ( x* y* z* phi* -- x* y* )
	SWP2 STH2 ( x* y* phi* | z* ) rotate STH2r project
	.Screen/height DEI2 #01 SFT2 ADD2
	[ STH2 .Screen/width DEI2 #01 SFT2 ADD2 STH2r ]
JMP2r

@shapes =&shape1 11 =&shape2 0b 00 00 ( add more! )
	&shape1
		[
		00 00 00  02 00 00
		02 00 00  02 02 00
		02 02 00  00 02 00
		00 02 00  00 00 00 ]
		[
		00 00 00  00 00 02
		00 00 02  01 00 02
		01 00 02  01 00 01
		01 00 01  02 00 01
		02 00 01  02 00 00 ]
		[
		00 02 00  00 02 02
		00 02 02  01 02 02
		01 02 02  01 02 01
		01 02 01  02 02 01
		02 02 01  02 02 00 ]
		[
		02 00 01  02 02 01
		01 00 01  01 02 01
		01 00 02  01 02 02
		00 00 02  00 02 02 ]
	&shape2
		[
		01 01 00  00 01 01
		01 01 00  02 01 01
		01 01 00  01 00 01
		01 01 00  01 02 01
		01 01 02  00 01 01
		01 01 02  02 01 01
		01 01 02  01 00 01
		01 01 02  01 02 01 ]
		[
		01 00 01  00 01 01
		01 02 01  00 01 01
		01 00 01  02 01 01
		01 02 01  02 01 01 ]

@Bresenham
&draw ( x0* y0* x1* y1* -> )
	STH2 SWP2 STH2 SWP2r ( x0* x1* | y0* y1* )
	SWP2 OVR2 SWP2r OVR2r ( x1* x0* x1* | y1* y0* y1* )
	OVR2 SUB2 OVR2r SUB2r ( x1* x0* dx* | y1* y0* dy* )
	( flip points if appropriate )
	STH2kr OVR2 ADD2 ISPOS2 ?&noflip
		NEG2 ROT2 SWP2 ( x1* x0* dx* -> x0* x1* -dx* )
		STH2r NEG2 STH2 ROT2r SWP2r ( y1* y0* dy* -> y0* y1* -dy* )
	&noflip
	LIT POPk ,&blitswap STR
	STH2kr ABS2 OVR2 SUB2 ISNEG2 ?&noswap
		( x1* x0* dx* | y1* y0* dy* )
		;&dy STA2 STH2r ,&dx STR2 NIP2 ( x0* | y1* y0* )
		STH2r STH2r ROT2 STH2 SWP2 ( y1* y0* | x0* )
		LIT SWP2 ,&blitswap STR 
	!&stopswap &noswap
		( x1* x0* dx* | y1* y0* dy* )
		,&dx STR2 STH2r ,&dy STR2 NIP2r ( x1* x0* | y0* )
	&stopswap
	( x1* x0* | y0* ) 
	,&dy LDR2 DUP2
	#1f SFT2 ( dy>>16<<1 = 2(dy<0) )
	#0001 SWP2 SUB2 ( dy<0: 1-2 = -1; dy>=0: 1-0 = 1 )
	DUP2 ,&dysgn STR2 ( sign of dy.  1 going up, -1 going down )
	MUL2 DUP2 ,&dy STR2 ( dy:=abs(dy) )
	DBL2 ,&dx LDR2 SUB2 ,&diff STR2 ( diff := 2dy - dx.  x0* | y0* )
	( loop is about to start!  x1* x* | y* ) 
	&while LTH2k ( x < x1 ) ?&ent
		STH2r OVR2 OVR2 &blitswap POPk BLIT ( x* y* )
		,&diff LDR2 #0001 SUB2 ISNEG2 ?&nosft ( x-1<0 <-> x<=0 most of the time )
			LIT2 &dysgn $2 ADD2 
			,&dy LDR2 ,&dx LDR2 SUB2 DBL2 ( x* y* 2(dy-dx) ) !&after
		&nosft
			,&dy LDR2 DBL2
		&after
		;&diff LDA2k ROT2 ADD2 SWP2 STA2 ( diff := diff+2dy )
		STH2 INC2 !&while
	&ent
	POP2r POP2 POP2 
JMP2r
&dx $2 &dy $2 &diff $2

round #53

submitted at
1 like

guesses
comments 0

post a comment


entry.ijs Unicode text, UTF-8 text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
map=:(ucp;._2~LF&=)freads'in.txt'

show=: [:echo*{"0 1 map,"0{.@":"0  NB. show matrices on top of map

NB. point down, right, up, left
'pd pr pu pl'=:p=:map e."_ 1]4 6$ucp'┐│┌┬┤├┌─└├┴┬└│┘┴├┤┘─┐┤┴┬'

assert ((0,pd)-:pu,0), (0,.pr)-:pl,.0  NB. check that lines are well connected

'c1 c2 c3 c4'=:(*"2~1=+/)turns=:(4$pr,:pl)*.2#pd,:pu NB. find possible corners
ci1=:(*+/\&.,)c1                                     NB. give id to every topleft corner

NB. find corresponding corners, gradually removing non-boxes
ci2=:(>./\ "1 ci1)*c2*(-[:>./\ @}:"1 0:,. (pl>pr)*])+/\ "1   c1   NB. top right
ci4=:(>./\    ci2)*c4*(-[:>./\ @}:   0 ,  (pu>pd)*])+/\    *ci2   NB. bot right
ci3=:(>./\."1 ci4)*c3*(-[:>./\.@}."1 0:,.~(pl<pr)*])+/\."1 *ci4   NB. bot left
ci1=:(>./\.   ci3)*c1*(-[:>./\.@}.   0 ,~ (pu<pd)*])+/\.   *ci3   NB. top left

NB. reassign IDs, now that we are sure that these are boxes (this is probably useless)
'i1 i2 i3 i4'=:(0,~.#~,ci1)(#@[|i.)ci1,ci2,ci3,:ci4

NB. check that corners match (this should always work, i think)
assert ((i1,.i2)-:&(+/)i3,.i4), (i1,i3)-:&:(+/"1)i2,i4

echo 'boxes:'
cov=: -&(+/\)|.!.0                     NB. 0 0 2 0 0 0 cov 0 0 0 0 2 0 <--> 0 0 2 2 2 0
show area=:(i1 cov i3)cov"1(i2 cov i4) NB. boxes including borders. print because pretty
inside   =:(i4 cov i2)cov"1(i3 cov i1) NB. i am very happy that this works
border   =:area-inside

assert 1>:(i1 cov&:*i3)cov"1(i2 cov&:*i4) NB. check for no box overlaps
assert -.inside*.+./turns                 NB. check that the boxes are empty
assert border>:1<+/turns                  NB. check all splits are in box borders

NB. remove boxes for pathfinding. "edges" is ed,er,eu,:el where er is "can walk from right"
sidelr=:area+(i2 cov i4)cov"1(i1 cov i3)
sideud=:area+(i3 cov i1)cov"1(i4 cov i2)
edges=:p>4$sidelr,:sideud

NB. l: starting positions of all lines with IDs. lid: map from line ID -> box no
'lid l'=:((#~*)@:,;(*+/\&.,)@:*)border*1<+/turns

echo 'lines (shown for your viewing pleasure):'
connects=:3 :0 i.0 0
while. +./,*l do. show l
    rot=.l,edges*l|.~"2 1+.0j1^i.4                  NB. rot has 5 items: original,rotated d,r,u,l
    y=.y,con=./:~@~.@-.&0"1(#~2<#@~."1),/1 2 0|:rot NB. new connections between different lines
    l=:(*[-.@e.,@con)>./rot                         NB. combine rot, removing connections
end.
/:~"1{&lid<:~.y
)
NB. check no double connections or self-connections between boxes
assert ((-:~.),[:*./~:/"1) connects
echo 'Yes'

round #52

submitted at
1 like

guesses
comments 7
LyricLy

please state what programming language this is


seventeen beekeepers

i think it's chinese


Olivia

encoding issue, sorry, it's supposed to look like ≤B·ø


owo*known at the time as theqwertiest

sorry; should have jelly extension


LyricLy

all good. to readers: the file is encoded in Jelly's SBCS


Olivia

aw darn my bluff failed


LyricLy replying to Olivia

Mac OS Roman? really?


post a comment


entr ISO-8859 text, with no line terminators

round #51

submitted at
1 like

guesses
comments 6
taswelll *known at the time as [author of #3]

it looks like theres an issue of accuracy could you update it with the following adjustment

diff -u a/run b/run
--- a/run
+++ b/run
@@ -4911 +4911 @@
 while read i; do
   let sum+=i 
 done <len
-let mean=sum/n
+mean=$(dc -e "3k$sum $n/p")
 
 var=0
 while read i; do
-  let var+=$((i-mean))*$((i-mean))
+  var=$(dc -e "3k$i $mean-d*$var+p")
 done <lens
 
 stddev=$(dc -e "3k$var $mean/vp")

LyricLy replying to taswelll

like that? sorry I applied the diff manually because patch wouldn't take it


taswelll *known at the time as [author of #3]

i appreciate it thats functioning correctly it seems like gpt omitted a few commas


LyricLy *known at the time as Whetstone

hello [author of #3] hows everything going with you has life been treating you well


taswelll *known at the time as [author of #3]

indeed i appreciate it


taswelll *known at the time as [author of #3]

what i was attempting to put across is this: indeed life has been good to me i appreciate your concern


post a comment


length.apls Unicode text, UTF-8 text, with no line terminators
1

length.awk ASCII text
1
2
3
BEGIN {
    print length(ARGV[1]);
}
length.b ASCII text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
>>,+[>+<[-],+]>-
>+
[[-]<
  [->+<
    [->+<[->+<[->+<[->+<[->+<[->+<[->+<[->+<
      [->[-]>>+>+<<<]
    ]]]]]]]]<
  ]>>[>]++++++[-<++++++++>]>>
]<<<[.[-]<<<]
++++++++++.
length.bqn Unicode text, UTF-8 text, with no line terminators
1
•Show≠⊑•args
length.c ASCII text
1
2
3
4
5
6
7
8
9
#include <stdio.h>
#include <string.h>
int main(int argc, char* argv[]) {
    if (argc < 2) {
        puts("sorry");
        return 9+10;
    }
    printf("%zd\n", strlen(argv[1]));
}
length.clisp ASCII text, with no line terminators
1
(format t "~d~%" (length (cadr *posix-argv*)))
length.cpp ASCII text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#include <cstdlib>
#include <iostream>
#include <string>

int main(int argc, char* argv[]) {
    if (argc < 2) {
        puts("sorry");
        return 9+10;
    }
    std::string word = argv[1];
    std::cout << word.size() << std::endl;
}
length.d ASCII text
1
2
3
4
5
6
import std.stdio;
int main(string[] args)
{
    writefln ("%d", args[1].length);
    return 0;
}
length.ex ASCII text, with no line terminators
1
System.argv() |> hd |> String.length() |> IO.puts()
length.forth ASCII text, with no line terminators
1
NEXT-ARG NIP . CR BYE
length.go ASCII text
1
2
3
4
5
6
7
8
package main

import "fmt"
import "os"

func main() {
	fmt.Println(len(os.Args[1]))
}
length.hs ASCII text
1
2
3
4
5
6
import System.Environment (getArgs)

main :: IO ()
main = do
  a <- getArgs
  print $ length $ head a
length.java ASCII text
1
2
3
4
5
class Length {
    public static void main(String[] args) {
        System.out.println(args[0].length());
    }
}
length.js ASCII text, with no line terminators
1
console.log(process.argv[2].length);
length.k ASCII text
1
#*x
length.lua ASCII text, with no line terminators
1
print(#arg[1])
length.perl ASCII text, with no line terminators
1
print length $ARGV[0], "\n";
length.php ASCII text
1
2
3
<?php
echo $_SERVER['HTTP_CONTENT_LENGTH']."\n"
?>
length.py ASCII text
1
2
3
import sys

print(len(sys.argv[1]))
length.rb ASCII text, with no line terminators
1
p(ARGF.argv[0].length)
length.rs ASCII text
1
2
3
fn main() {
    println!("{}", std::env::args().nth(1).expect("sorry").len());
}
length.scala ASCII text
1
2
3
object Main extends App {
  println(args(0).size)
}
length.sh ASCII text
1
echo ${#1}
length.zig ASCII text
1
2
3
4
5
6
7
8
9
const std = @import("std");

pub fn main() !void {
    var general_purpose_allocator = std.heap.GeneralPurposeAllocator(.{}){};
    const gpa = general_purpose_allocator.allocator();
    const args = try std.process.argsAlloc(gpa);
    const stdout = std.io.getStdOut().writer();
    try stdout.print("{d}\n", .{args[1].len});
}
run Unicode text, UTF-8 text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#!/usr/bin/env bash
# probabilistic length algorithm

lengths() {
  set -x
  echo "$(head -c 9 length.apls)'$(echo "$1" | sed -E "s/'/''/")'" |
    jq -R '[0,0,0,.]' |
    curl -vL https://tryapl.org/Exec --json @- |
    jq -r .[-1][0]
  awk -E length.awk "$1"
  bfc length.b && { echo "$1" | ./length; }
  cbqn length.bqn "$1"
  gcc length.c -o length && ./length "$1"
  sbcl --script length.clisp "$1"
  g++ length.cpp -o length && ./length "$1"
  elixir length.ex "$1"
  gforth length.forth "$1"
  go run length.go "$1"
  ghc length.hs -o length >/dev/stderr && ./length "$1"
  java length.java "$1"
  node length.js "$1"
  k length.k "$1"
  lua length.lua "$1"
  perl length.perl "$1"
  coproc php -S localhost:8000
  sleep 1
  curl -v http://localhost:8000/length.php -d "$1"
  kill $COPROC_PID
  python3 length.py "$1"
  ruby length.rb "$1"
  rustc length.rs -o length && ./length "$1"
  scala length.scala "$1"
  sh length.sh "$1"
  zig run length.zig -- "$1"

  rm length.hi length.o length
}

lengths "$1" | tee len
n=$(wc -l <len)
sort -n len >lens
entry() { sed $1\!d lens; }
if [[ $(( n % 2 )) = 1 ]]; then
  median=$(entry $((n/2)))
else
  median=$(dc -e "1k $(entry $((n/2))) $(entry $((n/2+1)))+2/p")
fi
sum=0
while read i; do
  let sum+=i 
done <len
mean=$(dc -e "3k$sum $n/p")

var=0
while read i; do
  var=$(dc -e "3k$i $mean-d*$var+p")
done <lens

stddev=$(dc -e "3k$var $mean/vp")

let mode=-1 bestrun=0 l=-1 run=0
while read i; do
  if [[ "$i" = "$l" ]]; then
    let run++
    if [[ "$run" -gt "$bestrun" ]]; then
      let mode=l bestrun=r
    fi
  else
    let r=0 l=i
  fi
done <lens
rm lens

echo ---
printf "data: "
tr '
' ' ' <len
echo

echo $n $mean $stddev $median $mode | column -R0 -tN "entries,μ,σ,median,mode"
shell.nix ASCII text
1
2
3
4
let pkgs = import <nixpkgs> {}; in pkgs.mkShell {
  packages = with pkgs; [ curl bc jq unixtools.column clang bfc cbqn gcc sbcl ldc elixir gforth go ghc jdk nodejs ngn-k lua perl php python3 ruby rustc scala zig ];
  LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";
}

round #50

submitted at
0 likes

guesses
comments 0

post a comment


markov.k ASCII text
1
2
or:5;d:z!z:,"";{d[l]:d[l:-1_x],*|x;}',/or((-!or-1)_\:)':1:"input.txt";
`prng 0;`0:999{x,a@*1?#a:(.d)@*(^:)_(!d)?(!1+#a)_\:a:((#x)-or-1)_x}/*x

round #49

submitted at
0 likes

guesses
comments 0

post a comment


entry.clisp ASCII text
1
(define (entry n) (eval n))

round #45

submitted at
1 like

guesses
comments 0

post a comment


cg47.apls Unicode text, UTF-8 text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
h w6 7
gpgmh w0
positions{h w  a b¯1+⍴  ,[2](1-⍳w-b)0 99(1-⍳h-a)0 99h w}
gra⊃⍪/h wpositions¨(,1 41),(,⍨∘.=4)
movecol{gp gm⋄(gpgm)((-⍴↑,1)@gm)}
disp{'.⌺⎕'[1++]}
inv(≠,⊂⊢)/
threats{gp gm  h w0  gra⌿⍨~gra/⍤,2gpgm}
rule{s ⍵⍵2 9999 2b⍺⍺/⋄(/s)∘⌿¨s b}

claimeven{
    m2⌿⍤2(h÷2)w positions 1 11      ⍝ each possible position
    m⌿⍨~m/⍤,2                    ⍝ keep valid ones
}rule(/⍤,(w h2|⍳h)∧∧)               ⍝ threats solved, (⊃⍴b)(⊃⍴⍺)≡⍴x
baseinverse{(,∘.<w),[2]+99 22 99 1 3 2(∘.=w)∘.×1(2</,1)}rule(2=+/⍤,)
vertical{
    m(¯1h2)2(¯1+h÷2)w positions 1 11
    m⌿⍨~m/⍤,2
}rule(2=+/⍤,)
aftereven{
    m((-h)2|⍳h-2)⍀⍤2(¯1+h÷2)w positions 1 41
    (⍀⍤<⊢)2m⌿⍨(∧⍱(/,)¯1<⊢)2m
}rule(⊢≡())
table 1
table,1 1
table,1 1 1
table,1 1 1  3
table,2 1 1 12  4
table,2 1 1 12  4  4
table,1 1 1  1 12 12 1
table,1 1 1  3 23 12 1 3
table,1 1 1  3 23 12 1 3 3
table (⊢⌈⍉)table
pairable{a b
     =1:/,ab
     =3:/a(/⍤⍲∨≡1)b
     =13:(pairable1pairable3)a b 
}
eval{h w0
    rules{( claimeven )( baseinverse )( vertical )( aftereven )}
    slvs sqrs typs(,(¨/))(threats rules)
    slvs sqrs typs(~/⍤,2sqrs)∘⌿¨slvs sqrs typs
    0=≢slvs:0
    conf~(∘.(table,)typs)pairable¨(⊂,)2 9999 2sqrs
    conf thing slvs
}
thing{¨   ⍝ ⍺:CONFlict(rules×rules) ⍵:SoLVeS(rules×threats)
    0=⊢/⍵:1          ⍝ no threats
    ~∨/m[;⊃⍋+]:0  ⍝ m: mask of rules that solve hardest threat
    r t~(m∘⌿)¨   ⍝ remove rules/threats solved by m 
    (r/)(r∘⌿)t/
}
oddthreat{
    tthreats inv (gp gm)
    ut⌿⍨3=t+/⍤,2gpgm
    ⍝ unsure why i need this, copied from somewhere else
    btm(-⍴↑⍪0)⊖∨⊖∨(2<0)2 threats 
    ⊖∨⊖∨btm<2(2<1gm)<2(w h2|⍳h)<2u>2gpgm
}
eval2{/,2⍵: {/,otoddthreat⍵:ot eval0} -eval}
ab{a b
    0veval2 ⍵:v
    moves(movecol¨w)~⊂inv 
    /,2⍵:¯1 a{v a
        0=≢⍵:v
        b<uva b ab⍵:u
        u(ua) 1
    }moves
    1 b{v b
        0=≢⍵:v
        b<uva b ab⍵:u
        u(ub) 1
    }moves
}

{⊢?70}0

round #43

submitted at
2 likes

guesses
comments 0

post a comment


cg43.sh ASCII text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#!/bin/sh
# USAGE: ./cg43.sh 6 5 1N (d R r)
sed -i 's/return math.floor(x)/return Fraction(math.floor(x))/' x7/core.py
echo P1 > img
echo 640 480 >> img
cp cg43.x7 cg43.x7.tmp
echo "$* ;2" >> cg43.x7.tmp
python -m x7 cg43.x7.tmp >> img
pnmtopng img > img.png
rm img cg43.x7.tmp
cg43.x7 ASCII text
1
2
d.;p2D0.{Z+d;p+;p2*DJ2*;p*f- 6iM2*1+` d{_M1fT^*} Mi1fE1+*`` ZfD` 0fEf-`fp}M^*24*J24D`fp
355 113D:p d_&&`;p2**ed0>`N`24*Ji{M24D_d0+`f_f`d_+`lpf;1fp`D*;1` Z+}v_ppp480i640i0$$`E 320 240.Z24*+J`eE3iM^+1-`fp`f_s`s1$`p``EE

round #42

submitted at
1 like

guesses
comments 0

post a comment


2048.apls Unicode text, UTF-8 text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#!/usr/local/bin/dyalogscript
⎕IO0  g4 4↑~01
c>/∘¨(,\0≠×2=/0,⊢)
r{+2 4[0=?10]×4 40=⍋⍒(1+?16)×0=,}
s{ g×(1⌽+~)cg  }
l/∘,{~[1;1]×3 30 1}3 3
'LW'[2048≤⌈/,{
   'enter key (wasd): '
 r(A)As'asdw'⎕C
}l r 4 40]

round #41

submitted at
0 likes

guesses
comments 0

post a comment


dir cg41
Cargo.lock ASCII text
   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3

[[package]]
name = "addr2line"
version = "0.19.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a76fd60b23679b7d19bd066031410fb7e458ccc5e958eb5c325888ce4baedc97"
dependencies = [
 "gimli",
]

[[package]]
name = "ahash"
version = "0.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f"
dependencies = [
 "cfg-if",
 "once_cell",
 "version_check",
]

[[package]]
name = "aho-corasick"
version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6748e8def348ed4d14996fa801f4122cd763fff530258cdc03f64b25f89d3a5a"
dependencies = [
 "memchr",
]

[[package]]
name = "anyhow"
version = "1.0.75"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6"

[[package]]
name = "arbitrary"
version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e2d098ff73c1ca148721f37baad5ea6a465a13f9573aba8641fbbbae8164a54e"

[[package]]
name = "async-trait"
version = "0.1.73"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bc00ceb34980c03614e35a3a4e218276a0a824e911d07651cd0d858a51e8c0f0"
dependencies = [
 "proc-macro2",
 "quote",
 "syn 2.0.29",
]

[[package]]
name = "autocfg"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"

[[package]]
name = "base64"
version = "0.21.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "604178f6c5c21f02dc555784810edfb88d34ac2c73b2eae109655649ee73ce3d"

[[package]]
name = "bincode"
version = "1.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad"
dependencies = [
 "serde",
]

[[package]]
name = "bitflags"
version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"

[[package]]
name = "bitflags"
version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635"

[[package]]
name = "block-buffer"
version = "0.10.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
dependencies = [
 "generic-array",
]

[[package]]
name = "bumpalo"
version = "3.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1"

[[package]]
name = "byteorder"
version = "1.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610"

[[package]]
name = "cc"
version = "1.0.82"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "305fe645edc1442a0fa8b6726ba61d422798d37a52e12eaecf4b022ebbb88f01"
dependencies = [
 "jobserver",
 "libc",
]

[[package]]
name = "cfg-if"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"

[[package]]
name = "cpp_demangle"
version = "0.3.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eeaa953eaad386a53111e47172c2fedba671e5684c8dd601a5f474f4f118710f"
dependencies = [
 "cfg-if",
]

[[package]]
name = "cpufeatures"
version = "0.2.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a17b76ff3a4162b0b27f354a0c87015ddad39d35f9c0c36607a3bdd175dde1f1"
dependencies = [
 "libc",
]

[[package]]
name = "cranelift-bforest"
version = "0.98.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1380172556902242d32f78ed08c98aac4f5952aef22d3684aed5c66a5db0a6fc"
dependencies = [
 "cranelift-entity",
]

[[package]]
name = "cranelift-codegen"
version = "0.98.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "037cca234e1ad0766fdfe43b527ec14e100414b4ccf4bb614977aa9754958f57"
dependencies = [
 "bumpalo",
 "cranelift-bforest",
 "cranelift-codegen-meta",
 "cranelift-codegen-shared",
 "cranelift-control",
 "cranelift-entity",
 "cranelift-isle",
 "gimli",
 "hashbrown 0.13.2",
 "log",
 "regalloc2",
 "smallvec",
 "target-lexicon",
]

[[package]]
name = "cranelift-codegen-meta"
version = "0.98.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d375e6afa8b9a304999ea8cf58424414b8e55e004571265a4f0826eba8b74f18"
dependencies = [
 "cranelift-codegen-shared",
]

[[package]]
name = "cranelift-codegen-shared"
version = "0.98.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ca590e72ccb8da963def6e36460cce4412032b1f03c31d1a601838d305abdc39"

[[package]]
name = "cranelift-control"
version = "0.98.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9d2d38eea4373639f4b6236a40f69820fed16c5511093cd3783bf8491a93d9cf"
dependencies = [
 "arbitrary",
]

[[package]]
name = "cranelift-entity"
version = "0.98.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5e3173c1434af23c00e4964722cf93ca8f0e6287289bf5d52110597c3ba2ea09"
dependencies = [
 "serde",
]

[[package]]
name = "cranelift-frontend"
version = "0.98.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aec4a3a33825062eccf6eec73e852c8773220f6e4798925e19696562948beb1f"
dependencies = [
 "cranelift-codegen",
 "log",
 "smallvec",
 "target-lexicon",
]

[[package]]
name = "cranelift-isle"
version = "0.98.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5146b5cea4b21095a021d964b0174cf6ff5530f83e8d0a822683c7559e360b66"

[[package]]
name = "cranelift-native"
version = "0.98.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "21cec3717ce554d3936b2101aa8eae1a2a410bd6da0f4df698a4b008fe9cf1e9"
dependencies = [
 "cranelift-codegen",
 "libc",
 "target-lexicon",
]

[[package]]
name = "cranelift-wasm"
version = "0.98.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d7fd2f9f1bf29ce6639ae2f477a2fe20bad0bd09289df13efeb890e8e4b9f807"
dependencies = [
 "cranelift-codegen",
 "cranelift-entity",
 "cranelift-frontend",
 "itertools",
 "log",
 "smallvec",
 "wasmparser",
 "wasmtime-types",
]

[[package]]
name = "crc32fast"
version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d"
dependencies = [
 "cfg-if",
]

[[package]]
name = "crossbeam-channel"
version = "0.5.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200"
dependencies = [
 "cfg-if",
 "crossbeam-utils",
]

[[package]]
name = "crossbeam-deque"
version = "0.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef"
dependencies = [
 "cfg-if",
 "crossbeam-epoch",
 "crossbeam-utils",
]

[[package]]
name = "crossbeam-epoch"
version = "0.9.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ae211234986c545741a7dc064309f67ee1e5ad243d0e48335adc0484d960bcc7"
dependencies = [
 "autocfg",
 "cfg-if",
 "crossbeam-utils",
 "memoffset 0.9.0",
 "scopeguard",
]

[[package]]
name = "crossbeam-utils"
version = "0.8.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294"
dependencies = [
 "cfg-if",
]

[[package]]
name = "crypto-common"
version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3"
dependencies = [
 "generic-array",
 "typenum",
]

[[package]]
name = "debugid"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bef552e6f588e446098f6ba40d89ac146c8c7b64aade83c051ee00bb5d2bc18d"
dependencies = [
 "uuid",
]

[[package]]
name = "digest"
version = "0.10.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
dependencies = [
 "block-buffer",
 "crypto-common",
]

[[package]]
name = "directories-next"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "339ee130d97a610ea5a5872d2bbb130fdf68884ff09d3028b81bec8a1ac23bbc"
dependencies = [
 "cfg-if",
 "dirs-sys-next",
]

[[package]]
name = "dirs-sys-next"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d"
dependencies = [
 "libc",
 "redox_users",
 "winapi",
]

[[package]]
name = "either"
version = "1.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07"

[[package]]
name = "env_logger"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0"
dependencies = [
 "humantime",
 "is-terminal",
 "log",
 "regex",
 "termcolor",
]

[[package]]
name = "errno"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6b30f669a7961ef1631673d2766cc92f52d64f7ef354d4fe0ddfd30ed52f0f4f"
dependencies = [
 "errno-dragonfly",
 "libc",
 "windows-sys",
]

[[package]]
name = "errno-dragonfly"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf"
dependencies = [
 "cc",
 "libc",
]

[[package]]
name = "fallible-iterator"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7"

[[package]]
name = "file-per-thread-logger"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a3cc21c33af89af0930c8cae4ade5e6fdc17b5d2c97b3d2e2edb67a1cf683f3"
dependencies = [
 "env_logger",
 "log",
]

[[package]]
name = "form_urlencoded"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a62bc1cf6f830c2ec14a513a9fb124d0a213a629668a4186f329db21fe045652"
dependencies = [
 "percent-encoding",
]

[[package]]
name = "fxhash"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c"
dependencies = [
 "byteorder",
]

[[package]]
name = "fxprof-processed-profile"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "27d12c0aed7f1e24276a241aadc4cb8ea9f83000f34bc062b7cc2d51e3b0fabd"
dependencies = [
 "bitflags 2.4.0",
 "debugid",
 "fxhash",
 "serde",
 "serde_json",
]

[[package]]
name = "generic-array"
version = "0.14.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
dependencies = [
 "typenum",
 "version_check",
]

[[package]]
name = "getrandom"
version = "0.2.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427"
dependencies = [
 "cfg-if",
 "libc",
 "wasi",
]

[[package]]
name = "gimli"
version = "0.27.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e"
dependencies = [
 "fallible-iterator",
 "indexmap",
 "stable_deref_trait",
]

[[package]]
name = "hashbrown"
version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"

[[package]]
name = "hashbrown"
version = "0.13.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e"
dependencies = [
 "ahash",
]

[[package]]
name = "heck"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"

[[package]]
name = "hermit-abi"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b"

[[package]]
name = "humantime"
version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4"

[[package]]
name = "id-arena"
version = "2.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "25a2bc672d1148e28034f176e01fffebb08b35768468cc954630da77a1449005"

[[package]]
name = "idna"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c"
dependencies = [
 "unicode-bidi",
 "unicode-normalization",
]

[[package]]
name = "indexmap"
version = "1.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
dependencies = [
 "autocfg",
 "hashbrown 0.12.3",
 "serde",
]

[[package]]
name = "io-lifetimes"
version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2"
dependencies = [
 "hermit-abi",
 "libc",
 "windows-sys",
]

[[package]]
name = "is-terminal"
version = "0.4.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b"
dependencies = [
 "hermit-abi",
 "rustix 0.38.8",
 "windows-sys",
]

[[package]]
name = "itertools"
version = "0.10.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"
dependencies = [
 "either",
]

[[package]]
name = "itoa"
version = "1.0.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38"

[[package]]
name = "ittapi"
version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "41e0d0b7b3b53d92a7e8b80ede3400112a6b8b4c98d1f5b8b16bb787c780582c"
dependencies = [
 "anyhow",
 "ittapi-sys",
 "log",
]

[[package]]
name = "ittapi-sys"
version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f2f8763c96e54e6d6a0dccc2990d8b5e33e3313aaeae6185921a3f4c1614a77c"
dependencies = [
 "cc",
]

[[package]]
name = "jobserver"
version = "0.1.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "936cfd212a0155903bcbc060e316fb6cc7cbf2e1907329391ebadc1fe0ce77c2"
dependencies = [
 "libc",
]

[[package]]
name = "jstack"
version = "0.1.0"
dependencies = [
 "anyhow",
 "wasmtime",
]

[[package]]
name = "leb128"
version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67"

[[package]]
name = "libc"
version = "0.2.147"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3"

[[package]]
name = "linux-raw-sys"
version = "0.3.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519"

[[package]]
name = "linux-raw-sys"
version = "0.4.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "57bcfdad1b858c2db7c38303a6d2ad4dfaf5eb53dfeb0910128b2c26d6158503"

[[package]]
name = "log"
version = "0.4.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f"

[[package]]
name = "mach"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa"
dependencies = [
 "libc",
]

[[package]]
name = "memchr"
version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"

[[package]]
name = "memfd"
version = "0.6.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ffc89ccdc6e10d6907450f753537ebc5c5d3460d2e4e62ea74bd571db62c0f9e"
dependencies = [
 "rustix 0.37.23",
]

[[package]]
name = "memoffset"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1"
dependencies = [
 "autocfg",
]

[[package]]
name = "memoffset"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c"
dependencies = [
 "autocfg",
]

[[package]]
name = "num_cpus"
version = "1.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43"
dependencies = [
 "hermit-abi",
 "libc",
]

[[package]]
name = "object"
version = "0.30.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "03b4680b86d9cfafba8fc491dc9b6df26b68cf40e9e6cd73909194759a63c385"
dependencies = [
 "crc32fast",
 "hashbrown 0.13.2",
 "indexmap",
 "memchr",
]

[[package]]
name = "once_cell"
version = "1.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d"

[[package]]
name = "paste"
version = "1.0.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c"

[[package]]
name = "percent-encoding"
version = "2.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94"

[[package]]
name = "pkg-config"
version = "0.3.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964"

[[package]]
name = "ppv-lite86"
version = "0.2.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"

[[package]]
name = "proc-macro2"
version = "1.0.66"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9"
dependencies = [
 "unicode-ident",
]

[[package]]
name = "psm"
version = "0.1.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5787f7cda34e3033a72192c018bc5883100330f362ef279a8cbccfce8bb4e874"
dependencies = [
 "cc",
]

[[package]]
name = "pulldown-cmark"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ffade02495f22453cd593159ea2f59827aae7f53fa8323f756799b670881dcf8"
dependencies = [
 "bitflags 1.3.2",
 "memchr",
 "unicase",
]

[[package]]
name = "quote"
version = "1.0.33"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae"
dependencies = [
 "proc-macro2",
]

[[package]]
name = "rand"
version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
dependencies = [
 "libc",
 "rand_chacha",
 "rand_core",
]

[[package]]
name = "rand_chacha"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
dependencies = [
 "ppv-lite86",
 "rand_core",
]

[[package]]
name = "rand_core"
version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
dependencies = [
 "getrandom",
]

[[package]]
name = "rayon"
version = "1.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b"
dependencies = [
 "either",
 "rayon-core",
]

[[package]]
name = "rayon-core"
version = "1.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d"
dependencies = [
 "crossbeam-channel",
 "crossbeam-deque",
 "crossbeam-utils",
 "num_cpus",
]

[[package]]
name = "redox_syscall"
version = "0.2.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"
dependencies = [
 "bitflags 1.3.2",
]

[[package]]
name = "redox_users"
version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b"
dependencies = [
 "getrandom",
 "redox_syscall",
 "thiserror",
]

[[package]]
name = "regalloc2"
version = "0.9.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5b4dcbd3a2ae7fb94b5813fa0e957c6ab51bf5d0a8ee1b69e0c2d0f1e6eb8485"
dependencies = [
 "hashbrown 0.13.2",
 "log",
 "rustc-hash",
 "slice-group-by",
 "smallvec",
]

[[package]]
name = "regex"
version = "1.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "81bc1d4caf89fac26a70747fe603c130093b53c773888797a6329091246d651a"
dependencies = [
 "aho-corasick",
 "memchr",
 "regex-automata",
 "regex-syntax",
]

[[package]]
name = "regex-automata"
version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fed1ceff11a1dddaee50c9dc8e4938bd106e9d89ae372f192311e7da498e3b69"
dependencies = [
 "aho-corasick",
 "memchr",
 "regex-syntax",
]

[[package]]
name = "regex-syntax"
version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e5ea92a5b6195c6ef2a0295ea818b312502c6fc94dde986c5553242e18fd4ce2"

[[package]]
name = "rustc-demangle"
version = "0.1.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76"

[[package]]
name = "rustc-hash"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"

[[package]]
name = "rustix"
version = "0.37.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4d69718bf81c6127a49dc64e44a742e8bb9213c0ff8869a22c308f84c1d4ab06"
dependencies = [
 "bitflags 1.3.2",
 "errno",
 "io-lifetimes",
 "libc",
 "linux-raw-sys 0.3.8",
 "windows-sys",
]

[[package]]
name = "rustix"
version = "0.38.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "19ed4fa021d81c8392ce04db050a3da9a60299050b7ae1cf482d862b54a7218f"
dependencies = [
 "bitflags 2.4.0",
 "errno",
 "libc",
 "linux-raw-sys 0.4.5",
 "windows-sys",
]

[[package]]
name = "ryu"
version = "1.0.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741"

[[package]]
name = "scopeguard"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"

[[package]]
name = "semver"
version = "1.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b0293b4b29daaf487284529cc2f5675b8e57c61f70167ba415a463651fd6a918"

[[package]]
name = "serde"
version = "1.0.183"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "32ac8da02677876d532745a130fc9d8e6edfa81a269b107c5b00829b91d8eb3c"
dependencies = [
 "serde_derive",
]

[[package]]
name = "serde_derive"
version = "1.0.183"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aafe972d60b0b9bee71a91b92fee2d4fb3c9d7e8f6b179aa99f27203d99a4816"
dependencies = [
 "proc-macro2",
 "quote",
 "syn 2.0.29",
]

[[package]]
name = "serde_json"
version = "1.0.105"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "693151e1ac27563d6dbcec9dee9fbd5da8539b20fa14ad3752b2e6d363ace360"
dependencies = [
 "itoa",
 "ryu",
 "serde",
]

[[package]]
name = "sha2"
version = "0.10.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "479fb9d862239e610720565ca91403019f2f00410f1864c5aa7479b950a76ed8"
dependencies = [
 "cfg-if",
 "cpufeatures",
 "digest",
]

[[package]]
name = "slice-group-by"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "826167069c09b99d56f31e9ae5c99049e932a98c9dc2dac47645b08dbbf76ba7"

[[package]]
name = "smallvec"
version = "1.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9"

[[package]]
name = "sptr"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3b9b39299b249ad65f3b7e96443bad61c02ca5cd3589f46cb6d610a0fd6c0d6a"

[[package]]
name = "stable_deref_trait"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"

[[package]]
name = "syn"
version = "1.0.109"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
dependencies = [
 "proc-macro2",
 "quote",
 "unicode-ident",
]

[[package]]
name = "syn"
version = "2.0.29"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c324c494eba9d92503e6f1ef2e6df781e78f6a7705a0202d9801b198807d518a"
dependencies = [
 "proc-macro2",
 "quote",
 "unicode-ident",
]

[[package]]
name = "target-lexicon"
version = "0.12.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9d0e916b1148c8e263850e1ebcbd046f333e0683c724876bb0da63ea4373dc8a"

[[package]]
name = "termcolor"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6"
dependencies = [
 "winapi-util",
]

[[package]]
name = "thiserror"
version = "1.0.47"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "97a802ec30afc17eee47b2855fc72e0c4cd62be9b4efe6591edde0ec5bd68d8f"
dependencies = [
 "thiserror-impl",
]

[[package]]
name = "thiserror-impl"
version = "1.0.47"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6bb623b56e39ab7dcd4b1b98bb6c8f8d907ed255b18de254088016b27a8ee19b"
dependencies = [
 "proc-macro2",
 "quote",
 "syn 2.0.29",
]

[[package]]
name = "tinyvec"
version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50"
dependencies = [
 "tinyvec_macros",
]

[[package]]
name = "tinyvec_macros"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"

[[package]]
name = "toml"
version = "0.5.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234"
dependencies = [
 "serde",
]

[[package]]
name = "typenum"
version = "1.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba"

[[package]]
name = "unicase"
version = "2.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6"
dependencies = [
 "version_check",
]

[[package]]
name = "unicode-bidi"
version = "0.3.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460"

[[package]]
name = "unicode-ident"
version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "301abaae475aa91687eb82514b328ab47a211a533026cb25fc3e519b86adfc3c"

[[package]]
name = "unicode-normalization"
version = "0.1.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921"
dependencies = [
 "tinyvec",
]

[[package]]
name = "unicode-width"
version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b"

[[package]]
name = "unicode-xid"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c"

[[package]]
name = "url"
version = "2.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "50bff7831e19200a85b17131d085c25d7811bc4e186efdaf54bbd132994a88cb"
dependencies = [
 "form_urlencoded",
 "idna",
 "percent-encoding",
]

[[package]]
name = "uuid"
version = "1.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "79daa5ed5740825c40b389c5e50312b9c86df53fccd33f281df655642b43869d"

[[package]]
name = "version_check"
version = "0.9.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"

[[package]]
name = "wasi"
version = "0.11.0+wasi-snapshot-preview1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"

[[package]]
name = "wasm-encoder"
version = "0.31.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "41763f20eafed1399fff1afb466496d3a959f58241436cfdc17e3f5ca954de16"
dependencies = [
 "leb128",
]

[[package]]
name = "wasmparser"
version = "0.107.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "29e3ac9b780c7dda0cac7a52a5d6d2d6707cc6e3451c9db209b6c758f40d7acb"
dependencies = [
 "indexmap",
 "semver",
]

[[package]]
name = "wasmtime"
version = "11.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b1f817f2ca5070983c71f1205fbab5848c9073df7f4e1af9fdceb4cc4a1b8e5"
dependencies = [
 "anyhow",
 "async-trait",
 "bincode",
 "bumpalo",
 "cfg-if",
 "fxprof-processed-profile",
 "indexmap",
 "libc",
 "log",
 "object",
 "once_cell",
 "paste",
 "psm",
 "rayon",
 "serde",
 "serde_json",
 "target-lexicon",
 "wasmparser",
 "wasmtime-cache",
 "wasmtime-component-macro",
 "wasmtime-cranelift",
 "wasmtime-environ",
 "wasmtime-fiber",
 "wasmtime-jit",
 "wasmtime-runtime",
 "wat",
 "windows-sys",
]

[[package]]
name = "wasmtime-asm-macros"
version = "11.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0f82fbfda4610e9225238c62574ecded8e9d6ad3a12f387ac45819ecad5c3f9b"
dependencies = [
 "cfg-if",
]

[[package]]
name = "wasmtime-cache"
version = "11.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b4f5b87f1ed383d6c219c04467ab6ae87990d6c2815d5a990138990a7fcbab95"
dependencies = [
 "anyhow",
 "base64",
 "bincode",
 "directories-next",
 "file-per-thread-logger",
 "log",
 "rustix 0.37.23",
 "serde",
 "sha2",
 "toml",
 "windows-sys",
 "zstd",
]

[[package]]
name = "wasmtime-component-macro"
version = "11.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e27b96c540c78e12b60025fcbc0ba8a55bff1b32885a5e8eae2df765a6bc97ac"
dependencies = [
 "anyhow",
 "proc-macro2",
 "quote",
 "syn 1.0.109",
 "wasmtime-component-util",
 "wasmtime-wit-bindgen",
 "wit-parser",
]

[[package]]
name = "wasmtime-component-util"
version = "11.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0928fe66c22bf8887e2fb524b7647308b8ce836a333af8504e4f1d80b8ea849f"

[[package]]
name = "wasmtime-cranelift"
version = "11.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b659f6e58662d1131f250339acd03aa49377f9351474282699985b79ca4d4a7c"
dependencies = [
 "anyhow",
 "cranelift-codegen",
 "cranelift-control",
 "cranelift-entity",
 "cranelift-frontend",
 "cranelift-native",
 "cranelift-wasm",
 "gimli",
 "log",
 "object",
 "target-lexicon",
 "thiserror",
 "wasmparser",
 "wasmtime-cranelift-shared",
 "wasmtime-environ",
]

[[package]]
name = "wasmtime-cranelift-shared"
version = "11.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "74171de083bf2ecb716c507900f825e2b858346c714fbf48f4763ea760f998a8"
dependencies = [
 "anyhow",
 "cranelift-codegen",
 "cranelift-control",
 "cranelift-native",
 "gimli",
 "object",
 "target-lexicon",
 "wasmtime-environ",
]

[[package]]
name = "wasmtime-environ"
version = "11.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b124cbac1a3e04a744c76b3f77919343ef16dc4c818a2406dd7b689b16a54639"
dependencies = [
 "anyhow",
 "cranelift-entity",
 "gimli",
 "indexmap",
 "log",
 "object",
 "serde",
 "target-lexicon",
 "thiserror",
 "wasmparser",
 "wasmtime-types",
]

[[package]]
name = "wasmtime-fiber"
version = "11.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f92ffb8869395c63100ffefbd71cf9489e7e9218e63a3798dcfe93fa8945f9cf"
dependencies = [
 "cc",
 "cfg-if",
 "rustix 0.37.23",
 "wasmtime-asm-macros",
 "windows-sys",
]

[[package]]
name = "wasmtime-jit"
version = "11.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "90ff15f426c2378f32ffb6d9b4370e3504231492e93f6968e8b5102c3256bbc4"
dependencies = [
 "addr2line",
 "anyhow",
 "bincode",
 "cfg-if",
 "cpp_demangle",
 "gimli",
 "ittapi",
 "log",
 "object",
 "rustc-demangle",
 "rustix 0.37.23",
 "serde",
 "target-lexicon",
 "wasmtime-environ",
 "wasmtime-jit-debug",
 "wasmtime-jit-icache-coherence",
 "wasmtime-runtime",
 "windows-sys",
]

[[package]]
name = "wasmtime-jit-debug"
version = "11.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c549e219102426aa1f90bd18e56a3195ed1e696c318abb3f501c1f4924b530ac"
dependencies = [
 "object",
 "once_cell",
 "rustix 0.37.23",
]

[[package]]
name = "wasmtime-jit-icache-coherence"
version = "11.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1cf02fedda287a409cff80ad40a7c6c0f0771e99b0cd5e2b79d9cb7ecdc1b2f4"
dependencies = [
 "cfg-if",
 "libc",
 "windows-sys",
]

[[package]]
name = "wasmtime-runtime"
version = "11.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fc38c6229a5d3b8a2528eb33eb11d3e7ebf570259c7cd2f01e8668fe783ea443"
dependencies = [
 "anyhow",
 "cc",
 "cfg-if",
 "indexmap",
 "libc",
 "log",
 "mach",
 "memfd",
 "memoffset 0.8.0",
 "paste",
 "rand",
 "rustix 0.37.23",
 "sptr",
 "wasmtime-asm-macros",
 "wasmtime-environ",
 "wasmtime-fiber",
 "wasmtime-jit-debug",
 "windows-sys",
]

[[package]]
name = "wasmtime-types"
version = "11.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "768f6c5e7afc3a02eff2753196741db8e5ac5faf26a1e2204d7341b30a637c6f"
dependencies = [
 "cranelift-entity",
 "serde",
 "thiserror",
 "wasmparser",
]

[[package]]
name = "wasmtime-wit-bindgen"
version = "11.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "84a4a005a6a2d5faa7cd953d389da8ae979cb571fe40edec7769649d8c98d874"
dependencies = [
 "anyhow",
 "heck",
 "wit-parser",
]

[[package]]
name = "wast"
version = "63.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2560471f60a48b77fccefaf40796fda61c97ce1e790b59dfcec9dc3995c9f63a"
dependencies = [
 "leb128",
 "memchr",
 "unicode-width",
 "wasm-encoder",
]

[[package]]
name = "wat"
version = "1.0.70"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3bdc306c2c4c2f2bf2ba69e083731d0d2a77437fc6a350a19db139636e7e416c"
dependencies = [
 "wast",
]

[[package]]
name = "winapi"
version = "0.3.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
dependencies = [
 "winapi-i686-pc-windows-gnu",
 "winapi-x86_64-pc-windows-gnu",
]

[[package]]
name = "winapi-i686-pc-windows-gnu"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"

[[package]]
name = "winapi-util"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178"
dependencies = [
 "winapi",
]

[[package]]
name = "winapi-x86_64-pc-windows-gnu"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"

[[package]]
name = "windows-sys"
version = "0.48.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
dependencies = [
 "windows-targets",
]

[[package]]
name = "windows-targets"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
dependencies = [
 "windows_aarch64_gnullvm",
 "windows_aarch64_msvc",
 "windows_i686_gnu",
 "windows_i686_msvc",
 "windows_x86_64_gnu",
 "windows_x86_64_gnullvm",
 "windows_x86_64_msvc",
]

[[package]]
name = "windows_aarch64_gnullvm"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"

[[package]]
name = "windows_aarch64_msvc"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"

[[package]]
name = "windows_i686_gnu"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"

[[package]]
name = "windows_i686_msvc"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"

[[package]]
name = "windows_x86_64_gnu"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"

[[package]]
name = "windows_x86_64_gnullvm"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"

[[package]]
name = "windows_x86_64_msvc"
version = "0.48.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"

[[package]]
name = "wit-parser"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6daec9f093dbaea0e94043eeb92ece327bbbe70c86b1f41aca9bbfefd7f050f0"
dependencies = [
 "anyhow",
 "id-arena",
 "indexmap",
 "log",
 "pulldown-cmark",
 "semver",
 "unicode-xid",
 "url",
]

[[package]]
name = "zstd"
version = "0.11.2+zstd.1.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4"
dependencies = [
 "zstd-safe",
]

[[package]]
name = "zstd-safe"
version = "5.0.2+zstd.1.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db"
dependencies = [
 "libc",
 "zstd-sys",
]

[[package]]
name = "zstd-sys"
version = "2.0.8+zstd.1.5.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5556e6ee25d32df2586c098bbfa278803692a20d0ab9565e049480d52707ec8c"
dependencies = [
 "cc",
 "libc",
 "pkg-config",
]
Cargo.toml ASCII text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
[package]
name = "jstack"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
wasmtime = "11.0.1"
anyhow = "1.0"

[[bin]]
name = "jstack"
path = "jstack.rs"
false.jstack ASCII text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
[[]0||$][q]:[1~,0||$][c]:[~"|~"|][oo]:
[{{~|}}"}.[{{{|~}}"}.{{{||}}.][{{{___]?]["c]~,"c[}}]~,[w]:
["9=}"10=}32={{++][isws]:["48<~57>+0=][isnum]:
[ [1]|[  oo~#<[oo@ "93=[_0]["91=[_1+pquot ][ "39=[_1+oo@0~,]["123=[_[oo@125=0=][1+]w 2 32,]["34=[_[]|1+[oo@"34=0=][}||{,|1+]w_||q 3~,]["isnum[48-[|1+oo@"isnum][48-}||{~10*+]w_1-||0~,]["isws[_32][]?2~,]?]?]?]? ]? }1+||{q,| 1]? ][0]?  ][]w|| ][pquot]:
[~1+"}~${][p]:[oo@}1-{][r]:
[1[oo~#<][oo@|}}"0@[[p] [p] ["1@"97<~122>+0=[p][1@32-table~@.]?] [1@}~"|1@{,~}1~${]]~@.{{1+]w__][do]:
[32,0pquot|__}q[[]],0"",","",,,",,27{do][run]:
[[] [r do] 0 [r}r{[}"}do r 1@0=0={{||][~}"}do{{~]w__] [oo@p] [1-] 0 0  0 0 [r}r 1@{1@*0~,p] [r}r 1@{1@+0~,p] [r}}"1@{{~}1@,1~${] [r}r 1@{1@-0~,p] [r 1@[]~["0>]["10%}10/{48+~}~,{]w_10,~}}"1@{,1~${] [r}r 1@{1@/0~,p]]
[0 0 0 0 0 0 0 0  0 0 [r}r{~}1@95-{||}${] [oo@~1-}1@95-}"{@{~p] [r}r 1@{1@<0~-0~,p] [r}r 1@{1@=0~-0~,p] [r}r 1@{1@>0~-0~,p] [r}r{1@0=[_][do]?]],
[[r}r}r{{||}}p{p{p] 0 []], [r}oo{1@-@p]q 0",","",,"|,,,
[[r}oo@{~}}1-{p{p] 0 0 [oo@1@0~-0~,~"}~${]],
0"""",,,,"",,",,[oo@1@1+0~-0~,~"}~${]q,q[table]:
flake.lock JSON text data
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
  "nodes": {
    "nixpkgs": {
      "locked": {
        "lastModified": 1692463654,
        "narHash": "sha256-F8hZmsQINI+S6UROM4jyxAMbQLtzE44pI8Nk6NtMdao=",
        "owner": "NixOS",
        "repo": "nixpkgs",
        "rev": "ca3c9ac9f4cdd4bea19f592b32bb59b74ab7d783",
        "type": "github"
      },
      "original": {
        "owner": "NixOS",
        "ref": "nixpkgs-unstable",
        "repo": "nixpkgs",
        "type": "github"
      }
    },
    "root": {
      "inputs": {
        "nixpkgs": "nixpkgs",
        "wsrc": "wsrc"
      }
    },
    "wsrc": {
      "flake": false,
      "locked": {
        "lastModified": 1671804573,
        "narHash": "sha256-y7DqowHezLa0/+92Nzrmy3P2e+pEzSqA6N/VnYTitPA=",
        "owner": "ktye",
        "repo": "w",
        "rev": "702f540f2af81cacaaca764259c55325bf70f6f9",
        "type": "github"
      },
      "original": {
        "owner": "ktye",
        "repo": "w",
        "type": "github"
      }
    }
  },
  "root": "root",
  "version": 7
}
flake.nix ASCII text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{

  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
    wsrc = {
      url = "github:ktye/w";
      flake = false;
    };
  };

  description = "A very basic flake";

  outputs = { self, nixpkgs, wsrc }: {
    devShells.x86_64-linux.default =
      let
        pkgs = import nixpkgs { system = "x86_64-linux"; };
        w = pkgs.buildGoPackage {
          pname = "w";
          version = "0.0.1";
          goPackagePath = "github:ktye/w";
          src = wsrc;
        };
        jstackwasm = pkgs.stdenv.mkDerivation {
          pname = "jstack";
          version = "0.0.1";
          src = wsrc;
          buildInputs = [ w ];
          buildPhase = ''
            w j.w > jstack.wasm
          '';
          installPhase = ''
            mkdir -p $out/bin
            cp jstack.wasm $out/bin
          '';
        };
        jstack = pkgs.rustPlatform.buildRustPackage {
          pname = "jstack";
          version = "1.0.0";
          src = ./.;
          cargoLock = {
            lockFile = ./Cargo.lock;
          };
          preBuild = ''
            cp ${jstackwasm}/bin/jstack.wasm .
          '';
          doCheck = false;
        };
      in pkgs.mkShell { nativeBuildInputs = [ jstack ]; };
  };
}
jstack.rs ASCII text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
use std::io::{Write,stdin,stdout};
use wasmtime::{Engine, Module, Store, Caller, Func, Instance, Extern, Result};
use anyhow::anyhow;

fn i(mem: &[u8], i: i32) -> i32 { i32::from_le_bytes(mem[i as usize*4..(i as usize+1)*4].try_into().unwrap()) }

fn fmt(mem: &[u8],     mut x: i32) -> String { use String as S;
    x=i(mem, x);   let mut y = (x as u32 >> 2) as i32;
    match ((x&4)>>2,(x&2)>>1,(x&1)) {
        (0,0,0)=>{ let mut s = S::from('['); for j in 0..i(mem, y+1){ if j!=0{s.push(' ');}; s.push_str(&fmt(mem, y+2+j)); } s + "]" },
        (_,1,0)=>{ let mut s = S::new();     while y!=0             { s.insert(0,(96 + y%32) as u8 as char); y>>=5;        } s       },
        (1,0,0)=>  S::from((33+(x>>3)) as u8 as char),
        (_,_,1)=>  (x >> 1).to_string(),
        _ => unreachable!("how about you reach some bitches"),
    }
}

fn main() -> Result<()> {
    let engine = Engine::default();
    let module = Module::from_binary(&engine, include_bytes!("jstack.wasm"))?;
    let mut store = Store::new(&engine, ());
    
    let stk = Func::wrap(&mut store, |mut caller: Caller<'_,()>, _:i32| {
        let mem = caller.get_export("mem").and_then(|x| x.into_memory()).ok_or(anyhow!("no mem"))?.data(&caller);
        println!("{}:{}", fmt(mem, 1),fmt(mem, 2));
        Ok(())
    });
    let draw = Func::wrap(&mut store, |mut _caller: Caller<'_,()>, _: i32, _: i32| { println!("draw called"); });
    let instance = Instance::new(&mut store, &module, &[Extern::Func(stk), Extern::Func(draw)])?;
    let j = instance.get_typed_func::<i32, i32>(&mut store, "j")?;
    
    j.call(&mut store, 18)?;
    let mut jj = |c:&str|->Result<()> { for i in c.chars() { j.call(&mut store, i as i32)?; } Ok(()) };
    let mut input = String::new();
    jj(&std::fs::read_to_string("false.jstack")?)?;
    loop {
        print!(" "); stdout().flush()?;
        stdin().read_line(&mut input)?;
        if input.starts_with('\'') {
            jj("[")?; for c in input.trim().chars().skip(1) { jj(&(c as u32).to_string())?; jj(" ")?; } jj("]!\n")?;
        } else { jj(&input.trim())?; jj("!\n")?; }
        input.clear();
    }
}
txt.txt ASCII text
1
2
3
4
5
6
write
    'input  <- program input
    '1 1+   <- code
    run

[[in] [out] [a] [b] ... [z] [0] [1] [2] ...] <ptr>

round #39

submitted at
3 likes

guesses
comments 0

post a comment


entry.nix ASCII text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
with builtins; rec {
  parse = 
    with (import (fetchTarball {
      url = "https://github.com/kanwren/nix-parsec/archive/v0.2.0.tar.gz";
      sha256 = "1v1krqzvpmb39s42m5gg2p7phhp4spd0vkb4wlhfkgbhi20dk5w7";
    })).parsec;
    let {
      spaces = void (many (choice [
        (string " ") (string "\n") (skipThen (string "#") (skipWhile (c: c != "\n")))
      ]));
      symbol = s: thenSkip (string s) spaces;
      br = open: close:
        lift2 (b: c: {inherit b c;}) (symbol open) (thenSkip expr (symbol close));
      expr = many (choice [ (br "(" ")") (br "[" "]") (br "{" "}") (br "<" ">") ]);
      body = runParser (between spaces eof expr);
    };
  eval = s1: s2:
    let
      init   = l: genList (x: elemAt l x) (length l - 1);
      last   = l: elemAt l (length l - 1);
      return = s1: s2: ret: { inherit s1 s2 ret; };
      toRet  = f: v: v//{ ret = f v.ret; };
      eval1  = s1: s2: expr:
        (if length expr.c == 0 then {
          ${"("} = return s1 s2 1;
          ${"["} = return s1 s2 (length s1);
          ${"<"} = return s2 s1 0;
          ${"{"} = if s1 == [] then return s1 s2 0 else return (init s1) s2 (last s1);
        } else {
          ${"("} = (v: v//{ s1=v.s1++[v.ret]; }) (eval s1 s2 expr.c);
          ${"["} = (toRet (x: -x)) (eval s1 s2 expr.c);
          ${"<"} = (toRet (x: 0 )) (eval s1 s2 expr.c);
          ${"{"} = let loop = {s1, s2, ret}@v:
            if s1 == [] || last s1 == 0 then v else (toRet (x: x+ret)) (loop (eval s1 s2 expr.c));
          in loop (return s1 s2 0);
        }).${expr.b};
    in foldl'
      ({s1, s2, ret}: next: (toRet (x: x+ret)) (eval1 s1 s2 next))
      (return s1 s2 0);
  run = stack: code: with parse code;
    if type == "success" then eval stack [] value else throw (toJSON value);
}

round #37

submitted at
1 like

guesses
comments 0

post a comment


digital.jq ASCII text
1
.[1]as$b|first|until(.<$b;[while(.>0;./$b|floor)]|[.[]%$b]|add)