jaclang 0.5.10__py3-none-any.whl → 0.5.15__py3-none-any.whl
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.
Potentially problematic release.
This version of jaclang might be problematic. Click here for more details.
- jaclang/cli/cli.py +20 -0
- jaclang/compiler/__init__.py +35 -19
- jaclang/compiler/absyntree.py +103 -95
- jaclang/compiler/generated/jac_parser.py +4069 -0
- jaclang/compiler/jac.lark +655 -0
- jaclang/compiler/parser.py +44 -31
- jaclang/compiler/passes/main/fuse_typeinfo_pass.py +92 -37
- jaclang/compiler/passes/main/import_pass.py +9 -5
- jaclang/compiler/passes/main/pyast_gen_pass.py +512 -352
- jaclang/compiler/passes/main/pyast_load_pass.py +271 -64
- jaclang/compiler/passes/main/registry_pass.py +3 -7
- jaclang/compiler/passes/main/tests/test_pyast_gen_pass.py +2 -0
- jaclang/compiler/passes/main/type_check_pass.py +4 -1
- jaclang/compiler/passes/tool/jac_formatter_pass.py +7 -0
- jaclang/compiler/passes/tool/tests/test_unparse_validate.py +16 -0
- jaclang/compiler/passes/utils/mypy_ast_build.py +93 -0
- jaclang/compiler/tests/test_importer.py +15 -0
- jaclang/core/aott.py +4 -3
- jaclang/core/construct.py +1 -1
- jaclang/core/importer.py +109 -51
- jaclang/core/llms.py +29 -0
- jaclang/core/registry.py +22 -0
- jaclang/core/utils.py +72 -0
- jaclang/plugin/default.py +118 -6
- jaclang/plugin/feature.py +29 -2
- jaclang/plugin/spec.py +25 -2
- jaclang/utils/helpers.py +7 -9
- jaclang/utils/lang_tools.py +37 -13
- jaclang/utils/test.py +1 -3
- jaclang/utils/tests/test_lang_tools.py +6 -0
- jaclang/vendor/lark/grammars/common.lark +59 -0
- jaclang/vendor/lark/grammars/lark.lark +62 -0
- jaclang/vendor/lark/grammars/python.lark +302 -0
- jaclang/vendor/lark/grammars/unicode.lark +7 -0
- {jaclang-0.5.10.dist-info → jaclang-0.5.15.dist-info}/METADATA +1 -1
- {jaclang-0.5.10.dist-info → jaclang-0.5.15.dist-info}/RECORD +40 -34
- jaclang/compiler/__jac_gen__/jac_parser.py +0 -4069
- /jaclang/compiler/{__jac_gen__ → generated}/__init__.py +0 -0
- {jaclang-0.5.10.dist-info → jaclang-0.5.15.dist-info}/WHEEL +0 -0
- {jaclang-0.5.10.dist-info → jaclang-0.5.15.dist-info}/entry_points.txt +0 -0
- {jaclang-0.5.10.dist-info → jaclang-0.5.15.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
// Python 3 grammar for Lark
|
|
2
|
+
|
|
3
|
+
// This grammar should parse all python 3.x code successfully.
|
|
4
|
+
|
|
5
|
+
// Adapted from: https://docs.python.org/3/reference/grammar.html
|
|
6
|
+
|
|
7
|
+
// Start symbols for the grammar:
|
|
8
|
+
// single_input is a single interactive statement;
|
|
9
|
+
// file_input is a module or sequence of commands read from an input file;
|
|
10
|
+
// eval_input is the input for the eval() functions.
|
|
11
|
+
// NB: compound_stmt in single_input is followed by extra NEWLINE!
|
|
12
|
+
//
|
|
13
|
+
|
|
14
|
+
single_input: _NEWLINE | simple_stmt | compound_stmt _NEWLINE
|
|
15
|
+
file_input: (_NEWLINE | stmt)*
|
|
16
|
+
eval_input: testlist _NEWLINE*
|
|
17
|
+
|
|
18
|
+
decorator: "@" dotted_name [ "(" [arguments] ")" ] _NEWLINE
|
|
19
|
+
decorators: decorator+
|
|
20
|
+
decorated: decorators (classdef | funcdef | async_funcdef)
|
|
21
|
+
|
|
22
|
+
async_funcdef: "async" funcdef
|
|
23
|
+
funcdef: "def" name "(" [parameters] ")" ["->" test] ":" suite
|
|
24
|
+
|
|
25
|
+
parameters: paramvalue ("," paramvalue)* ["," SLASH ("," paramvalue)*] ["," [starparams | kwparams]]
|
|
26
|
+
| starparams
|
|
27
|
+
| kwparams
|
|
28
|
+
|
|
29
|
+
SLASH: "/" // Otherwise the it will completely disappear and it will be undisguisable in the result
|
|
30
|
+
starparams: (starparam | starguard) poststarparams
|
|
31
|
+
starparam: "*" typedparam
|
|
32
|
+
starguard: "*"
|
|
33
|
+
poststarparams: ("," paramvalue)* ["," kwparams]
|
|
34
|
+
kwparams: "**" typedparam ","?
|
|
35
|
+
|
|
36
|
+
?paramvalue: typedparam ("=" test)?
|
|
37
|
+
?typedparam: name (":" test)?
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
lambdef: "lambda" [lambda_params] ":" test
|
|
41
|
+
lambdef_nocond: "lambda" [lambda_params] ":" test_nocond
|
|
42
|
+
lambda_params: lambda_paramvalue ("," lambda_paramvalue)* ["," [lambda_starparams | lambda_kwparams]]
|
|
43
|
+
| lambda_starparams
|
|
44
|
+
| lambda_kwparams
|
|
45
|
+
?lambda_paramvalue: name ("=" test)?
|
|
46
|
+
lambda_starparams: "*" [name] ("," lambda_paramvalue)* ["," [lambda_kwparams]]
|
|
47
|
+
lambda_kwparams: "**" name ","?
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
?stmt: simple_stmt | compound_stmt
|
|
51
|
+
?simple_stmt: small_stmt (";" small_stmt)* [";"] _NEWLINE
|
|
52
|
+
?small_stmt: (expr_stmt | assign_stmt | del_stmt | pass_stmt | flow_stmt | import_stmt | global_stmt | nonlocal_stmt | assert_stmt)
|
|
53
|
+
expr_stmt: testlist_star_expr
|
|
54
|
+
assign_stmt: annassign | augassign | assign
|
|
55
|
+
|
|
56
|
+
annassign: testlist_star_expr ":" test ["=" test]
|
|
57
|
+
assign: testlist_star_expr ("=" (yield_expr|testlist_star_expr))+
|
|
58
|
+
augassign: testlist_star_expr augassign_op (yield_expr|testlist)
|
|
59
|
+
!augassign_op: "+=" | "-=" | "*=" | "@=" | "/=" | "%=" | "&=" | "|=" | "^=" | "<<=" | ">>=" | "**=" | "//="
|
|
60
|
+
?testlist_star_expr: test_or_star_expr
|
|
61
|
+
| test_or_star_expr ("," test_or_star_expr)+ ","? -> tuple
|
|
62
|
+
| test_or_star_expr "," -> tuple
|
|
63
|
+
|
|
64
|
+
// For normal and annotated assignments, additional restrictions enforced by the interpreter
|
|
65
|
+
del_stmt: "del" exprlist
|
|
66
|
+
pass_stmt: "pass"
|
|
67
|
+
?flow_stmt: break_stmt | continue_stmt | return_stmt | raise_stmt | yield_stmt
|
|
68
|
+
break_stmt: "break"
|
|
69
|
+
continue_stmt: "continue"
|
|
70
|
+
return_stmt: "return" [testlist]
|
|
71
|
+
yield_stmt: yield_expr
|
|
72
|
+
raise_stmt: "raise" [test ["from" test]]
|
|
73
|
+
import_stmt: import_name | import_from
|
|
74
|
+
import_name: "import" dotted_as_names
|
|
75
|
+
// note below: the ("." | "...") is necessary because "..." is tokenized as ELLIPSIS
|
|
76
|
+
import_from: "from" (dots? dotted_name | dots) "import" ("*" | "(" import_as_names ")" | import_as_names)
|
|
77
|
+
!dots: "."+
|
|
78
|
+
import_as_name: name ["as" name]
|
|
79
|
+
dotted_as_name: dotted_name ["as" name]
|
|
80
|
+
import_as_names: import_as_name ("," import_as_name)* [","]
|
|
81
|
+
dotted_as_names: dotted_as_name ("," dotted_as_name)*
|
|
82
|
+
dotted_name: name ("." name)*
|
|
83
|
+
global_stmt: "global" name ("," name)*
|
|
84
|
+
nonlocal_stmt: "nonlocal" name ("," name)*
|
|
85
|
+
assert_stmt: "assert" test ["," test]
|
|
86
|
+
|
|
87
|
+
?compound_stmt: if_stmt | while_stmt | for_stmt | try_stmt | match_stmt
|
|
88
|
+
| with_stmt | funcdef | classdef | decorated | async_stmt
|
|
89
|
+
async_stmt: "async" (funcdef | with_stmt | for_stmt)
|
|
90
|
+
if_stmt: "if" test ":" suite elifs ["else" ":" suite]
|
|
91
|
+
elifs: elif_*
|
|
92
|
+
elif_: "elif" test ":" suite
|
|
93
|
+
while_stmt: "while" test ":" suite ["else" ":" suite]
|
|
94
|
+
for_stmt: "for" exprlist "in" testlist ":" suite ["else" ":" suite]
|
|
95
|
+
try_stmt: "try" ":" suite except_clauses ["else" ":" suite] [finally]
|
|
96
|
+
| "try" ":" suite finally -> try_finally
|
|
97
|
+
finally: "finally" ":" suite
|
|
98
|
+
except_clauses: except_clause+
|
|
99
|
+
except_clause: "except" [test ["as" name]] ":" suite
|
|
100
|
+
// NB compile.c makes sure that the default except clause is last
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
with_stmt: "with" with_items ":" suite
|
|
104
|
+
with_items: with_item ("," with_item)*
|
|
105
|
+
with_item: test ["as" name]
|
|
106
|
+
|
|
107
|
+
match_stmt: "match" test ":" _NEWLINE _INDENT case+ _DEDENT
|
|
108
|
+
|
|
109
|
+
case: "case" pattern ["if" test] ":" suite
|
|
110
|
+
|
|
111
|
+
?pattern: sequence_item_pattern "," _sequence_pattern -> sequence_pattern
|
|
112
|
+
| as_pattern
|
|
113
|
+
?as_pattern: or_pattern ("as" NAME)?
|
|
114
|
+
?or_pattern: closed_pattern ("|" closed_pattern)*
|
|
115
|
+
?closed_pattern: literal_pattern
|
|
116
|
+
| NAME -> capture_pattern
|
|
117
|
+
| "_" -> any_pattern
|
|
118
|
+
| attr_pattern
|
|
119
|
+
| "(" as_pattern ")"
|
|
120
|
+
| "[" _sequence_pattern "]" -> sequence_pattern
|
|
121
|
+
| "(" (sequence_item_pattern "," _sequence_pattern)? ")" -> sequence_pattern
|
|
122
|
+
| "{" (mapping_item_pattern ("," mapping_item_pattern)* ","?)?"}" -> mapping_pattern
|
|
123
|
+
| "{" (mapping_item_pattern ("," mapping_item_pattern)* ",")? "**" NAME ","? "}" -> mapping_star_pattern
|
|
124
|
+
| class_pattern
|
|
125
|
+
|
|
126
|
+
literal_pattern: inner_literal_pattern
|
|
127
|
+
|
|
128
|
+
?inner_literal_pattern: "None" -> const_none
|
|
129
|
+
| "True" -> const_true
|
|
130
|
+
| "False" -> const_false
|
|
131
|
+
| STRING -> string
|
|
132
|
+
| number
|
|
133
|
+
|
|
134
|
+
attr_pattern: NAME ("." NAME)+ -> value
|
|
135
|
+
|
|
136
|
+
name_or_attr_pattern: NAME ("." NAME)* -> value
|
|
137
|
+
|
|
138
|
+
mapping_item_pattern: (literal_pattern|attr_pattern) ":" as_pattern
|
|
139
|
+
|
|
140
|
+
_sequence_pattern: (sequence_item_pattern ("," sequence_item_pattern)* ","?)?
|
|
141
|
+
?sequence_item_pattern: as_pattern
|
|
142
|
+
| "*" NAME -> star_pattern
|
|
143
|
+
|
|
144
|
+
class_pattern: name_or_attr_pattern "(" [arguments_pattern ","?] ")"
|
|
145
|
+
arguments_pattern: pos_arg_pattern ["," keyws_arg_pattern]
|
|
146
|
+
| keyws_arg_pattern -> no_pos_arguments
|
|
147
|
+
|
|
148
|
+
pos_arg_pattern: as_pattern ("," as_pattern)*
|
|
149
|
+
keyws_arg_pattern: keyw_arg_pattern ("," keyw_arg_pattern)*
|
|
150
|
+
keyw_arg_pattern: NAME "=" as_pattern
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
suite: simple_stmt | _NEWLINE _INDENT stmt+ _DEDENT
|
|
155
|
+
|
|
156
|
+
?test: or_test ("if" or_test "else" test)?
|
|
157
|
+
| lambdef
|
|
158
|
+
| assign_expr
|
|
159
|
+
|
|
160
|
+
assign_expr: name ":=" test
|
|
161
|
+
|
|
162
|
+
?test_nocond: or_test | lambdef_nocond
|
|
163
|
+
|
|
164
|
+
?or_test: and_test ("or" and_test)*
|
|
165
|
+
?and_test: not_test_ ("and" not_test_)*
|
|
166
|
+
?not_test_: "not" not_test_ -> not_test
|
|
167
|
+
| comparison
|
|
168
|
+
?comparison: expr (comp_op expr)*
|
|
169
|
+
star_expr: "*" expr
|
|
170
|
+
|
|
171
|
+
?expr: or_expr
|
|
172
|
+
?or_expr: xor_expr ("|" xor_expr)*
|
|
173
|
+
?xor_expr: and_expr ("^" and_expr)*
|
|
174
|
+
?and_expr: shift_expr ("&" shift_expr)*
|
|
175
|
+
?shift_expr: arith_expr (_shift_op arith_expr)*
|
|
176
|
+
?arith_expr: term (_add_op term)*
|
|
177
|
+
?term: factor (_mul_op factor)*
|
|
178
|
+
?factor: _unary_op factor | power
|
|
179
|
+
|
|
180
|
+
!_unary_op: "+"|"-"|"~"
|
|
181
|
+
!_add_op: "+"|"-"
|
|
182
|
+
!_shift_op: "<<"|">>"
|
|
183
|
+
!_mul_op: "*"|"@"|"/"|"%"|"//"
|
|
184
|
+
// <> isn't actually a valid comparison operator in Python. It's here for the
|
|
185
|
+
// sake of a __future__ import described in PEP 401 (which really works :-)
|
|
186
|
+
!comp_op: "<"|">"|"=="|">="|"<="|"<>"|"!="|"in"|"not" "in"|"is"|"is" "not"
|
|
187
|
+
|
|
188
|
+
?power: await_expr ("**" factor)?
|
|
189
|
+
?await_expr: AWAIT? atom_expr
|
|
190
|
+
AWAIT: "await"
|
|
191
|
+
|
|
192
|
+
?atom_expr: atom_expr "(" [arguments] ")" -> funccall
|
|
193
|
+
| atom_expr "[" subscriptlist "]" -> getitem
|
|
194
|
+
| atom_expr "." name -> getattr
|
|
195
|
+
| atom
|
|
196
|
+
|
|
197
|
+
?atom: "(" yield_expr ")"
|
|
198
|
+
| "(" _tuple_inner? ")" -> tuple
|
|
199
|
+
| "(" comprehension{test_or_star_expr} ")" -> tuple_comprehension
|
|
200
|
+
| "[" _exprlist? "]" -> list
|
|
201
|
+
| "[" comprehension{test_or_star_expr} "]" -> list_comprehension
|
|
202
|
+
| "{" _dict_exprlist? "}" -> dict
|
|
203
|
+
| "{" comprehension{key_value} "}" -> dict_comprehension
|
|
204
|
+
| "{" _exprlist "}" -> set
|
|
205
|
+
| "{" comprehension{test} "}" -> set_comprehension
|
|
206
|
+
| name -> var
|
|
207
|
+
| number
|
|
208
|
+
| string_concat
|
|
209
|
+
| "(" test ")"
|
|
210
|
+
| "..." -> ellipsis
|
|
211
|
+
| "None" -> const_none
|
|
212
|
+
| "True" -> const_true
|
|
213
|
+
| "False" -> const_false
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
?string_concat: string+
|
|
217
|
+
|
|
218
|
+
_tuple_inner: test_or_star_expr (("," test_or_star_expr)+ [","] | ",")
|
|
219
|
+
|
|
220
|
+
?test_or_star_expr: test
|
|
221
|
+
| star_expr
|
|
222
|
+
|
|
223
|
+
?subscriptlist: subscript
|
|
224
|
+
| subscript (("," subscript)+ [","] | ",") -> subscript_tuple
|
|
225
|
+
?subscript: test | ([test] ":" [test] [sliceop]) -> slice
|
|
226
|
+
sliceop: ":" [test]
|
|
227
|
+
?exprlist: (expr|star_expr)
|
|
228
|
+
| (expr|star_expr) (("," (expr|star_expr))+ [","]|",")
|
|
229
|
+
?testlist: test | testlist_tuple
|
|
230
|
+
testlist_tuple: test (("," test)+ [","] | ",")
|
|
231
|
+
_dict_exprlist: (key_value | "**" expr) ("," (key_value | "**" expr))* [","]
|
|
232
|
+
|
|
233
|
+
key_value: test ":" test
|
|
234
|
+
|
|
235
|
+
_exprlist: test_or_star_expr ("," test_or_star_expr)* [","]
|
|
236
|
+
|
|
237
|
+
classdef: "class" name ["(" [arguments] ")"] ":" suite
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
arguments: argvalue ("," argvalue)* ("," [ starargs | kwargs])?
|
|
242
|
+
| starargs
|
|
243
|
+
| kwargs
|
|
244
|
+
| comprehension{test}
|
|
245
|
+
|
|
246
|
+
starargs: stararg ("," stararg)* ("," argvalue)* ["," kwargs]
|
|
247
|
+
stararg: "*" test
|
|
248
|
+
kwargs: "**" test ("," argvalue)*
|
|
249
|
+
|
|
250
|
+
?argvalue: test ("=" test)?
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
comprehension{comp_result}: comp_result comp_fors [comp_if]
|
|
254
|
+
comp_fors: comp_for+
|
|
255
|
+
comp_for: [ASYNC] "for" exprlist "in" or_test
|
|
256
|
+
ASYNC: "async"
|
|
257
|
+
?comp_if: "if" test_nocond
|
|
258
|
+
|
|
259
|
+
// not used in grammar, but may appear in "node" passed from Parser to Compiler
|
|
260
|
+
encoding_decl: name
|
|
261
|
+
|
|
262
|
+
yield_expr: "yield" [testlist]
|
|
263
|
+
| "yield" "from" test -> yield_from
|
|
264
|
+
|
|
265
|
+
number: DEC_NUMBER | HEX_NUMBER | BIN_NUMBER | OCT_NUMBER | FLOAT_NUMBER | IMAG_NUMBER
|
|
266
|
+
string: STRING | LONG_STRING
|
|
267
|
+
|
|
268
|
+
// Other terminals
|
|
269
|
+
|
|
270
|
+
_NEWLINE: ( /\r?\n[\t ]*/ | COMMENT )+
|
|
271
|
+
|
|
272
|
+
%ignore /[\t \f]+/ // WS
|
|
273
|
+
%ignore /\\[\t \f]*\r?\n/ // LINE_CONT
|
|
274
|
+
%ignore COMMENT
|
|
275
|
+
%declare _INDENT _DEDENT
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
// Python terminals
|
|
279
|
+
|
|
280
|
+
!name: NAME | "match" | "case"
|
|
281
|
+
NAME: /[^\W\d]\w*/
|
|
282
|
+
COMMENT: /#[^\n]*/
|
|
283
|
+
|
|
284
|
+
STRING: /([ubf]?r?|r[ubf])("(?!"").*?(?<!\\)(\\\\)*?"|'(?!'').*?(?<!\\)(\\\\)*?')/i
|
|
285
|
+
LONG_STRING: /([ubf]?r?|r[ubf])(""".*?(?<!\\)(\\\\)*?"""|'''.*?(?<!\\)(\\\\)*?''')/is
|
|
286
|
+
|
|
287
|
+
_SPECIAL_DEC: "0".."9" ("_"? "0".."9" )*
|
|
288
|
+
DEC_NUMBER: "1".."9" ("_"? "0".."9" )*
|
|
289
|
+
| "0" ("_"? "0" )* /(?![1-9])/
|
|
290
|
+
HEX_NUMBER.2: "0" ("x" | "X") ("_"? ("0".."9" | "a".."f" | "A".."F"))+
|
|
291
|
+
OCT_NUMBER.2: "0" ("o" | "O") ("_"? "0".."7" )+
|
|
292
|
+
BIN_NUMBER.2: "0" ("b" | "B") ("_"? "0".."1" )+
|
|
293
|
+
|
|
294
|
+
_EXP: ("e"|"E") ["+" | "-"] _SPECIAL_DEC
|
|
295
|
+
DECIMAL: "." _SPECIAL_DEC | _SPECIAL_DEC "." _SPECIAL_DEC?
|
|
296
|
+
FLOAT_NUMBER.2: _SPECIAL_DEC _EXP | DECIMAL _EXP?
|
|
297
|
+
IMAG_NUMBER.2: (_SPECIAL_DEC | FLOAT_NUMBER) ("J" | "j")
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
// Comma-separated list (with an optional trailing comma)
|
|
301
|
+
cs_list{item}: item ("," item)* ","?
|
|
302
|
+
_cs_list{item}: item ("," item)* ","?
|
|
@@ -1,40 +1,41 @@
|
|
|
1
1
|
jaclang/__init__.py,sha256=8y03wUXOs-_OI-SQfXzmQBUPHkwKyEM2zGDQvnWMS_k,693
|
|
2
2
|
jaclang/cli/__init__.py,sha256=7aaPgYddIAHBvkdv36ngbfwsimMnfGaTDcaHYMg_vf4,23
|
|
3
|
-
jaclang/cli/cli.py,sha256=
|
|
3
|
+
jaclang/cli/cli.py,sha256=L0YDfft6EWyRPGB5Rlr3qgY3yqzW99qwySNw3ncGCU4,10689
|
|
4
4
|
jaclang/cli/cmdreg.py,sha256=bn2UdOkNbE-4zfbomO2j8rTtkXhsltH4jE5rKqA5HbY,7862
|
|
5
|
-
jaclang/compiler/__init__.py,sha256=
|
|
6
|
-
jaclang/compiler/absyntree.py,sha256=
|
|
5
|
+
jaclang/compiler/__init__.py,sha256=X_n8G4KrjWePCGNC1Leo3d1is4MBer4xCHc0A4983-g,2937
|
|
6
|
+
jaclang/compiler/absyntree.py,sha256=UN9Af4M0QLCeFrC1O0qdZljHNjhZJ2pB1LQWkUZGnI0,126773
|
|
7
7
|
jaclang/compiler/codeloc.py,sha256=KMwf5OMQu3_uDjIdH7ta2piacUtXNPgUV1t8OuLjpzE,2828
|
|
8
8
|
jaclang/compiler/compile.py,sha256=fS6Uvor93EavESKrwadqp7bstcpMRRACvBkqbr4En04,2682
|
|
9
9
|
jaclang/compiler/constant.py,sha256=C8nOgWLAg-fRg8Qax_jRcYp6jGyWSSA1gwzk9Zdy7HE,6534
|
|
10
|
-
jaclang/compiler/
|
|
10
|
+
jaclang/compiler/jac.lark,sha256=9gIcsRelDZJ9SwLpUe_51t2Z-gnryrkUlD7jC1DYsZg,16971
|
|
11
|
+
jaclang/compiler/parser.py,sha256=UECRl1c9R80pHkgTeuu3krMm0D176SlZF5__QbKzcMU,135889
|
|
11
12
|
jaclang/compiler/symtable.py,sha256=SRYSwZtLHXLIOkE9CfdWDkkwx0vDLXvMeYiFfh6-wP4,5769
|
|
12
13
|
jaclang/compiler/workspace.py,sha256=auTT5VDJzwz1w8_WYlt65U6wAYxGtTl1u1v0lofOfo4,7521
|
|
13
|
-
jaclang/compiler/
|
|
14
|
-
jaclang/compiler/
|
|
14
|
+
jaclang/compiler/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
|
+
jaclang/compiler/generated/jac_parser.py,sha256=-a7cK_ZXRuxW60ZZ6eqLo4IEVTTLe2A1OQuotcjGyPc,328486
|
|
15
16
|
jaclang/compiler/passes/__init__.py,sha256=0Tw0d130ZjzA05jVcny9cf5NfLjlaM70PKqFnY4zqn4,69
|
|
16
17
|
jaclang/compiler/passes/ir_pass.py,sha256=Gwcuh3vkSpzozgQdh78GgH7tjkIouuGLmmi2Klyoctk,5490
|
|
17
18
|
jaclang/compiler/passes/transform.py,sha256=6t-bbX_s615i7_naOIBjT4wvAkvLFM4niRHYyF4my8A,2086
|
|
18
19
|
jaclang/compiler/passes/main/__init__.py,sha256=jT0AZ3-Cp4VIoJUdUAfwEdjgB0mtMRaqMIw4cjlrLvs,905
|
|
19
20
|
jaclang/compiler/passes/main/def_impl_match_pass.py,sha256=_KgAVVzMAatigKDp1vAnhyY2GcWf0rRoD8MkfYg-POU,3297
|
|
20
21
|
jaclang/compiler/passes/main/def_use_pass.py,sha256=d2REmfme2HjUj8avDcXUuPbv3yKfvYHqpL49sxniLhQ,8576
|
|
21
|
-
jaclang/compiler/passes/main/fuse_typeinfo_pass.py,sha256=
|
|
22
|
-
jaclang/compiler/passes/main/import_pass.py,sha256=
|
|
23
|
-
jaclang/compiler/passes/main/pyast_gen_pass.py,sha256=
|
|
24
|
-
jaclang/compiler/passes/main/pyast_load_pass.py,sha256=
|
|
22
|
+
jaclang/compiler/passes/main/fuse_typeinfo_pass.py,sha256=xYvcKkL_eiqFVA6FJjad-TftEDlaj-PhPCN9cRRfbiM,15943
|
|
23
|
+
jaclang/compiler/passes/main/import_pass.py,sha256=Fudh3xk-ZhQxUOkpArXfB1zfsWBLO1xqtCxXOkJF2ec,6381
|
|
24
|
+
jaclang/compiler/passes/main/pyast_gen_pass.py,sha256=GCF0pJYU7xpkJcZCobp2yAC4vLXqCEAPJ49WeICVlVA,136758
|
|
25
|
+
jaclang/compiler/passes/main/pyast_load_pass.py,sha256=kv-tx6YWsSxU71Wz9iEpIkHd49lSAzwgqBPsOmAU8Bg,87041
|
|
25
26
|
jaclang/compiler/passes/main/pybc_gen_pass.py,sha256=CjA9AqyMO3Pv_b5Hh0YI6JmCqIru2ASonO6rhrkau-M,1336
|
|
26
27
|
jaclang/compiler/passes/main/pyout_pass.py,sha256=jw-ApCvVyAqynBFCArPQ20wq2ou0s7lTCGqcUyxrJWI,3018
|
|
27
|
-
jaclang/compiler/passes/main/registry_pass.py,sha256=
|
|
28
|
+
jaclang/compiler/passes/main/registry_pass.py,sha256=VEaQKNNZZjRhgMf809X1HpytNzV2W9HyViB2SwQvxNI,4421
|
|
28
29
|
jaclang/compiler/passes/main/schedules.py,sha256=Tn_jr6Lunm3t5tAluxvE493qfa4lF2kgIQPN0J42TEE,1048
|
|
29
30
|
jaclang/compiler/passes/main/sub_node_tab_pass.py,sha256=fGgK0CBWsuD6BS4BsLwXPl1b5UC2N2YEOGa6jNMu8N8,1332
|
|
30
31
|
jaclang/compiler/passes/main/sym_tab_build_pass.py,sha256=_NPfmSnDioQb80rVmOJWO_38KCtE238jnImFNlhuYsA,40986
|
|
31
|
-
jaclang/compiler/passes/main/type_check_pass.py,sha256
|
|
32
|
+
jaclang/compiler/passes/main/type_check_pass.py,sha256=-f41Ukr3B1w4rkQdZ2xJy6nozymgnVKjJ8E1fn7qJmI,3339
|
|
32
33
|
jaclang/compiler/passes/main/tests/__init__.py,sha256=UBAATLUEH3yuBN4LYKnXXV79kokRc4XB-rX12qfu0ds,28
|
|
33
34
|
jaclang/compiler/passes/main/tests/test_decl_def_match_pass.py,sha256=QDsvTEpJt3AuS3GRwfq-1mezRCpx7rwEEyg1AbusaBs,1374
|
|
34
35
|
jaclang/compiler/passes/main/tests/test_def_use_pass.py,sha256=dmyZgXugOCN-_YY7dxkNHgt8vqey8qzNJf8sWyLLZ5w,1013
|
|
35
36
|
jaclang/compiler/passes/main/tests/test_import_pass.py,sha256=KDTIhUnAVyp0iQ64lC6RQvOkdS7CNVtVbfPbG1aX1L8,580
|
|
36
37
|
jaclang/compiler/passes/main/tests/test_pyast_build_pass.py,sha256=LIT4TP-nhtftRtY5rNySRQlim-dWMSlkfUvkhZTk4pc,1383
|
|
37
|
-
jaclang/compiler/passes/main/tests/test_pyast_gen_pass.py,sha256=
|
|
38
|
+
jaclang/compiler/passes/main/tests/test_pyast_gen_pass.py,sha256=fNL_FS26AQGlRCvwWfl-Qyt7iW2_A99GIHOAnnkpw9A,4731
|
|
38
39
|
jaclang/compiler/passes/main/tests/test_pybc_gen_pass.py,sha256=If8PE4exN5g9o1NRElNC0XdfIwJAp7M7f69rzmYRYUQ,655
|
|
39
40
|
jaclang/compiler/passes/main/tests/test_registry_pass.py,sha256=Eed94qPmO38GFVV4DARx6G0xaawAoncWfgSHja1wPeQ,1162
|
|
40
41
|
jaclang/compiler/passes/main/tests/test_sub_node_pass.py,sha256=I8m2SM2Z-OJkRG3CfpzhZkxh4lrKNtFmcu6UuYzZpY0,877
|
|
@@ -43,41 +44,42 @@ jaclang/compiler/passes/main/tests/test_type_check_pass.py,sha256=bzrVcsBZra2HkQ
|
|
|
43
44
|
jaclang/compiler/passes/main/tests/test_typeinfo_pass.py,sha256=ehC0_giLg7NwB7fR10nW5Te8mZ76qmUFxkK1bEjtmrw,129
|
|
44
45
|
jaclang/compiler/passes/tool/__init__.py,sha256=xekCOXysHIcthWm8NRmQoA1Ah1XV8vFbkfeHphJtUdc,223
|
|
45
46
|
jaclang/compiler/passes/tool/fuse_comments_pass.py,sha256=N9a84qArNuTXX1iaXsBzqcufx6A3zYq2p-1ieH6FmHc,3133
|
|
46
|
-
jaclang/compiler/passes/tool/jac_formatter_pass.py,sha256=
|
|
47
|
+
jaclang/compiler/passes/tool/jac_formatter_pass.py,sha256=YF0qthDzCq_ZZgZlm6i6IhCj7hEYDCuPUYcyQEBiiF8,77790
|
|
47
48
|
jaclang/compiler/passes/tool/schedules.py,sha256=kmbsCazAMizGAdQuZpFky5BPlYlMXqNw7wOUzdi_wBo,432
|
|
48
49
|
jaclang/compiler/passes/tool/tests/__init__.py,sha256=AeOaZjA1rf6VAr0JqIit6jlcmOzW7pxGr4U1fOwgK_Y,24
|
|
49
50
|
jaclang/compiler/passes/tool/tests/test_fuse_comments_pass.py,sha256=ZeWHsm7VIyyS8KKpoB2SdlHM4jF22fMfSrfTfxt2MQw,398
|
|
50
51
|
jaclang/compiler/passes/tool/tests/test_jac_format_pass.py,sha256=5RrRgd8WFB_5qk9mBlEgWD0GdoQu8DsG2rgRCsfoObw,4829
|
|
51
|
-
jaclang/compiler/passes/tool/tests/test_unparse_validate.py,sha256=
|
|
52
|
+
jaclang/compiler/passes/tool/tests/test_unparse_validate.py,sha256=Tg9k7BOSkWngAZLvSHmPt95ILJzdIvdHxKBT__mgpS0,2910
|
|
52
53
|
jaclang/compiler/passes/utils/__init__.py,sha256=UsI5rUopTUiStAzup4kbPwIwrnC5ofCrqWBCBbM2-k4,35
|
|
53
|
-
jaclang/compiler/passes/utils/mypy_ast_build.py,sha256=
|
|
54
|
+
jaclang/compiler/passes/utils/mypy_ast_build.py,sha256=0EJGhsdcIQoXeUbHlqZrPMa9XD69BZ5RcamrfOLKdk4,26057
|
|
54
55
|
jaclang/compiler/tests/__init__.py,sha256=qiXa5UNRBanGOcplFKTT9a_9GEyiv7goq1OzuCjDCFE,27
|
|
55
|
-
jaclang/compiler/tests/test_importer.py,sha256=
|
|
56
|
+
jaclang/compiler/tests/test_importer.py,sha256=QSzwYYsAfyU-dcEsvKp1KWZ-gEanWdjIBy5bGY3vUfw,1334
|
|
56
57
|
jaclang/compiler/tests/test_parser.py,sha256=C81mUo8EGwypPTTLRVS9BglP0Dyye9xaPSQtw7cwnnI,4814
|
|
57
58
|
jaclang/compiler/tests/test_workspace.py,sha256=SEBcvz_daTbonrLHK9FbjiH86TUbOtVGH-iZ3xkJSMk,3184
|
|
58
59
|
jaclang/compiler/tests/fixtures/__init__.py,sha256=udQ0T6rajpW_nMiYKJNckqP8izZ-pH3P4PNTJEln2NU,36
|
|
59
60
|
jaclang/compiler/tests/fixtures/activity.py,sha256=fSvxYDKufsPeQIrbuh031zHw_hdbRv5iK9mS7dD8E54,263
|
|
60
61
|
jaclang/core/__init__.py,sha256=jDDYBCV82qPhmcDVk3NIvHbhng0ebSrXD3xrojg0-eo,34
|
|
61
|
-
jaclang/core/aott.py,sha256=
|
|
62
|
-
jaclang/core/construct.py,sha256=
|
|
63
|
-
jaclang/core/importer.py,sha256=
|
|
64
|
-
jaclang/core/
|
|
65
|
-
jaclang/core/
|
|
62
|
+
jaclang/core/aott.py,sha256=_CdK1l37BK5ZCfA7NjOouH-xveWWbsBCRFz24dvsQZA,7716
|
|
63
|
+
jaclang/core/construct.py,sha256=_mYHEbUPY3Dn0rcl21eJXLqAGYH_0_C-x1K9HDa2RKk,13633
|
|
64
|
+
jaclang/core/importer.py,sha256=8aNHfUOx_Pw6Knox__n3Gq8uub0pWWmXWsW3kGPFv8k,5437
|
|
65
|
+
jaclang/core/llms.py,sha256=J05Tt4TdGG6empbTG08r6ucltD0EvYHHjJuvuvnfOC8,1097
|
|
66
|
+
jaclang/core/registry.py,sha256=4uuXahPN4SMVEWwJ6Gjm5LM14rePMGoyjQtSbDQmQZs,4178
|
|
67
|
+
jaclang/core/utils.py,sha256=Li35s4HuDreuNpsE1blv8RL0okK9wXFUqoF-XVgS6ro,7374
|
|
66
68
|
jaclang/plugin/__init__.py,sha256=qLbQ2KjwyTvlV50Q7JTIznyIzuGDPjuwM_ZJjdk-avo,182
|
|
67
69
|
jaclang/plugin/builtin.py,sha256=D1R4GGNHX96P-wZnGm9OI4dMeCJvuXuHkCw2Cl5vaAU,1201
|
|
68
|
-
jaclang/plugin/default.py,sha256=
|
|
69
|
-
jaclang/plugin/feature.py,sha256
|
|
70
|
-
jaclang/plugin/spec.py,sha256=
|
|
70
|
+
jaclang/plugin/default.py,sha256=i93ch9PhputEdwcRPDjmI5IXaEp8FDkE2Ba2njy2lzQ,23029
|
|
71
|
+
jaclang/plugin/feature.py,sha256=mkU1YwlTTvTuZ4FpsLQZCUr3mQtlp5ICAuvEft2K5QA,8782
|
|
72
|
+
jaclang/plugin/spec.py,sha256=AiJ-YJ1UiDNO7qjwdc9vK4aua2LYR7GprpVLze0O7to,7806
|
|
71
73
|
jaclang/plugin/tests/__init__.py,sha256=rn_tNG8jCHWwBc_rx4yFkGc4N1GISb7aPuTFVRTvrTk,38
|
|
72
74
|
jaclang/plugin/tests/test_features.py,sha256=uNQ52HHc0GiOGg5xUZk-ddafdtud0IHN4H_EUAs4er4,3547
|
|
73
75
|
jaclang/utils/__init__.py,sha256=86LQ_LDyWV-JFkYBpeVHpLaVxkqwFDP60XpWXOFZIQk,46
|
|
74
|
-
jaclang/utils/helpers.py,sha256=
|
|
75
|
-
jaclang/utils/lang_tools.py,sha256=
|
|
76
|
+
jaclang/utils/helpers.py,sha256=RILfJ8Xm8XksHdsY1xQEQDvbw9Wk6jkE74vp6EvngKI,5746
|
|
77
|
+
jaclang/utils/lang_tools.py,sha256=odv66Os8bJvw9JIUUkccGWvEPL98c-60veAiOiNyTy4,9956
|
|
76
78
|
jaclang/utils/log.py,sha256=G8Y_DnETgTh9xzvlW5gh9zqJ1ap4YY_MDTwIMu5Uc0Y,262
|
|
77
|
-
jaclang/utils/test.py,sha256=
|
|
79
|
+
jaclang/utils/test.py,sha256=7-2Te0GQcKY3RJfNKa3cEJjG-RMC1r-0fHuOcFXrmE8,5383
|
|
78
80
|
jaclang/utils/treeprinter.py,sha256=RV7mmnlUdla_dYxIrwxsV2F32ncgEnB9PdA3ZnKLxPE,10934
|
|
79
81
|
jaclang/utils/tests/__init__.py,sha256=8uwVqMsc6cxBAM1DuHLuNuTnzLXqOqM-WRa4ixOMF6w,23
|
|
80
|
-
jaclang/utils/tests/test_lang_tools.py,sha256=
|
|
82
|
+
jaclang/utils/tests/test_lang_tools.py,sha256=YmV1AWieSoqcxWJYnxX1Lz3dZAR0rRvz6billsGJdHY,4144
|
|
81
83
|
jaclang/vendor/__init__.py,sha256=pbflH5hBfDiKfTJEjIXId44Eof8CVmXQlZwFYDG6_4E,35
|
|
82
84
|
jaclang/vendor/mypy_extensions.py,sha256=iOL3eH2aQfacxQHcut7VgXt69Fh0BUTVW6D0TYjeV7U,6903
|
|
83
85
|
jaclang/vendor/typing_extensions.py,sha256=46svwxMQkcZjZuJyb-kYHy_FgpXPZQY4vjGJmUcVLJ0,104792
|
|
@@ -102,6 +104,10 @@ jaclang/vendor/lark/visitors.py,sha256=cO4I8kmf1IPog0ryC9N7CzAXAOQL7f_0gUwYzyoxw
|
|
|
102
104
|
jaclang/vendor/lark/__pyinstaller/__init__.py,sha256=wxmv4sc4XU2IW_RAbNnQ4CRhNm-YyjA0aLuta3XeEEQ,183
|
|
103
105
|
jaclang/vendor/lark/__pyinstaller/hook-lark.py,sha256=EAaUqqaPLMtKJjIfihW-AY8rGFKpUNE1O-NuRhW1l2Y,601
|
|
104
106
|
jaclang/vendor/lark/grammars/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
107
|
+
jaclang/vendor/lark/grammars/common.lark,sha256=FV9xGIPiPqHRM4ULAxP6jApXRTVsSwbOe697I9s7DLs,885
|
|
108
|
+
jaclang/vendor/lark/grammars/lark.lark,sha256=nq1NTZYqm_DPI2mjRIlpd3ZcxPjGhapA4GUzkcfBTQs,1541
|
|
109
|
+
jaclang/vendor/lark/grammars/python.lark,sha256=WMakTkpzCqOd0jUjYONI3LOnSy2KRN9NoL9pFtAZYCI,10641
|
|
110
|
+
jaclang/vendor/lark/grammars/unicode.lark,sha256=d9YCz0XWimdl4F8M5YCptavBcFG9D58Yd4aMwxjYtEI,96
|
|
105
111
|
jaclang/vendor/lark/parsers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
106
112
|
jaclang/vendor/lark/parsers/cyk.py,sha256=a1m24OHBVk-IJWPfmEsVUTGd6NIw6aDi41Sy6SZ3LLQ,12905
|
|
107
113
|
jaclang/vendor/lark/parsers/earley.py,sha256=D530X_ivF51IULLxpRs6D5LEBDGgk-XhsbyXuuC1i0I,16002
|
|
@@ -403,8 +409,8 @@ jaclang/vendor/pluggy/_manager.py,sha256=fcYU7VER0CplRym4jAJ7RCFYl6cfDSeVM589YHH
|
|
|
403
409
|
jaclang/vendor/pluggy/_result.py,sha256=wXDoVy68bOaOrBzQ0bWFb3HTbpqhvdQMgYwaZvfzxfA,3239
|
|
404
410
|
jaclang/vendor/pluggy/_tracing.py,sha256=kSBr25F_rNklV2QhLD6h1jx6Z1kcKDRbuYvF5jv35pU,2089
|
|
405
411
|
jaclang/vendor/pluggy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
406
|
-
jaclang-0.5.
|
|
407
|
-
jaclang-0.5.
|
|
408
|
-
jaclang-0.5.
|
|
409
|
-
jaclang-0.5.
|
|
410
|
-
jaclang-0.5.
|
|
412
|
+
jaclang-0.5.15.dist-info/METADATA,sha256=PcmcEKAg7Gm_WcCGkyIrKlfLnNsMCIc_olR5i5EshNY,153
|
|
413
|
+
jaclang-0.5.15.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
414
|
+
jaclang-0.5.15.dist-info/entry_points.txt,sha256=Z-snS3MDBdV1Z4znXDZTenyyndovaNjqRkDW1t2kYSs,50
|
|
415
|
+
jaclang-0.5.15.dist-info/top_level.txt,sha256=ZOAoLpE67ozkUJd-v3C59wBNXiteRD8IWPbsYB3M08g,8
|
|
416
|
+
jaclang-0.5.15.dist-info/RECORD,,
|