snail-lang 0.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- snail_lang-0.2.0/Cargo.lock +689 -0
- snail_lang-0.2.0/Cargo.toml +6 -0
- snail_lang-0.2.0/LICENSE +20 -0
- snail_lang-0.2.0/PKG-INFO +343 -0
- snail_lang-0.2.0/README.md +331 -0
- snail_lang-0.2.0/crates/snail-ast/Cargo.toml +8 -0
- snail_lang-0.2.0/crates/snail-ast/README.md +33 -0
- snail_lang-0.2.0/crates/snail-ast/src/ast.rs +394 -0
- snail_lang-0.2.0/crates/snail-ast/src/awk.rs +28 -0
- snail_lang-0.2.0/crates/snail-ast/src/lib.rs +5 -0
- snail_lang-0.2.0/crates/snail-codegen/Cargo.toml +9 -0
- snail_lang-0.2.0/crates/snail-codegen/README.md +41 -0
- snail_lang-0.2.0/crates/snail-codegen/src/expr.rs +483 -0
- snail_lang-0.2.0/crates/snail-codegen/src/lib.rs +58 -0
- snail_lang-0.2.0/crates/snail-codegen/src/writer.rs +217 -0
- snail_lang-0.2.0/crates/snail-core/Cargo.toml +13 -0
- snail_lang-0.2.0/crates/snail-core/README.md +62 -0
- snail_lang-0.2.0/crates/snail-core/src/lib.rs +33 -0
- snail_lang-0.2.0/crates/snail-error/Cargo.toml +8 -0
- snail_lang-0.2.0/crates/snail-error/README.md +47 -0
- snail_lang-0.2.0/crates/snail-error/src/lib.rs +128 -0
- snail_lang-0.2.0/crates/snail-lower/Cargo.toml +10 -0
- snail_lang-0.2.0/crates/snail-lower/README.md +56 -0
- snail_lang-0.2.0/crates/snail-lower/src/awk.rs +360 -0
- snail_lang-0.2.0/crates/snail-lower/src/constants.rs +53 -0
- snail_lang-0.2.0/crates/snail-lower/src/expr.rs +560 -0
- snail_lang-0.2.0/crates/snail-lower/src/helpers.rs +49 -0
- snail_lang-0.2.0/crates/snail-lower/src/lib.rs +13 -0
- snail_lang-0.2.0/crates/snail-lower/src/operators.rs +42 -0
- snail_lang-0.2.0/crates/snail-lower/src/program.rs +87 -0
- snail_lang-0.2.0/crates/snail-lower/src/span.rs +65 -0
- snail_lang-0.2.0/crates/snail-lower/src/stmt.rs +270 -0
- snail_lang-0.2.0/crates/snail-parser/Cargo.toml +11 -0
- snail_lang-0.2.0/crates/snail-parser/README.md +40 -0
- snail_lang-0.2.0/crates/snail-parser/src/awk.rs +42 -0
- snail_lang-0.2.0/crates/snail-parser/src/expr.rs +617 -0
- snail_lang-0.2.0/crates/snail-parser/src/lib.rs +85 -0
- snail_lang-0.2.0/crates/snail-parser/src/literal.rs +430 -0
- snail_lang-0.2.0/crates/snail-parser/src/snail.pest +238 -0
- snail_lang-0.2.0/crates/snail-parser/src/stmt.rs +651 -0
- snail_lang-0.2.0/crates/snail-parser/src/string.rs +479 -0
- snail_lang-0.2.0/crates/snail-parser/src/util.rs +169 -0
- snail_lang-0.2.0/crates/snail-parser/tests/parser.rs +819 -0
- snail_lang-0.2.0/crates/snail-python/Cargo.toml +12 -0
- snail_lang-0.2.0/crates/snail-python/src/lib.rs +130 -0
- snail_lang-0.2.0/crates/snail-python-ast/Cargo.toml +8 -0
- snail_lang-0.2.0/crates/snail-python-ast/README.md +32 -0
- snail_lang-0.2.0/crates/snail-python-ast/src/lib.rs +311 -0
- snail_lang-0.2.0/pyproject.toml +26 -0
- snail_lang-0.2.0/python/snail/__init__.py +10 -0
- snail_lang-0.2.0/python/snail/cli.py +67 -0
- snail_lang-0.2.0/python/snail/runtime/__init__.py +25 -0
- snail_lang-0.2.0/python/snail/runtime/compact_try.py +13 -0
- snail_lang-0.2.0/python/snail/runtime/regex.py +11 -0
- snail_lang-0.2.0/python/snail/runtime/structured_accessor.py +71 -0
- snail_lang-0.2.0/python/snail/runtime/subprocess.py +66 -0
- snail_lang-0.2.0/python/snail/vendor/__init__.py +0 -0
- snail_lang-0.2.0/python/snail/vendor/jmespath/LICENSE +21 -0
- snail_lang-0.2.0/python/snail/vendor/jmespath/__init__.py +12 -0
- snail_lang-0.2.0/python/snail/vendor/jmespath/ast.py +90 -0
- snail_lang-0.2.0/python/snail/vendor/jmespath/compat.py +19 -0
- snail_lang-0.2.0/python/snail/vendor/jmespath/exceptions.py +137 -0
- snail_lang-0.2.0/python/snail/vendor/jmespath/functions.py +366 -0
- snail_lang-0.2.0/python/snail/vendor/jmespath/lexer.py +258 -0
- snail_lang-0.2.0/python/snail/vendor/jmespath/parser.py +526 -0
- snail_lang-0.2.0/python/snail/vendor/jmespath/visitor.py +329 -0
|
@@ -0,0 +1,689 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "autocfg"
|
|
7
|
+
version = "1.5.0"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
|
|
10
|
+
|
|
11
|
+
[[package]]
|
|
12
|
+
name = "bit-set"
|
|
13
|
+
version = "0.8.0"
|
|
14
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
15
|
+
checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3"
|
|
16
|
+
dependencies = [
|
|
17
|
+
"bit-vec",
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
[[package]]
|
|
21
|
+
name = "bit-vec"
|
|
22
|
+
version = "0.8.0"
|
|
23
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
24
|
+
checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7"
|
|
25
|
+
|
|
26
|
+
[[package]]
|
|
27
|
+
name = "bitflags"
|
|
28
|
+
version = "2.10.0"
|
|
29
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
30
|
+
checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3"
|
|
31
|
+
|
|
32
|
+
[[package]]
|
|
33
|
+
name = "block-buffer"
|
|
34
|
+
version = "0.10.4"
|
|
35
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
36
|
+
checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71"
|
|
37
|
+
dependencies = [
|
|
38
|
+
"generic-array",
|
|
39
|
+
]
|
|
40
|
+
|
|
41
|
+
[[package]]
|
|
42
|
+
name = "cfg-if"
|
|
43
|
+
version = "1.0.4"
|
|
44
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
45
|
+
checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
|
|
46
|
+
|
|
47
|
+
[[package]]
|
|
48
|
+
name = "cpufeatures"
|
|
49
|
+
version = "0.2.17"
|
|
50
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
51
|
+
checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280"
|
|
52
|
+
dependencies = [
|
|
53
|
+
"libc",
|
|
54
|
+
]
|
|
55
|
+
|
|
56
|
+
[[package]]
|
|
57
|
+
name = "crypto-common"
|
|
58
|
+
version = "0.1.7"
|
|
59
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
60
|
+
checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a"
|
|
61
|
+
dependencies = [
|
|
62
|
+
"generic-array",
|
|
63
|
+
"typenum",
|
|
64
|
+
]
|
|
65
|
+
|
|
66
|
+
[[package]]
|
|
67
|
+
name = "digest"
|
|
68
|
+
version = "0.10.7"
|
|
69
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
70
|
+
checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292"
|
|
71
|
+
dependencies = [
|
|
72
|
+
"block-buffer",
|
|
73
|
+
"crypto-common",
|
|
74
|
+
]
|
|
75
|
+
|
|
76
|
+
[[package]]
|
|
77
|
+
name = "errno"
|
|
78
|
+
version = "0.3.14"
|
|
79
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
80
|
+
checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
|
|
81
|
+
dependencies = [
|
|
82
|
+
"libc",
|
|
83
|
+
"windows-sys",
|
|
84
|
+
]
|
|
85
|
+
|
|
86
|
+
[[package]]
|
|
87
|
+
name = "fastrand"
|
|
88
|
+
version = "2.3.0"
|
|
89
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
90
|
+
checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
|
|
91
|
+
|
|
92
|
+
[[package]]
|
|
93
|
+
name = "fnv"
|
|
94
|
+
version = "1.0.7"
|
|
95
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
96
|
+
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
|
|
97
|
+
|
|
98
|
+
[[package]]
|
|
99
|
+
name = "generic-array"
|
|
100
|
+
version = "0.14.7"
|
|
101
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
102
|
+
checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a"
|
|
103
|
+
dependencies = [
|
|
104
|
+
"typenum",
|
|
105
|
+
"version_check",
|
|
106
|
+
]
|
|
107
|
+
|
|
108
|
+
[[package]]
|
|
109
|
+
name = "getrandom"
|
|
110
|
+
version = "0.3.4"
|
|
111
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
112
|
+
checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
|
|
113
|
+
dependencies = [
|
|
114
|
+
"cfg-if",
|
|
115
|
+
"libc",
|
|
116
|
+
"r-efi",
|
|
117
|
+
"wasip2",
|
|
118
|
+
]
|
|
119
|
+
|
|
120
|
+
[[package]]
|
|
121
|
+
name = "heck"
|
|
122
|
+
version = "0.4.1"
|
|
123
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
124
|
+
checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
|
|
125
|
+
|
|
126
|
+
[[package]]
|
|
127
|
+
name = "indoc"
|
|
128
|
+
version = "2.0.7"
|
|
129
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
130
|
+
checksum = "79cf5c93f93228cf8efb3ba362535fb11199ac548a09ce117c9b1adc3030d706"
|
|
131
|
+
dependencies = [
|
|
132
|
+
"rustversion",
|
|
133
|
+
]
|
|
134
|
+
|
|
135
|
+
[[package]]
|
|
136
|
+
name = "libc"
|
|
137
|
+
version = "0.2.178"
|
|
138
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
139
|
+
checksum = "37c93d8daa9d8a012fd8ab92f088405fb202ea0b6ab73ee2482ae66af4f42091"
|
|
140
|
+
|
|
141
|
+
[[package]]
|
|
142
|
+
name = "linux-raw-sys"
|
|
143
|
+
version = "0.11.0"
|
|
144
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
145
|
+
checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039"
|
|
146
|
+
|
|
147
|
+
[[package]]
|
|
148
|
+
name = "lock_api"
|
|
149
|
+
version = "0.4.14"
|
|
150
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
151
|
+
checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965"
|
|
152
|
+
dependencies = [
|
|
153
|
+
"scopeguard",
|
|
154
|
+
]
|
|
155
|
+
|
|
156
|
+
[[package]]
|
|
157
|
+
name = "memchr"
|
|
158
|
+
version = "2.7.6"
|
|
159
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
160
|
+
checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
|
|
161
|
+
|
|
162
|
+
[[package]]
|
|
163
|
+
name = "memoffset"
|
|
164
|
+
version = "0.9.1"
|
|
165
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
166
|
+
checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
|
|
167
|
+
dependencies = [
|
|
168
|
+
"autocfg",
|
|
169
|
+
]
|
|
170
|
+
|
|
171
|
+
[[package]]
|
|
172
|
+
name = "num-traits"
|
|
173
|
+
version = "0.2.19"
|
|
174
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
175
|
+
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
|
|
176
|
+
dependencies = [
|
|
177
|
+
"autocfg",
|
|
178
|
+
]
|
|
179
|
+
|
|
180
|
+
[[package]]
|
|
181
|
+
name = "once_cell"
|
|
182
|
+
version = "1.21.3"
|
|
183
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
184
|
+
checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
|
|
185
|
+
|
|
186
|
+
[[package]]
|
|
187
|
+
name = "parking_lot"
|
|
188
|
+
version = "0.12.5"
|
|
189
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
190
|
+
checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a"
|
|
191
|
+
dependencies = [
|
|
192
|
+
"lock_api",
|
|
193
|
+
"parking_lot_core",
|
|
194
|
+
]
|
|
195
|
+
|
|
196
|
+
[[package]]
|
|
197
|
+
name = "parking_lot_core"
|
|
198
|
+
version = "0.9.12"
|
|
199
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
200
|
+
checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
|
|
201
|
+
dependencies = [
|
|
202
|
+
"cfg-if",
|
|
203
|
+
"libc",
|
|
204
|
+
"redox_syscall",
|
|
205
|
+
"smallvec",
|
|
206
|
+
"windows-link",
|
|
207
|
+
]
|
|
208
|
+
|
|
209
|
+
[[package]]
|
|
210
|
+
name = "pest"
|
|
211
|
+
version = "2.8.4"
|
|
212
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
213
|
+
checksum = "cbcfd20a6d4eeba40179f05735784ad32bdaef05ce8e8af05f180d45bb3e7e22"
|
|
214
|
+
dependencies = [
|
|
215
|
+
"memchr",
|
|
216
|
+
"ucd-trie",
|
|
217
|
+
]
|
|
218
|
+
|
|
219
|
+
[[package]]
|
|
220
|
+
name = "pest_derive"
|
|
221
|
+
version = "2.8.4"
|
|
222
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
223
|
+
checksum = "51f72981ade67b1ca6adc26ec221be9f463f2b5839c7508998daa17c23d94d7f"
|
|
224
|
+
dependencies = [
|
|
225
|
+
"pest",
|
|
226
|
+
"pest_generator",
|
|
227
|
+
]
|
|
228
|
+
|
|
229
|
+
[[package]]
|
|
230
|
+
name = "pest_generator"
|
|
231
|
+
version = "2.8.4"
|
|
232
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
233
|
+
checksum = "dee9efd8cdb50d719a80088b76f81aec7c41ed6d522ee750178f83883d271625"
|
|
234
|
+
dependencies = [
|
|
235
|
+
"pest",
|
|
236
|
+
"pest_meta",
|
|
237
|
+
"proc-macro2",
|
|
238
|
+
"quote",
|
|
239
|
+
"syn",
|
|
240
|
+
]
|
|
241
|
+
|
|
242
|
+
[[package]]
|
|
243
|
+
name = "pest_meta"
|
|
244
|
+
version = "2.8.4"
|
|
245
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
246
|
+
checksum = "bf1d70880e76bdc13ba52eafa6239ce793d85c8e43896507e43dd8984ff05b82"
|
|
247
|
+
dependencies = [
|
|
248
|
+
"pest",
|
|
249
|
+
"sha2",
|
|
250
|
+
]
|
|
251
|
+
|
|
252
|
+
[[package]]
|
|
253
|
+
name = "portable-atomic"
|
|
254
|
+
version = "1.13.0"
|
|
255
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
256
|
+
checksum = "f89776e4d69bb58bc6993e99ffa1d11f228b839984854c7daeb5d37f87cbe950"
|
|
257
|
+
|
|
258
|
+
[[package]]
|
|
259
|
+
name = "ppv-lite86"
|
|
260
|
+
version = "0.2.21"
|
|
261
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
262
|
+
checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9"
|
|
263
|
+
dependencies = [
|
|
264
|
+
"zerocopy",
|
|
265
|
+
]
|
|
266
|
+
|
|
267
|
+
[[package]]
|
|
268
|
+
name = "proc-macro2"
|
|
269
|
+
version = "1.0.104"
|
|
270
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
271
|
+
checksum = "9695f8df41bb4f3d222c95a67532365f569318332d03d5f3f67f37b20e6ebdf0"
|
|
272
|
+
dependencies = [
|
|
273
|
+
"unicode-ident",
|
|
274
|
+
]
|
|
275
|
+
|
|
276
|
+
[[package]]
|
|
277
|
+
name = "proptest"
|
|
278
|
+
version = "1.9.0"
|
|
279
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
280
|
+
checksum = "bee689443a2bd0a16ab0348b52ee43e3b2d1b1f931c8aa5c9f8de4c86fbe8c40"
|
|
281
|
+
dependencies = [
|
|
282
|
+
"bit-set",
|
|
283
|
+
"bit-vec",
|
|
284
|
+
"bitflags",
|
|
285
|
+
"num-traits",
|
|
286
|
+
"rand",
|
|
287
|
+
"rand_chacha",
|
|
288
|
+
"rand_xorshift",
|
|
289
|
+
"regex-syntax",
|
|
290
|
+
"rusty-fork",
|
|
291
|
+
"tempfile",
|
|
292
|
+
"unarray",
|
|
293
|
+
]
|
|
294
|
+
|
|
295
|
+
[[package]]
|
|
296
|
+
name = "pyo3"
|
|
297
|
+
version = "0.21.2"
|
|
298
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
299
|
+
checksum = "a5e00b96a521718e08e03b1a622f01c8a8deb50719335de3f60b3b3950f069d8"
|
|
300
|
+
dependencies = [
|
|
301
|
+
"cfg-if",
|
|
302
|
+
"indoc",
|
|
303
|
+
"libc",
|
|
304
|
+
"memoffset",
|
|
305
|
+
"parking_lot",
|
|
306
|
+
"portable-atomic",
|
|
307
|
+
"pyo3-build-config",
|
|
308
|
+
"pyo3-ffi",
|
|
309
|
+
"pyo3-macros",
|
|
310
|
+
"unindent",
|
|
311
|
+
]
|
|
312
|
+
|
|
313
|
+
[[package]]
|
|
314
|
+
name = "pyo3-build-config"
|
|
315
|
+
version = "0.21.2"
|
|
316
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
317
|
+
checksum = "7883df5835fafdad87c0d888b266c8ec0f4c9ca48a5bed6bbb592e8dedee1b50"
|
|
318
|
+
dependencies = [
|
|
319
|
+
"once_cell",
|
|
320
|
+
"target-lexicon",
|
|
321
|
+
]
|
|
322
|
+
|
|
323
|
+
[[package]]
|
|
324
|
+
name = "pyo3-ffi"
|
|
325
|
+
version = "0.21.2"
|
|
326
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
327
|
+
checksum = "01be5843dc60b916ab4dad1dca6d20b9b4e6ddc8e15f50c47fe6d85f1fb97403"
|
|
328
|
+
dependencies = [
|
|
329
|
+
"libc",
|
|
330
|
+
"pyo3-build-config",
|
|
331
|
+
]
|
|
332
|
+
|
|
333
|
+
[[package]]
|
|
334
|
+
name = "pyo3-macros"
|
|
335
|
+
version = "0.21.2"
|
|
336
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
337
|
+
checksum = "77b34069fc0682e11b31dbd10321cbf94808394c56fd996796ce45217dfac53c"
|
|
338
|
+
dependencies = [
|
|
339
|
+
"proc-macro2",
|
|
340
|
+
"pyo3-macros-backend",
|
|
341
|
+
"quote",
|
|
342
|
+
"syn",
|
|
343
|
+
]
|
|
344
|
+
|
|
345
|
+
[[package]]
|
|
346
|
+
name = "pyo3-macros-backend"
|
|
347
|
+
version = "0.21.2"
|
|
348
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
349
|
+
checksum = "08260721f32db5e1a5beae69a55553f56b99bd0e1c3e6e0a5e8851a9d0f5a85c"
|
|
350
|
+
dependencies = [
|
|
351
|
+
"heck",
|
|
352
|
+
"proc-macro2",
|
|
353
|
+
"pyo3-build-config",
|
|
354
|
+
"quote",
|
|
355
|
+
"syn",
|
|
356
|
+
]
|
|
357
|
+
|
|
358
|
+
[[package]]
|
|
359
|
+
name = "quick-error"
|
|
360
|
+
version = "1.2.3"
|
|
361
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
362
|
+
checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0"
|
|
363
|
+
|
|
364
|
+
[[package]]
|
|
365
|
+
name = "quote"
|
|
366
|
+
version = "1.0.42"
|
|
367
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
368
|
+
checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f"
|
|
369
|
+
dependencies = [
|
|
370
|
+
"proc-macro2",
|
|
371
|
+
]
|
|
372
|
+
|
|
373
|
+
[[package]]
|
|
374
|
+
name = "r-efi"
|
|
375
|
+
version = "5.3.0"
|
|
376
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
377
|
+
checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
|
|
378
|
+
|
|
379
|
+
[[package]]
|
|
380
|
+
name = "rand"
|
|
381
|
+
version = "0.9.2"
|
|
382
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
383
|
+
checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1"
|
|
384
|
+
dependencies = [
|
|
385
|
+
"rand_chacha",
|
|
386
|
+
"rand_core",
|
|
387
|
+
]
|
|
388
|
+
|
|
389
|
+
[[package]]
|
|
390
|
+
name = "rand_chacha"
|
|
391
|
+
version = "0.9.0"
|
|
392
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
393
|
+
checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
|
|
394
|
+
dependencies = [
|
|
395
|
+
"ppv-lite86",
|
|
396
|
+
"rand_core",
|
|
397
|
+
]
|
|
398
|
+
|
|
399
|
+
[[package]]
|
|
400
|
+
name = "rand_core"
|
|
401
|
+
version = "0.9.3"
|
|
402
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
403
|
+
checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38"
|
|
404
|
+
dependencies = [
|
|
405
|
+
"getrandom",
|
|
406
|
+
]
|
|
407
|
+
|
|
408
|
+
[[package]]
|
|
409
|
+
name = "rand_xorshift"
|
|
410
|
+
version = "0.4.0"
|
|
411
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
412
|
+
checksum = "513962919efc330f829edb2535844d1b912b0fbe2ca165d613e4e8788bb05a5a"
|
|
413
|
+
dependencies = [
|
|
414
|
+
"rand_core",
|
|
415
|
+
]
|
|
416
|
+
|
|
417
|
+
[[package]]
|
|
418
|
+
name = "redox_syscall"
|
|
419
|
+
version = "0.5.18"
|
|
420
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
421
|
+
checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"
|
|
422
|
+
dependencies = [
|
|
423
|
+
"bitflags",
|
|
424
|
+
]
|
|
425
|
+
|
|
426
|
+
[[package]]
|
|
427
|
+
name = "regex-syntax"
|
|
428
|
+
version = "0.8.8"
|
|
429
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
430
|
+
checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58"
|
|
431
|
+
|
|
432
|
+
[[package]]
|
|
433
|
+
name = "rustix"
|
|
434
|
+
version = "1.1.3"
|
|
435
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
436
|
+
checksum = "146c9e247ccc180c1f61615433868c99f3de3ae256a30a43b49f67c2d9171f34"
|
|
437
|
+
dependencies = [
|
|
438
|
+
"bitflags",
|
|
439
|
+
"errno",
|
|
440
|
+
"libc",
|
|
441
|
+
"linux-raw-sys",
|
|
442
|
+
"windows-sys",
|
|
443
|
+
]
|
|
444
|
+
|
|
445
|
+
[[package]]
|
|
446
|
+
name = "rustversion"
|
|
447
|
+
version = "1.0.22"
|
|
448
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
449
|
+
checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
|
|
450
|
+
|
|
451
|
+
[[package]]
|
|
452
|
+
name = "rusty-fork"
|
|
453
|
+
version = "0.3.1"
|
|
454
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
455
|
+
checksum = "cc6bf79ff24e648f6da1f8d1f011e9cac26491b619e6b9280f2b47f1774e6ee2"
|
|
456
|
+
dependencies = [
|
|
457
|
+
"fnv",
|
|
458
|
+
"quick-error",
|
|
459
|
+
"tempfile",
|
|
460
|
+
"wait-timeout",
|
|
461
|
+
]
|
|
462
|
+
|
|
463
|
+
[[package]]
|
|
464
|
+
name = "scopeguard"
|
|
465
|
+
version = "1.2.0"
|
|
466
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
467
|
+
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
|
|
468
|
+
|
|
469
|
+
[[package]]
|
|
470
|
+
name = "sha2"
|
|
471
|
+
version = "0.10.9"
|
|
472
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
473
|
+
checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
|
|
474
|
+
dependencies = [
|
|
475
|
+
"cfg-if",
|
|
476
|
+
"cpufeatures",
|
|
477
|
+
"digest",
|
|
478
|
+
]
|
|
479
|
+
|
|
480
|
+
[[package]]
|
|
481
|
+
name = "smallvec"
|
|
482
|
+
version = "1.15.1"
|
|
483
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
484
|
+
checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03"
|
|
485
|
+
|
|
486
|
+
[[package]]
|
|
487
|
+
name = "snail-ast"
|
|
488
|
+
version = "0.2.0"
|
|
489
|
+
|
|
490
|
+
[[package]]
|
|
491
|
+
name = "snail-codegen"
|
|
492
|
+
version = "0.2.0"
|
|
493
|
+
dependencies = [
|
|
494
|
+
"snail-ast",
|
|
495
|
+
"snail-python-ast",
|
|
496
|
+
]
|
|
497
|
+
|
|
498
|
+
[[package]]
|
|
499
|
+
name = "snail-core"
|
|
500
|
+
version = "0.2.0"
|
|
501
|
+
dependencies = [
|
|
502
|
+
"snail-ast",
|
|
503
|
+
"snail-codegen",
|
|
504
|
+
"snail-error",
|
|
505
|
+
"snail-lower",
|
|
506
|
+
"snail-parser",
|
|
507
|
+
"snail-python-ast",
|
|
508
|
+
]
|
|
509
|
+
|
|
510
|
+
[[package]]
|
|
511
|
+
name = "snail-error"
|
|
512
|
+
version = "0.2.0"
|
|
513
|
+
dependencies = [
|
|
514
|
+
"snail-ast",
|
|
515
|
+
]
|
|
516
|
+
|
|
517
|
+
[[package]]
|
|
518
|
+
name = "snail-lower"
|
|
519
|
+
version = "0.2.0"
|
|
520
|
+
dependencies = [
|
|
521
|
+
"snail-ast",
|
|
522
|
+
"snail-error",
|
|
523
|
+
"snail-python-ast",
|
|
524
|
+
]
|
|
525
|
+
|
|
526
|
+
[[package]]
|
|
527
|
+
name = "snail-parser"
|
|
528
|
+
version = "0.2.0"
|
|
529
|
+
dependencies = [
|
|
530
|
+
"pest",
|
|
531
|
+
"pest_derive",
|
|
532
|
+
"snail-ast",
|
|
533
|
+
"snail-error",
|
|
534
|
+
]
|
|
535
|
+
|
|
536
|
+
[[package]]
|
|
537
|
+
name = "snail-proptest"
|
|
538
|
+
version = "0.2.0"
|
|
539
|
+
dependencies = [
|
|
540
|
+
"proptest",
|
|
541
|
+
"snail-ast",
|
|
542
|
+
"snail-codegen",
|
|
543
|
+
"snail-core",
|
|
544
|
+
"snail-error",
|
|
545
|
+
"snail-lower",
|
|
546
|
+
"snail-parser",
|
|
547
|
+
"snail-python-ast",
|
|
548
|
+
"tempfile",
|
|
549
|
+
]
|
|
550
|
+
|
|
551
|
+
[[package]]
|
|
552
|
+
name = "snail-python"
|
|
553
|
+
version = "0.2.0"
|
|
554
|
+
dependencies = [
|
|
555
|
+
"pyo3",
|
|
556
|
+
"snail-core",
|
|
557
|
+
]
|
|
558
|
+
|
|
559
|
+
[[package]]
|
|
560
|
+
name = "snail-python-ast"
|
|
561
|
+
version = "0.2.0"
|
|
562
|
+
dependencies = [
|
|
563
|
+
"snail-ast",
|
|
564
|
+
]
|
|
565
|
+
|
|
566
|
+
[[package]]
|
|
567
|
+
name = "syn"
|
|
568
|
+
version = "2.0.112"
|
|
569
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
570
|
+
checksum = "21f182278bf2d2bcb3c88b1b08a37df029d71ce3d3ae26168e3c653b213b99d4"
|
|
571
|
+
dependencies = [
|
|
572
|
+
"proc-macro2",
|
|
573
|
+
"quote",
|
|
574
|
+
"unicode-ident",
|
|
575
|
+
]
|
|
576
|
+
|
|
577
|
+
[[package]]
|
|
578
|
+
name = "target-lexicon"
|
|
579
|
+
version = "0.12.16"
|
|
580
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
581
|
+
checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
|
|
582
|
+
|
|
583
|
+
[[package]]
|
|
584
|
+
name = "tempfile"
|
|
585
|
+
version = "3.24.0"
|
|
586
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
587
|
+
checksum = "655da9c7eb6305c55742045d5a8d2037996d61d8de95806335c7c86ce0f82e9c"
|
|
588
|
+
dependencies = [
|
|
589
|
+
"fastrand",
|
|
590
|
+
"getrandom",
|
|
591
|
+
"once_cell",
|
|
592
|
+
"rustix",
|
|
593
|
+
"windows-sys",
|
|
594
|
+
]
|
|
595
|
+
|
|
596
|
+
[[package]]
|
|
597
|
+
name = "typenum"
|
|
598
|
+
version = "1.19.0"
|
|
599
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
600
|
+
checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb"
|
|
601
|
+
|
|
602
|
+
[[package]]
|
|
603
|
+
name = "ucd-trie"
|
|
604
|
+
version = "0.1.7"
|
|
605
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
606
|
+
checksum = "2896d95c02a80c6d6a5d6e953d479f5ddf2dfdb6a244441010e373ac0fb88971"
|
|
607
|
+
|
|
608
|
+
[[package]]
|
|
609
|
+
name = "unarray"
|
|
610
|
+
version = "0.1.4"
|
|
611
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
612
|
+
checksum = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94"
|
|
613
|
+
|
|
614
|
+
[[package]]
|
|
615
|
+
name = "unicode-ident"
|
|
616
|
+
version = "1.0.22"
|
|
617
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
618
|
+
checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5"
|
|
619
|
+
|
|
620
|
+
[[package]]
|
|
621
|
+
name = "unindent"
|
|
622
|
+
version = "0.2.4"
|
|
623
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
624
|
+
checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
|
|
625
|
+
|
|
626
|
+
[[package]]
|
|
627
|
+
name = "version_check"
|
|
628
|
+
version = "0.9.5"
|
|
629
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
630
|
+
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
|
|
631
|
+
|
|
632
|
+
[[package]]
|
|
633
|
+
name = "wait-timeout"
|
|
634
|
+
version = "0.2.1"
|
|
635
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
636
|
+
checksum = "09ac3b126d3914f9849036f826e054cbabdc8519970b8998ddaf3b5bd3c65f11"
|
|
637
|
+
dependencies = [
|
|
638
|
+
"libc",
|
|
639
|
+
]
|
|
640
|
+
|
|
641
|
+
[[package]]
|
|
642
|
+
name = "wasip2"
|
|
643
|
+
version = "1.0.1+wasi-0.2.4"
|
|
644
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
645
|
+
checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7"
|
|
646
|
+
dependencies = [
|
|
647
|
+
"wit-bindgen",
|
|
648
|
+
]
|
|
649
|
+
|
|
650
|
+
[[package]]
|
|
651
|
+
name = "windows-link"
|
|
652
|
+
version = "0.2.1"
|
|
653
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
654
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
655
|
+
|
|
656
|
+
[[package]]
|
|
657
|
+
name = "windows-sys"
|
|
658
|
+
version = "0.61.2"
|
|
659
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
660
|
+
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
|
|
661
|
+
dependencies = [
|
|
662
|
+
"windows-link",
|
|
663
|
+
]
|
|
664
|
+
|
|
665
|
+
[[package]]
|
|
666
|
+
name = "wit-bindgen"
|
|
667
|
+
version = "0.46.0"
|
|
668
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
669
|
+
checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59"
|
|
670
|
+
|
|
671
|
+
[[package]]
|
|
672
|
+
name = "zerocopy"
|
|
673
|
+
version = "0.8.33"
|
|
674
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
675
|
+
checksum = "668f5168d10b9ee831de31933dc111a459c97ec93225beb307aed970d1372dfd"
|
|
676
|
+
dependencies = [
|
|
677
|
+
"zerocopy-derive",
|
|
678
|
+
]
|
|
679
|
+
|
|
680
|
+
[[package]]
|
|
681
|
+
name = "zerocopy-derive"
|
|
682
|
+
version = "0.8.33"
|
|
683
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
684
|
+
checksum = "2c7962b26b0a8685668b671ee4b54d007a67d4eaf05fda79ac0ecf41e32270f1"
|
|
685
|
+
dependencies = [
|
|
686
|
+
"proc-macro2",
|
|
687
|
+
"quote",
|
|
688
|
+
"syn",
|
|
689
|
+
]
|
snail_lang-0.2.0/LICENSE
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
Copyright 2026 Seamus Connor
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
+
of this software and associated documentation files (the “Software”), to deal
|
|
5
|
+
in the Software without restriction, including without limitation the rights
|
|
6
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
7
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
furnished to do so, subject to the following conditions:
|
|
9
|
+
|
|
10
|
+
The above copyright notice and this permission notice shall be included in all
|
|
11
|
+
copies or substantial portions of the Software.
|
|
12
|
+
|
|
13
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
19
|
+
SOFTWARE.
|
|
20
|
+
|