summary refs log tree commit diff stats
path: root/tests/stdlib/twalker.nim
blob: 91c97df01fc3b8417627f355b48bf93f469b9b48 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# iterate over all files with a given filter:

import
  "../../lib/pure/os.nim", ../../ lib / pure / times

proc main(filter: string) =
  for filename in walkFiles(filter):
    writeLine(stdout, filename)

  for key, val in envPairs():
    writeLine(stdout, key & '=' & val)

main("*.nim")
+0100 committer bptato <nincsnevem662@gmail.com> 2022-12-11 21:47:20 +0100 Add border-collapse, border-spacing; fix fd sending hack' href='/ahoang/chawan/commit/res/ua.css?id=339a167f6bf8f4bd8c22c1bdfad645aad0732371'>339a167f ^
caad7b57 ^

f4805eb8 ^

cea337a7 ^
a5f7da04 ^

f4805eb8 ^











7ab7f28f ^

cea337a7 ^
7ab7f28f ^

















d54e0258 ^




7dae490a ^















8a1611e1 ^
bc1aceb8 ^
fb017f27 ^

bc1aceb8 ^

d2451e51 ^
fb017f27 ^
8a1611e1 ^


bc1aceb8 ^
fb017f27 ^
152f8908 ^
bc1aceb8 ^

8a1611e1 ^
bc1aceb8 ^
fb017f27 ^
152f8908 ^
fb017f27 ^

d2451e51 ^
fb017f27 ^

152f8908 ^
fb017f27 ^

d2451e51 ^
fb017f27 ^

152f8908 ^
fb017f27 ^

d2451e51 ^

fb017f27 ^


d2451e51 ^
fb017f27 ^


d2451e51 ^
fb017f27 ^
bf3b8804 ^

8af10b8b ^



eb2e57c9 ^




94a10242 ^
34b02351 ^
94a10242 ^
5ed6ccd8 ^
f4805eb8 ^











9b95435a ^
148d6ce5 ^

9b95435a ^


2b60e100 ^
148d6ce5 ^

5ed6ccd8 ^


a413a311 ^
148d6ce5 ^

a413a311 ^

1a9acf70 ^
8bbff1f7 ^
5ed6ccd8 ^
60b58351 ^
1a9acf70 ^
60b58351 ^

e1194507 ^







72e171f6 ^


47b0c8df ^
72e171f6 ^



69f184a1 ^
72e171f6 ^








7707d87c ^





6a5cc238 ^
7707d87c ^












5c19adf2 ^
24fc8e94 ^



4511c956 ^



24fc8e94 ^

152f8908 ^
8bc1392c ^
24fc8e94 ^



152f8908 ^
8bc1392c ^
24fc8e94 ^

8bc1392c ^
24fc8e94 ^


8bc1392c ^


24fc8e94 ^

4511c956 ^

24fc8e94 ^

4511c956 ^

8bc1392c ^

4511c956 ^

24fc8e94 ^

5c19adf2 ^
d4e20ebe ^
5c19adf2 ^
051d22b1 ^



f92e3023 ^
b49a0808 ^
e3485c01 ^


f92e3023 ^






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


                                                          

 



                                  
                                                                        
                                                                           
                                                                     
                                                           
                       

 
                                                                  


                              
                   





                                               

                             

 



                    







                             

                       


                                

 

                                 
                               

 











                                    

                           
                                

















                                




                               















                             
       
                          

                         

 
                        
                      


               
                     
                              
                       

 
              
                     
                              
                       

 
                               

                              
                       

 
                              

                              
                       

 

                                                                                  


                                   
                                                                          


                   
                                                                         
                   

 



                   




                         
    
                           
 
 











                                   
                        

                           


                          
                

                           


                         
   

                           

 
         
                      
 
 
               

                                   







                     


                                 
                                   



                              
                                   








                                                  





                               
                             












                          
 



                              



                           

                     
                       
                              



                     
                       
                              

 
                                         


                      


                                                 

 

                                                               

 

                                                                                    

 

                                                                                     

 
        
                                
 



                               
 
                


                                      






                       
area, base, basefont, datalist, head, link, meta, noembed,
noframes, param, rp, script, style, template, title {
	display: none;
}

:root {
	display: block !important;
}

address, article, aside, blockquote, body, center, dd, dialog, dir, div,
dl, dt, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6,
header, hgroup, hr, html, legend, listing, main, menu, nav, noframes,
noscript, ol, p, plaintext, pre, search, section, ul, xmp {
	display: block;
}

textarea, tt, var, font, iframe, u, s, strike, frame, input, img {
	display: inline-block;
}

ol, ul, menu, dir {
	margin-left: 4ch;
	margin-top: 1em;
	margin-bottom: 1em;
}

:is(ol, ul, menu, dir) :is(ol, ul, menu, dir) {
	margin-top: unset;
	margin-bottom: unset;
}

blockquote {
	margin: 1em;
}

q::before {
	content: open-quote;
}

q::after {
	content: close-quote;
}

table {
	display: table;
	border-spacing: 0.5ch 0;
	padding-left: 0.5ch;
	padding-right: 0.5ch;
}

tbody {
	display: table-row-group;
	vertical-align: middle;
}

thead {
	display: table-header-group;
}

tfoot {
	display: table-footer-group;
}

colgroup {
	display: table-column-group;
}

tr {
	display: table-row;
	vertical-align: inherit;
}

col {
	display: table-column;
}

th {
	display: table-cell;
	font-weight: bold;
	vertical-align: inherit;
}

td {
	display: table-cell;
	text-align: unset;
	vertical-align: inherit;
}

caption {
	display: table-caption;
	text-align: center;
}

caption[align=top] {
	caption-side: top;
}

caption[align=bottom] {
	caption-side: bottom;
}

caption[align=left] {
	caption-side: left;
}

caption[align=right] {
	caption-side: right;
}

input {
	margin-right: 1ch;
	white-space: pre;
	color: red;
}

input[type="hidden" i] {
	display: none;
}

input::before {
	content: '[';
	text-decoration: none;
	color: initial;
}

input::after {
	content: ']';
	text-decoration: none;
	color: initial;
}

input[type="radio" i]::before {
	content: '(';
	text-decoration: none;
	color: initial;
}

input[type="radio" i]::after {
	content: ')';
	text-decoration: none;
	color: initial;
}

input:is([type="text" i], [type="password" i], [type="search" i], [type="file" i],
		[type="url" i], [type="email" i], [type="tel" i]) {
	text-decoration: underline;
}

input:is([type="submit" i], [type="button" i], [type="reset" i])::before {
	color: red;
}

input:is([type="submit" i], [type="button" i], [type="reset" i])::after {
	color: red;
}

button {
	color: red;
}

textarea {
	color: red;
	white-space: pre;
}

li {
	display: list-item;
}

i, em {
	font-style: italic;
}

b, strong {
	font-weight: bold;
}

u, ins {
	text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
	margin-top: 1em;
	margin-bottom: 1em;
	font-weight: bold;
}

pre, plaintext {
	margin-top: 1em;
	margin-bottom: 1em;
	white-space: pre;
}

p {
	margin-top: 1em;
	margin-bottom: 1em;
}

a[href] {
	color: yellow;
}

a[href]:hover {
	text-decoration: underline;
}

sup::before {
	content: '^';
}

sub::before {
	content: '~';
}

ol {
	list-style-type: decimal;
	counter-reset: list-item 0;
}

ul {
	list-style-type: disc;
	counter-reset: list-item 0;
}

:is(ol, ul, menu, dir) ul {
	list-style-type: circle;
}

:is(ol, ul, menu, dir) :is(ol, ul, menu, dir) ul {
	list-style-type: square;
}

dl {
	margin-bottom: 1em;
}

:is(ul, ol, dir, menu, dl) dl {
	margin-bottom: unset;
}

dt {
	font-weight: bold;
}

dd {
	margin-left: 4ch;
}

dl[compact] dt + br {
	display: none;
}

select {
	display: inline-block;
}

select:focus {
	visibility: hidden;
}

select::before {
	content: '[';
	color: initial;
	display: inline-block;
}

select::after {
	content: ']';
	color: initial;
	display: inline-block;
}

select > :is(option, optgroup > option) {
	display: none;
}

select > :is(option, optgroup > option):checked {
	display: inline-block;
	color: red;
}

select[multiple] > :is(option, optgroup > option):first-child {
	display: inline-block;
}

select[multiple] > :is(option, optgroup > option):not(:checked):first-child::after {
	content: '(...)';
}

select[multiple] > :is(option, optgroup > option):not(:first-child):checked::before {
	content: ',';
}

center {
	text-align: -cha-center;
}

blink {
	text-decoration: blink;
}

del, s, strike {
	text-decoration: line-through;
}

rt::before {
	content: '(';
}

rt::after {
	content: ')';
}