zexus 1.6.2 → 1.6.4
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.
- package/README.md +165 -5
- package/package.json +1 -1
- package/src/zexus/__init__.py +1 -1
- package/src/zexus/access_control_system/__init__.py +38 -0
- package/src/zexus/access_control_system/access_control.py +237 -0
- package/src/zexus/cli/main.py +1 -1
- package/src/zexus/cli/zpm.py +1 -1
- package/src/zexus/debug_sanitizer.py +250 -0
- package/src/zexus/error_reporter.py +22 -2
- package/src/zexus/evaluator/core.py +17 -21
- package/src/zexus/evaluator/expressions.py +116 -57
- package/src/zexus/evaluator/functions.py +613 -170
- package/src/zexus/evaluator/resource_limiter.py +291 -0
- package/src/zexus/evaluator/statements.py +47 -12
- package/src/zexus/evaluator/utils.py +12 -6
- package/src/zexus/lsp/server.py +1 -1
- package/src/zexus/object.py +21 -2
- package/src/zexus/parser/parser.py +56 -4
- package/src/zexus/parser/strategy_context.py +83 -7
- package/src/zexus/parser/strategy_structural.py +12 -4
- package/src/zexus/persistence.py +105 -6
- package/src/zexus/security.py +43 -25
- package/src/zexus/security_enforcement.py +237 -0
- package/src/zexus/stdlib/fs.py +120 -22
- package/src/zexus/zexus_ast.py +3 -2
- package/src/zexus/zpm/package_manager.py +1 -1
- package/src/zexus.egg-info/PKG-INFO +499 -13
- package/src/zexus.egg-info/SOURCES.txt +258 -152
|
@@ -1,44 +1,56 @@
|
|
|
1
1
|
.gitattributes
|
|
2
2
|
.gitignore
|
|
3
|
-
ALL_ISSUES_FIXED_FINAL_REPORT.md
|
|
4
3
|
CHANGELOG.md
|
|
5
|
-
|
|
6
|
-
DEV_SCRIPTS_README.md
|
|
7
|
-
FRIEND_PROOF.md
|
|
4
|
+
FIX_SUMMARY.md
|
|
8
5
|
LICENSE
|
|
9
|
-
|
|
10
|
-
PUBLISH_TO_PYPI.md
|
|
11
|
-
QUESTIONS_ANSWERED.md
|
|
6
|
+
PUBLISH_TO_NPM.md
|
|
12
7
|
README.md
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
8
|
+
SECURITY_ACTION_PLAN.md
|
|
9
|
+
SECURITY_QUICK_REFERENCE.md
|
|
10
|
+
SECURITY_REMEDIATION_COMPLETE.md
|
|
11
|
+
VULNERABILITY_FINDINGS.md
|
|
12
|
+
VULNERABILITY_TEST_RESULTS.md
|
|
13
|
+
any.zx
|
|
14
|
+
check_verify_ast.py
|
|
15
|
+
comprehensive_test.zx
|
|
20
16
|
crypto.zx
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
debug_parse.py
|
|
18
|
+
debug_persist_ultimate.zx
|
|
19
|
+
demo_backend_server.zx
|
|
20
|
+
demo_backend_simple.zx
|
|
21
|
+
demo_simple_working.zx
|
|
23
22
|
dynamic.zx
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
generated.zx
|
|
27
|
-
gitignore
|
|
23
|
+
dynamic_math.zx
|
|
24
|
+
fix_type_checks.py
|
|
28
25
|
index.zx
|
|
29
26
|
install.sh
|
|
30
|
-
|
|
27
|
+
package.json
|
|
31
28
|
pyproject.toml
|
|
32
29
|
pytest.ini
|
|
33
|
-
script.py
|
|
34
30
|
setup.cfg
|
|
35
31
|
setup.py
|
|
36
32
|
setup_stdlib.sh
|
|
37
|
-
shared.txt
|
|
38
33
|
shared_config.json
|
|
34
|
+
test_const_time_debug.zx
|
|
35
|
+
test_contract_assignment.zx
|
|
36
|
+
test_contract_debug.zx
|
|
37
|
+
test_contract_map.zx
|
|
38
|
+
test_data.json
|
|
39
|
+
test_entity_debug.zx
|
|
40
|
+
test_map_assignment.zx
|
|
41
|
+
test_map_debug.zx
|
|
42
|
+
test_map_len.zx
|
|
43
|
+
test_map_persistence.zx
|
|
44
|
+
test_nested_map_assignment.zx
|
|
45
|
+
test_simple_contract.zx
|
|
46
|
+
test_sqlite_python.py
|
|
47
|
+
test_state_variable_type.zx
|
|
48
|
+
test_storage_init.zx
|
|
49
|
+
test_storage_types.zx
|
|
39
50
|
ultimate_test.zx
|
|
40
51
|
zexus.json
|
|
41
|
-
|
|
52
|
+
zpics
|
|
53
|
+
zpm
|
|
42
54
|
zx
|
|
43
55
|
zx-deploy
|
|
44
56
|
zx-dev
|
|
@@ -52,118 +64,153 @@ zx.bin
|
|
|
52
64
|
.vscode/extensions/zexus-language/package.json
|
|
53
65
|
.vscode/extensions/zexus-language/snippets/zexus.json
|
|
54
66
|
.vscode/extensions/zexus-language/syntaxes/zexus.tmLanguage.json
|
|
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
|
-
|
|
67
|
+
.zpics_runtime/function_calls_after_let.json
|
|
68
|
+
.zpics_runtime/mixed_statement_boundaries.json
|
|
69
|
+
.zpics_runtime/nested_expressions.json
|
|
70
|
+
.zpics_runtime/persistence_after_assignment.json
|
|
71
|
+
.zpics_runtime/property_assignments.json
|
|
72
|
+
.zpics_runtime/type_annotations.json
|
|
73
|
+
.zpics_snapshots/function_calls_after_let.json
|
|
74
|
+
.zpics_snapshots/mixed_statement_boundaries.json
|
|
75
|
+
.zpics_snapshots/nested_expressions.json
|
|
76
|
+
.zpics_snapshots/persistence_after_assignment.json
|
|
77
|
+
.zpics_snapshots/property_assignments.json
|
|
78
|
+
.zpics_snapshots/type_annotations.json
|
|
79
|
+
archive/README.md
|
|
80
|
+
archive/dev-notes/DEV_SCRIPTS_README.md
|
|
81
|
+
archive/dev-notes/README.old.md
|
|
82
|
+
archive/dev-notes/VM_QUICK_REFERENCE.md
|
|
83
|
+
archive/dev-scripts/check_compiler_parser.py
|
|
84
|
+
archive/dev-scripts/check_lexer_module.py
|
|
85
|
+
archive/dev-scripts/check_parser_config.py
|
|
86
|
+
archive/dev-scripts/check_parser_differences.py
|
|
87
|
+
archive/dev-scripts/check_parser_setup.py
|
|
88
|
+
archive/dev-scripts/check_tokens.py
|
|
89
|
+
archive/dev-scripts/compare_lexers.py
|
|
90
|
+
archive/dev-scripts/compile_repro.py
|
|
91
|
+
archive/dev-scripts/debug_closure.py
|
|
92
|
+
archive/dev-scripts/debug_closure_detailed.py
|
|
93
|
+
archive/dev-scripts/debug_closure_full.py
|
|
94
|
+
archive/dev-scripts/debug_closure_instrumented.py
|
|
95
|
+
archive/dev-scripts/debug_function_params.py
|
|
96
|
+
archive/dev-scripts/debug_map_parsing.py
|
|
97
|
+
archive/dev-scripts/debug_module.py
|
|
98
|
+
archive/dev-scripts/debug_module_ast.py
|
|
99
|
+
archive/dev-scripts/debug_parser.py
|
|
100
|
+
archive/dev-scripts/debug_parser_function.py
|
|
101
|
+
archive/dev-scripts/debug_phase10_params.py
|
|
102
|
+
archive/dev-scripts/debug_tokens.py
|
|
103
|
+
archive/dev-scripts/final_validation.py
|
|
104
|
+
archive/dev-scripts/inspect_closure_bc.py
|
|
105
|
+
archive/dev-scripts/investigate_compiler.py
|
|
106
|
+
archive/dev-scripts/lexer_fixed.py
|
|
107
|
+
archive/dev-scripts/main.spec
|
|
108
|
+
archive/dev-scripts/parser_fixed.py
|
|
109
|
+
archive/dev-scripts/run_repro.py
|
|
110
|
+
archive/dev-scripts/temp_head.py
|
|
111
|
+
archive/dev-scripts/temp_import.py
|
|
112
|
+
archive/dev-scripts/tmp_all.zx
|
|
113
|
+
archive/dev-scripts/tmp_arrow_test.py
|
|
114
|
+
archive/dev-scripts/tmp_concat_func.zx
|
|
115
|
+
archive/dev-scripts/tmp_debug_print.zx
|
|
116
|
+
archive/dev-scripts/tmp_func.zx
|
|
117
|
+
archive/dev-scripts/tmp_map.zx
|
|
118
|
+
archive/dev-scripts/tmp_parse_test.py
|
|
119
|
+
archive/dev-scripts/tmp_run.py
|
|
120
|
+
archive/dev-scripts/token.py
|
|
121
|
+
archive/dev-scripts/verify_integration.py
|
|
122
|
+
archive/dev-scripts/zexus_ast.py
|
|
123
|
+
archive/dev-scripts/zexus_compiler.spec
|
|
124
|
+
archive/dev-scripts/zexus_token.py
|
|
125
|
+
archive/proofs/FRIEND_PROOF.md
|
|
126
|
+
archive/proofs/PROOF_FRIEND_WRONG.md
|
|
127
|
+
archive/reports/ALL_ISSUES_FIXED_FINAL_REPORT.md
|
|
128
|
+
archive/reports/VM_INTEGRATION_STATUS.md
|
|
129
|
+
archive/summaries/CONTINUE_IMPLEMENTATION_SUMMARY.md
|
|
130
|
+
archive/summaries/QUESTIONS_ANSWERED.md
|
|
131
|
+
archive/summaries/VSCODE_IMPLEMENTATION_SUMMARY.md
|
|
132
|
+
archive/temp-files/math_ops.cpp
|
|
133
|
+
archive/temp-files/zexus_compiler.py.backup
|
|
134
|
+
bin/zexus
|
|
135
|
+
bin/zpics
|
|
136
|
+
bin/zpm
|
|
137
|
+
bin/zx
|
|
138
|
+
bin/zx-deploy
|
|
139
|
+
bin/zx-dev
|
|
140
|
+
bin/zx-run
|
|
141
|
+
docs/ADVANCED_TESTING_COMPLETION_REPORT.md
|
|
130
142
|
docs/ARCHITECTURE.md
|
|
131
143
|
docs/ASYNC_IMPLEMENTATION_PLAN.md
|
|
132
144
|
docs/BLOCKCHAIN_FEATURES.md
|
|
133
145
|
docs/CONCURRENCY.md
|
|
146
|
+
docs/CONTRACT_ACCESS_CONTROL.md
|
|
147
|
+
docs/CRYPTO_FUNCTIONS.md
|
|
148
|
+
docs/DEBUG_SANITIZATION.md
|
|
134
149
|
docs/DOCUMENTATION_INDEX.md
|
|
150
|
+
docs/ECOSYSTEM_GUIDE.md
|
|
151
|
+
docs/ECOSYSTEM_ROADMAP_VISUAL.md
|
|
152
|
+
docs/ECOSYSTEM_STRATEGY.md
|
|
153
|
+
docs/EDGE_CASE_TESTING_REPORT.md
|
|
135
154
|
docs/ERROR_REPORTING.md
|
|
155
|
+
docs/FINAL_STABILITY_REPORT.md
|
|
136
156
|
docs/GITHUB_LINGUIST_SUBMISSION.md
|
|
137
157
|
docs/INDEX.md
|
|
158
|
+
docs/INTEGER_OVERFLOW_PROTECTION.md
|
|
138
159
|
docs/ISSUES.md
|
|
139
160
|
docs/MAIN_ENTRY_POINT.md
|
|
140
161
|
docs/MAIN_ENTRY_POINT_ENHANCEMENTS.md
|
|
162
|
+
docs/MANDATORY_SANITIZATION.md
|
|
141
163
|
docs/MODULE_SYSTEM.md
|
|
142
164
|
docs/ORGANIZATION.md
|
|
165
|
+
docs/PACKAGE_DEVELOPMENT.md
|
|
143
166
|
docs/PARSER_OPTIMIZATION_GUIDE.md
|
|
144
167
|
docs/PERFORMANCE_FEATURES.md
|
|
145
168
|
docs/PHILOSOPHY.md
|
|
146
169
|
docs/PLUGIN_QUICK_REFERENCE.md
|
|
147
170
|
docs/PLUGIN_SYSTEM.md
|
|
171
|
+
docs/QUICK_REFERENCE.md
|
|
148
172
|
docs/QUICK_START.md
|
|
149
173
|
docs/README.md
|
|
174
|
+
docs/RESOURCE_LIMITS.md
|
|
150
175
|
docs/SECURITY_FEATURES.md
|
|
151
176
|
docs/SECURITY_FEATURES_GUIDE.zx
|
|
177
|
+
docs/SECURITY_FIXES_SUMMARY.md
|
|
178
|
+
docs/STABILITY_AND_EDGE_CASE_SUMMARY.md
|
|
152
179
|
docs/STATUS.md
|
|
153
180
|
docs/TEST_ISSUES_REPORT.md
|
|
181
|
+
docs/TYPE_SAFETY.md
|
|
182
|
+
docs/WAITGROUP_BARRIER.md
|
|
154
183
|
docs/WATCH_FEATURE.md
|
|
155
184
|
docs/ZPM_GUIDE.md
|
|
156
185
|
docs/future_implentations.md
|
|
186
|
+
docs/archive/README.md
|
|
187
|
+
docs/archive/enhancement-package/00_START_HERE.md
|
|
188
|
+
docs/archive/enhancement-package/AUDIT_IMPLEMENTATION.md
|
|
189
|
+
docs/archive/enhancement-package/BUSINESS_IMPACT.md
|
|
190
|
+
docs/archive/enhancement-package/CODE_EXAMPLES.md
|
|
191
|
+
docs/archive/enhancement-package/CONVENIENCE_ADVANCED_FEATURES_IMPLEMENTATION.md
|
|
192
|
+
docs/archive/enhancement-package/DELIVERY_SUMMARY.md
|
|
193
|
+
docs/archive/enhancement-package/EXECUTIVE_SUMMARY.md
|
|
194
|
+
docs/archive/enhancement-package/FINAL_SUMMARY.md
|
|
195
|
+
docs/archive/enhancement-package/IMPLEMENTATION_GUIDE.md
|
|
196
|
+
docs/archive/enhancement-package/INDEX.md
|
|
197
|
+
docs/archive/enhancement-package/PERFORMANCE_FEATURES_IMPLEMENTATION.md
|
|
198
|
+
docs/archive/enhancement-package/RESTRICT_SANDBOX_TRAIL_IMPLEMENTATION.md
|
|
199
|
+
docs/archive/enhancement-package/ROADMAP.md
|
|
200
|
+
docs/archive/enhancement-package/STRATEGIC_FEATURES.md
|
|
201
|
+
docs/archive/enhancement-package/STRATEGIC_UPGRADES.md
|
|
157
202
|
docs/guides/PLUGIN_SYSTEM_GUIDE.md
|
|
158
203
|
docs/keywords/ACTION_FUNCTION_LAMBDA_RETURN.md
|
|
159
204
|
docs/keywords/ADVANCED_FEATURES.md
|
|
160
205
|
docs/keywords/ADVANCED_KEYWORDS.md
|
|
206
|
+
docs/keywords/AI_ML_KEYWORDS.md
|
|
161
207
|
docs/keywords/ASYNC_AWAIT.md
|
|
162
208
|
docs/keywords/ASYNC_CONCURRENCY.md
|
|
163
209
|
docs/keywords/ASYNC_SYSTEM_FIXED.md
|
|
164
210
|
docs/keywords/ASYNC_SYSTEM_STATUS_REPORT.md
|
|
165
211
|
docs/keywords/BLOCKCHAIN_KEYWORDS.md
|
|
166
212
|
docs/keywords/BLOCKCHAIN_STATE.md
|
|
213
|
+
docs/keywords/BREAK.md
|
|
167
214
|
docs/keywords/CAPABILITY_VALIDATION.md
|
|
168
215
|
docs/keywords/COMMAND_audit.md
|
|
169
216
|
docs/keywords/COMMAND_buffer.md
|
|
@@ -184,8 +231,11 @@ docs/keywords/COMMAND_watch.md
|
|
|
184
231
|
docs/keywords/CONST.md
|
|
185
232
|
docs/keywords/CONTINUE.md
|
|
186
233
|
docs/keywords/DATA.md
|
|
234
|
+
docs/keywords/DATABASE_KEYWORDS.md
|
|
187
235
|
docs/keywords/ERROR_HANDLING.md
|
|
188
236
|
docs/keywords/EVENTS_REACTIVE.md
|
|
237
|
+
docs/keywords/GUI_KEYWORDS.md
|
|
238
|
+
docs/keywords/HTTP_KEYWORDS.md
|
|
189
239
|
docs/keywords/IF_ELIF_ELSE.md
|
|
190
240
|
docs/keywords/KEYWORD_TESTING_INDEX.md
|
|
191
241
|
docs/keywords/KEYWORD_TESTING_MASTER_LIST.md
|
|
@@ -199,24 +249,38 @@ docs/keywords/PRINT_DEBUG.md
|
|
|
199
249
|
docs/keywords/RENDERER_UI.md
|
|
200
250
|
docs/keywords/SECURITY.md
|
|
201
251
|
docs/keywords/SPECIAL_KEYWORDS.md
|
|
252
|
+
docs/keywords/THIS.md
|
|
253
|
+
docs/keywords/THROW.md
|
|
202
254
|
docs/keywords/WHILE_FOR_EACH_IN.md
|
|
255
|
+
docs/keywords/ZPICS.md
|
|
203
256
|
docs/keywords/features/10-PHASE_COMPLETE.md
|
|
204
257
|
docs/keywords/features/ADVANCED_FEATURES_IMPLEMENTATION.md
|
|
205
258
|
docs/keywords/features/ADVANCED_PARSER_FIX_SUMMARY.md
|
|
259
|
+
docs/keywords/features/AI_ASSISTANT_GUIDE.md
|
|
260
|
+
docs/keywords/features/ANSWERS_TO_YOUR_QUESTIONS.md
|
|
206
261
|
docs/keywords/features/ASYNC_OPTIMIZER.md
|
|
262
|
+
docs/keywords/features/ASYNC_STATUS.md
|
|
207
263
|
docs/keywords/features/AUDIT_COMPLETION_SUMMARY.md
|
|
208
264
|
docs/keywords/features/AUDIT_SECURITY_INTEGRATION.md
|
|
265
|
+
docs/keywords/features/BACKEND_BLOCKCHAIN_GUIDE.md
|
|
209
266
|
docs/keywords/features/BLOCKCHAIN_IMPLEMENTATION.md
|
|
210
267
|
docs/keywords/features/BLOCKCHAIN_PARSER_EVALUATOR_INTEGRATION.md
|
|
268
|
+
docs/keywords/features/CAPABILITIES_TRACKER.md
|
|
269
|
+
docs/keywords/features/CHANGELOG.md
|
|
270
|
+
docs/keywords/features/CLI_FRAMEWORK.md
|
|
211
271
|
docs/keywords/features/COMPREHENSIVE_VERIFICATION_REPORT.md
|
|
272
|
+
docs/keywords/features/DATABASE_DRIVERS.md
|
|
212
273
|
docs/keywords/features/FIXES_SUMMARY.md
|
|
213
274
|
docs/keywords/features/FIX_ISSUES_5_6_SUMMARY.md
|
|
214
275
|
docs/keywords/features/FIX_SUMMARY.md
|
|
276
|
+
docs/keywords/features/HTTP_SERVER.md
|
|
215
277
|
docs/keywords/features/IF_STATEMENT_PARSER_FIX.md
|
|
216
278
|
docs/keywords/features/IF_THEN_ELSE_IMPLEMENTATION.md
|
|
279
|
+
docs/keywords/features/IMPLEMENTATION_COMPLETE.md
|
|
217
280
|
docs/keywords/features/IMPLEMENTATION_SUMMARY.md
|
|
218
281
|
docs/keywords/features/INTEGRATION_COMPLETE.md
|
|
219
282
|
docs/keywords/features/INTEGRATION_COMPLETE_SUMMARY.md
|
|
283
|
+
docs/keywords/features/ISSUE_RESOLUTION_SUMMARY.md
|
|
220
284
|
docs/keywords/features/KEYWORD_AFTER_DOT.md
|
|
221
285
|
docs/keywords/features/KEYWORD_AFTER_DOT_IMPLEMENTATION.md
|
|
222
286
|
docs/keywords/features/MAIN_ENTRY_POINT_IMPLEMENTATION.md
|
|
@@ -235,7 +299,12 @@ docs/keywords/features/PHASE_5_REGISTER_VM_COMPLETE.md
|
|
|
235
299
|
docs/keywords/features/PHASE_6_COMPLETION_REPORT.md
|
|
236
300
|
docs/keywords/features/PHASE_6_PARALLEL_VM_COMPLETE.md
|
|
237
301
|
docs/keywords/features/PHASE_7_MEMORY_MANAGEMENT_COMPLETE.md
|
|
302
|
+
docs/keywords/features/PRINT_STATEMENT_FIX.md
|
|
238
303
|
docs/keywords/features/PROFILER_USAGE_GUIDE.md
|
|
304
|
+
docs/keywords/features/PUBLISH_TO_PYPI.md
|
|
305
|
+
docs/keywords/features/REGRESSION_ISSUES_TRACKER.md
|
|
306
|
+
docs/keywords/features/REMAINING_ISSUES.md
|
|
307
|
+
docs/keywords/features/REPOSITORY_STRUCTURE.md
|
|
239
308
|
docs/keywords/features/REQUIRE_TOLERANCE_IMPLEMENTATION.md
|
|
240
309
|
docs/keywords/features/SEAL_IMPLEMENTATION_SUMMARY.md
|
|
241
310
|
docs/keywords/features/SECURITY_IMPLEMENTATION.md
|
|
@@ -243,6 +312,7 @@ docs/keywords/features/SECURITY_IMPLEMENTATION_SUMMARY.md
|
|
|
243
312
|
docs/keywords/features/SESSION_COMPLETION_SUMMARY.md
|
|
244
313
|
docs/keywords/features/SESSION_PARSER_FIX_SUMMARY.md
|
|
245
314
|
docs/keywords/features/SSA_AND_REGISTER_ALLOCATION.md
|
|
315
|
+
docs/keywords/features/TESTING_FRAMEWORK.md
|
|
246
316
|
docs/keywords/features/TEST_SUITE_DOCUMENTATION.md
|
|
247
317
|
docs/keywords/features/VERIFY_ENHANCEMENT_GUIDE.md
|
|
248
318
|
docs/keywords/features/VERIFY_IMPLEMENTATION_SUMMARY.md
|
|
@@ -253,15 +323,22 @@ docs/keywords/features/VM_INTEGRATION_COMPLETE.md
|
|
|
253
323
|
docs/keywords/features/VM_INTEGRATION_SUMMARY.md
|
|
254
324
|
docs/keywords/features/VM_OPTIMIZATION_PHASE_8_MASTER_LIST.md
|
|
255
325
|
docs/keywords/features/ZEXUS_IN_ACTION.md
|
|
326
|
+
docs/keywords/features/ZPM_TEST_REPORT.md
|
|
256
327
|
docs/keywords/features/evaluator_export_compiler_summary.md
|
|
257
328
|
docs/keywords/features/installation_paths_summary.md
|
|
258
329
|
docs/keywords/features/module_cache.md
|
|
259
330
|
docs/keywords/features/parser_fix_summary.md
|
|
260
331
|
docs/keywords/features/parsing_fixes_summary.md
|
|
261
|
-
|
|
332
|
+
docs/packages/README.md
|
|
333
|
+
docs/packages/ZEXUS_AI_PACKAGE.md
|
|
334
|
+
docs/packages/ZEXUS_DB_PACKAGE.md
|
|
335
|
+
docs/packages/ZEXUS_GUI_PACKAGE.md
|
|
336
|
+
docs/packages/ZEXUS_WEB_PACKAGE.md
|
|
262
337
|
docs/profiler/PROFILER_GUIDE.md
|
|
338
|
+
docs/stdlib/BLOCKCHAIN_MODULE.md
|
|
339
|
+
docs/stdlib/CRYPTO_MODULE.md
|
|
340
|
+
docs/stdlib/INTEGRATION.md
|
|
263
341
|
docs/stdlib/README.md
|
|
264
|
-
main
|
|
265
342
|
examples/MAIN_ENTRY_POINT_EXAMPLES.md
|
|
266
343
|
examples/action_literal_test.zx
|
|
267
344
|
examples/daemon_example.zx
|
|
@@ -280,8 +357,13 @@ examples/simple_action_test.zx
|
|
|
280
357
|
examples/simple_run_example.zx
|
|
281
358
|
examples/simple_test.zx
|
|
282
359
|
examples/test.zx
|
|
360
|
+
examples/test_mongo.zx
|
|
361
|
+
examples/test_mysql.zx
|
|
362
|
+
examples/test_postgres.zx
|
|
363
|
+
examples/test_sqlite.zx
|
|
283
364
|
examples/token_contract.zx
|
|
284
365
|
examples/ziver_chain_test.zx
|
|
366
|
+
issues/ISSUSE1.md
|
|
285
367
|
linguist-submission/SUBMISSION_INSTRUCTIONS.md
|
|
286
368
|
linguist-submission/grammars.yml
|
|
287
369
|
linguist-submission/languages.yml
|
|
@@ -300,59 +382,14 @@ renderer/painter.py
|
|
|
300
382
|
samples/basic.zx
|
|
301
383
|
samples/blockchain.zx
|
|
302
384
|
samples/security.zx
|
|
385
|
+
scripts/README.md
|
|
303
386
|
scripts/__init__.py.bak
|
|
304
387
|
scripts/__main__.py
|
|
305
|
-
scripts/check_compiler_parser.py
|
|
306
|
-
scripts/check_lexer_module.py
|
|
307
|
-
scripts/check_parser_config.py
|
|
308
|
-
scripts/check_parser_differences.py
|
|
309
|
-
scripts/check_parser_setup.py
|
|
310
|
-
scripts/check_tokens.py
|
|
311
|
-
scripts/compare_lexers.py
|
|
312
|
-
scripts/compile_repro.py
|
|
313
|
-
scripts/debug_closure.py
|
|
314
|
-
scripts/debug_closure_detailed.py
|
|
315
|
-
scripts/debug_closure_full.py
|
|
316
|
-
scripts/debug_closure_instrumented.py
|
|
317
|
-
scripts/debug_function_params.py
|
|
318
|
-
scripts/debug_map_parsing.py
|
|
319
|
-
scripts/debug_module.py
|
|
320
|
-
scripts/debug_module_ast.py
|
|
321
|
-
scripts/debug_parser.py
|
|
322
|
-
scripts/debug_parser_function.py
|
|
323
|
-
scripts/debug_phase10_params.py
|
|
324
|
-
scripts/debug_tokens.py
|
|
325
|
-
scripts/final_validation.py
|
|
326
388
|
scripts/fixed_parser.py
|
|
327
|
-
scripts/inspect_closure_bc.py
|
|
328
389
|
scripts/integration_demo.py
|
|
329
|
-
scripts/investigate_compiler.py
|
|
330
|
-
scripts/lexer_fixed.py
|
|
331
390
|
scripts/main.py
|
|
332
|
-
scripts/
|
|
333
|
-
scripts/parser_fixed.py
|
|
334
|
-
scripts/run_repro.py
|
|
391
|
+
scripts/postinstall.js
|
|
335
392
|
scripts/run_zexus_tests.py
|
|
336
|
-
scripts/temp_head.py
|
|
337
|
-
scripts/temp_import.py
|
|
338
|
-
scripts/test_basic.txt
|
|
339
|
-
scripts/test_log.txt
|
|
340
|
-
scripts/test_minimal.txt
|
|
341
|
-
scripts/test_results.txt
|
|
342
|
-
scripts/test_working.txt
|
|
343
|
-
scripts/tmp_all.zx
|
|
344
|
-
scripts/tmp_arrow_test.py
|
|
345
|
-
scripts/tmp_concat_func.zx
|
|
346
|
-
scripts/tmp_debug_print.zx
|
|
347
|
-
scripts/tmp_func.zx
|
|
348
|
-
scripts/tmp_map.zx
|
|
349
|
-
scripts/tmp_parse_test.py
|
|
350
|
-
scripts/tmp_run.py
|
|
351
|
-
scripts/token.py
|
|
352
|
-
scripts/verify_integration.py
|
|
353
|
-
scripts/zexus_ast.py
|
|
354
|
-
scripts/zexus_compiler.spec
|
|
355
|
-
scripts/zexus_token.py
|
|
356
393
|
scripts/zpm.py
|
|
357
394
|
scripts/zx-luncher.py
|
|
358
395
|
src/README.md
|
|
@@ -385,6 +422,7 @@ src/zexus/complexity_system.py
|
|
|
385
422
|
src/zexus/concurrency_system.py
|
|
386
423
|
src/zexus/config.py
|
|
387
424
|
src/zexus/crypto_bridge.py
|
|
425
|
+
src/zexus/debug_sanitizer.py
|
|
388
426
|
src/zexus/dependency_injection.py
|
|
389
427
|
src/zexus/ecosystem.py
|
|
390
428
|
src/zexus/environment.py
|
|
@@ -394,6 +432,7 @@ src/zexus/evaluator_original.py
|
|
|
394
432
|
src/zexus/external_bridge.py
|
|
395
433
|
src/zexus/find_affected_imports.sh
|
|
396
434
|
src/zexus/hybrid_orchestrator.py
|
|
435
|
+
src/zexus/input_validation.py
|
|
397
436
|
src/zexus/lexer.py
|
|
398
437
|
src/zexus/logging.py
|
|
399
438
|
src/zexus/metaprogramming.py
|
|
@@ -407,6 +446,7 @@ src/zexus/policy_engine.py
|
|
|
407
446
|
src/zexus/purity_system.py
|
|
408
447
|
src/zexus/search_old_imports.sh
|
|
409
448
|
src/zexus/security.py
|
|
449
|
+
src/zexus/security_enforcement.py
|
|
410
450
|
src/zexus/stack_trace.py
|
|
411
451
|
src/zexus/stdlib_integration.py
|
|
412
452
|
src/zexus/strategy_recovery.py
|
|
@@ -423,6 +463,8 @@ src/zexus.egg-info/entry_points.txt
|
|
|
423
463
|
src/zexus.egg-info/not-zip-safe
|
|
424
464
|
src/zexus.egg-info/requires.txt
|
|
425
465
|
src/zexus.egg-info/top_level.txt
|
|
466
|
+
src/zexus/access_control_system/__init__.py
|
|
467
|
+
src/zexus/access_control_system/access_control.py
|
|
426
468
|
src/zexus/blockchain/__init__.py
|
|
427
469
|
src/zexus/blockchain/crypto.py
|
|
428
470
|
src/zexus/blockchain/ledger.py
|
|
@@ -443,34 +485,46 @@ src/zexus/evaluator/core.py
|
|
|
443
485
|
src/zexus/evaluator/expressions.py
|
|
444
486
|
src/zexus/evaluator/functions.py
|
|
445
487
|
src/zexus/evaluator/integration.py
|
|
488
|
+
src/zexus/evaluator/resource_limiter.py
|
|
446
489
|
src/zexus/evaluator/statements.py
|
|
447
490
|
src/zexus/evaluator/utils.py
|
|
448
|
-
copilot/fix-issues-and-documentation
|
|
449
491
|
src/zexus/lsp/__init__.py
|
|
450
492
|
src/zexus/lsp/completion_provider.py
|
|
451
493
|
src/zexus/lsp/definition_provider.py
|
|
452
494
|
src/zexus/lsp/hover_provider.py
|
|
453
495
|
src/zexus/lsp/server.py
|
|
454
496
|
src/zexus/lsp/symbol_provider.py
|
|
455
|
-
main
|
|
456
497
|
src/zexus/parser/__init__.py
|
|
457
498
|
src/zexus/parser/integration.py
|
|
458
499
|
src/zexus/parser/parser.py
|
|
459
500
|
src/zexus/parser/strategy_context.py
|
|
460
501
|
src/zexus/parser/strategy_structural.py
|
|
461
|
-
copilot/fix-issues-and-documentation
|
|
462
502
|
src/zexus/profiler/__init__.py
|
|
463
503
|
src/zexus/profiler/profiler.py
|
|
464
|
-
main
|
|
465
504
|
src/zexus/runtime/__init__.py
|
|
466
505
|
src/zexus/runtime/async_runtime.py
|
|
467
506
|
src/zexus/stdlib/__init__.py
|
|
468
507
|
src/zexus/stdlib/blockchain.py
|
|
508
|
+
src/zexus/stdlib/compression.py
|
|
469
509
|
src/zexus/stdlib/crypto.py
|
|
470
510
|
src/zexus/stdlib/datetime.py
|
|
511
|
+
src/zexus/stdlib/db_mongo.py
|
|
512
|
+
src/zexus/stdlib/db_mysql.py
|
|
513
|
+
src/zexus/stdlib/db_postgres.py
|
|
514
|
+
src/zexus/stdlib/db_sqlite.py
|
|
515
|
+
src/zexus/stdlib/encoding.py
|
|
471
516
|
src/zexus/stdlib/fs.py
|
|
472
517
|
src/zexus/stdlib/http.py
|
|
518
|
+
src/zexus/stdlib/http_server.py
|
|
473
519
|
src/zexus/stdlib/json_module.py
|
|
520
|
+
src/zexus/stdlib/math.py
|
|
521
|
+
src/zexus/stdlib/os_module.py
|
|
522
|
+
src/zexus/stdlib/regex.py
|
|
523
|
+
src/zexus/stdlib/sockets.py
|
|
524
|
+
src/zexus/stdlib/test_framework.zx
|
|
525
|
+
src/zexus/stdlib/test_runner.zx
|
|
526
|
+
src/zexus/testing/zpics.py
|
|
527
|
+
src/zexus/testing/zpics_runtime.py
|
|
474
528
|
src/zexus/vm/__init__.py
|
|
475
529
|
src/zexus/vm/async_optimizer.py
|
|
476
530
|
src/zexus/vm/bytecode.py
|
|
@@ -498,6 +552,7 @@ tests/comprehensive_test.zx
|
|
|
498
552
|
tests/conftest.py
|
|
499
553
|
tests/debug_print_parse.py
|
|
500
554
|
tests/debug_tokens.py
|
|
555
|
+
tests/example.test.zx
|
|
501
556
|
tests/final_integration_test.zx
|
|
502
557
|
tests/test_async_system_integration.py
|
|
503
558
|
tests/test_full_integration.py
|
|
@@ -505,8 +560,23 @@ tests/test_global.zx
|
|
|
505
560
|
tests/test_integration.py
|
|
506
561
|
tests/test_module_system.py
|
|
507
562
|
tests/test_simple_if.zx
|
|
563
|
+
tests/vulnerability_tests.zx
|
|
564
|
+
tests/advanced_edge_cases/README.md
|
|
565
|
+
tests/advanced_edge_cases/test_bytecode_validation.py
|
|
566
|
+
tests/advanced_edge_cases/test_circular_imports.py
|
|
567
|
+
tests/advanced_edge_cases/test_file_io_errors.py
|
|
568
|
+
tests/advanced_edge_cases/test_input_validation.py
|
|
569
|
+
tests/advanced_edge_cases/test_memory_limits.py
|
|
570
|
+
tests/advanced_edge_cases/test_network_capabilities.py
|
|
571
|
+
tests/advanced_edge_cases/test_recursion_limits.py
|
|
572
|
+
tests/advanced_edge_cases/test_resource_cleanup.py
|
|
573
|
+
tests/advanced_edge_cases/test_resource_cleanup_simple.py
|
|
508
574
|
tests/builtin_modules/README.md
|
|
509
575
|
tests/builtin_modules/test_crypto_basic.zx
|
|
576
|
+
tests/edge_cases/README.md
|
|
577
|
+
tests/edge_cases/test_arithmetic_edge_cases.py
|
|
578
|
+
tests/edge_cases/test_comprehensive_edge_cases.py
|
|
579
|
+
tests/edge_cases/test_null_reassignment.py
|
|
510
580
|
tests/examples/clean_test.zx
|
|
511
581
|
tests/examples/debug.zx
|
|
512
582
|
tests/examples/debug_test.zx
|
|
@@ -536,6 +606,13 @@ tests/fixtures/use_only.zx
|
|
|
536
606
|
tests/fixtures/modules/a.zx
|
|
537
607
|
tests/fixtures/modules/b.zx
|
|
538
608
|
tests/fixtures/modules/mathmod.zx
|
|
609
|
+
tests/golden/README.md
|
|
610
|
+
tests/golden/function_calls_after_let.zx
|
|
611
|
+
tests/golden/mixed_statement_boundaries.zx
|
|
612
|
+
tests/golden/nested_expressions.zx
|
|
613
|
+
tests/golden/persistence_after_assignment.zx
|
|
614
|
+
tests/golden/property_assignments.zx
|
|
615
|
+
tests/golden/type_annotations.zx
|
|
539
616
|
tests/integration/test_advanced_features_complete.zx
|
|
540
617
|
tests/integration/test_audit_command.zx
|
|
541
618
|
tests/integration/test_blockchain_integration.zx
|
|
@@ -695,6 +772,7 @@ tests/keyword_tests/easy/test_blockchain_easy.zx
|
|
|
695
772
|
tests/keyword_tests/easy/test_capability_easy.zx
|
|
696
773
|
tests/keyword_tests/easy/test_const_easy.zx
|
|
697
774
|
tests/keyword_tests/easy/test_continue_easy.zx
|
|
775
|
+
tests/keyword_tests/easy/test_data_easy.zx
|
|
698
776
|
tests/keyword_tests/easy/test_error_handling_easy.zx
|
|
699
777
|
tests/keyword_tests/easy/test_events_easy.zx
|
|
700
778
|
tests/keyword_tests/easy/test_functions_easy.zx
|
|
@@ -719,6 +797,7 @@ tests/keyword_tests/medium/test_blockchain_medium.zx
|
|
|
719
797
|
tests/keyword_tests/medium/test_capability_medium.zx
|
|
720
798
|
tests/keyword_tests/medium/test_const_medium.zx
|
|
721
799
|
tests/keyword_tests/medium/test_continue_medium.zx
|
|
800
|
+
tests/keyword_tests/medium/test_data_edge_cases.zx
|
|
722
801
|
tests/keyword_tests/medium/test_error_handling_medium.zx
|
|
723
802
|
tests/keyword_tests/medium/test_events_medium.zx
|
|
724
803
|
tests/keyword_tests/medium/test_functions_medium.zx
|
|
@@ -739,6 +818,33 @@ tests/repro/repro_enum.zx
|
|
|
739
818
|
tests/repro/repro_lambda.zx
|
|
740
819
|
tests/repro/repro_map.zx
|
|
741
820
|
tests/repro/repro_protocol.zx
|
|
821
|
+
tests/security/test_access_control.zx
|
|
822
|
+
tests/security/test_call_depth.zx
|
|
823
|
+
tests/security/test_context_mismatch.zx
|
|
824
|
+
tests/security/test_contract_access.zx
|
|
825
|
+
tests/security/test_contract_require_fix.zx
|
|
826
|
+
tests/security/test_crypto_functions.zx
|
|
827
|
+
tests/security/test_debug_sanitization.zx
|
|
828
|
+
tests/security/test_file_input_blocking.zx
|
|
829
|
+
tests/security/test_file_input_safe.zx
|
|
830
|
+
tests/security/test_fix4_complete.zx
|
|
831
|
+
tests/security/test_integer_overflow.zx
|
|
832
|
+
tests/security/test_literal_concat.zx
|
|
833
|
+
tests/security/test_path_traversal_fix.zx
|
|
834
|
+
tests/security/test_persistent_storage_limits.zx
|
|
835
|
+
tests/security/test_print_concat.zx
|
|
836
|
+
tests/security/test_resource_limits.zx
|
|
837
|
+
tests/security/test_sanitization_enforcement.zx
|
|
838
|
+
tests/security/test_sanitization_improvements.zx
|
|
839
|
+
tests/security/test_sanitize_debug.zx
|
|
840
|
+
tests/security/test_sanitize_debug2.zx
|
|
841
|
+
tests/security/test_sanitize_simple.zx
|
|
842
|
+
tests/security/test_security_blocking.zx
|
|
843
|
+
tests/security/test_security_enforcement.zx
|
|
844
|
+
tests/security/test_string_debug.zx
|
|
845
|
+
tests/security/test_taint_tracking.zx
|
|
846
|
+
tests/security/test_type_safety.zx
|
|
847
|
+
tests/security/test_var_debug.zx
|
|
742
848
|
tests/unit/simple_test.py
|
|
743
849
|
tests/unit/test_advanced_types.py
|
|
744
850
|
tests/unit/test_advanced_vs_traditional.py
|