zexus 1.5.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.
Files changed (862) hide show
  1. zexus-1.5.0/.gitattributes +12 -0
  2. zexus-1.5.0/.github/linguist.yml +9 -0
  3. zexus-1.5.0/.gitignore +94 -0
  4. zexus-1.5.0/.vscode/extensions/zexus-language/README.md +52 -0
  5. zexus-1.5.0/.vscode/extensions/zexus-language/language-configuration.json +36 -0
  6. zexus-1.5.0/.vscode/extensions/zexus-language/package.json +114 -0
  7. zexus-1.5.0/.vscode/extensions/zexus-language/snippets/zexus.json +95 -0
  8. zexus-1.5.0/.vscode/extensions/zexus-language/syntaxes/zexus.tmLanguage.json +197 -0
  9. zexus-1.5.0/.vscode/extensions.json +19 -0
  10. zexus-1.5.0/.vscode/settings.json +48 -0
  11. zexus-1.5.0/.zpics_runtime/function_calls_after_let.json +12 -0
  12. zexus-1.5.0/.zpics_runtime/mixed_statement_boundaries.json +12 -0
  13. zexus-1.5.0/.zpics_runtime/nested_expressions.json +12 -0
  14. zexus-1.5.0/.zpics_runtime/persistence_after_assignment.json +12 -0
  15. zexus-1.5.0/.zpics_runtime/property_assignments.json +12 -0
  16. zexus-1.5.0/.zpics_runtime/type_annotations.json +12 -0
  17. zexus-1.5.0/.zpics_snapshots/function_calls_after_let.json +15 -0
  18. zexus-1.5.0/.zpics_snapshots/mixed_statement_boundaries.json +15 -0
  19. zexus-1.5.0/.zpics_snapshots/nested_expressions.json +15 -0
  20. zexus-1.5.0/.zpics_snapshots/persistence_after_assignment.json +15 -0
  21. zexus-1.5.0/.zpics_snapshots/property_assignments.json +15 -0
  22. zexus-1.5.0/.zpics_snapshots/type_annotations.json +15 -0
  23. zexus-1.5.0/ASYNC_STATUS.md +32 -0
  24. zexus-1.5.0/CHANGELOG.md +184 -0
  25. zexus-1.5.0/IMPLEMENTATION_SUMMARY.md +138 -0
  26. zexus-1.5.0/LICENSE +0 -0
  27. zexus-1.5.0/PKG-INFO +2309 -0
  28. zexus-1.5.0/PRINT_STATEMENT_FIX.md +98 -0
  29. zexus-1.5.0/PUBLISH_TO_PYPI.md +99 -0
  30. zexus-1.5.0/README.md +2261 -0
  31. zexus-1.5.0/REGRESSION_ISSUES_TRACKER.md +601 -0
  32. zexus-1.5.0/REMAINING_ISSUES.md +171 -0
  33. zexus-1.5.0/REPOSITORY_STRUCTURE.md +105 -0
  34. zexus-1.5.0/archive/README.md +21 -0
  35. zexus-1.5.0/archive/dev-notes/DEV_SCRIPTS_README.md +277 -0
  36. zexus-1.5.0/archive/dev-notes/README.old.md +494 -0
  37. zexus-1.5.0/archive/dev-notes/VM_QUICK_REFERENCE.md +264 -0
  38. zexus-1.5.0/archive/dev-scripts/check_compiler_parser.py +35 -0
  39. zexus-1.5.0/archive/dev-scripts/check_lexer_module.py +18 -0
  40. zexus-1.5.0/archive/dev-scripts/check_parser_config.py +33 -0
  41. zexus-1.5.0/archive/dev-scripts/check_parser_differences.py +48 -0
  42. zexus-1.5.0/archive/dev-scripts/check_parser_setup.py +27 -0
  43. zexus-1.5.0/archive/dev-scripts/check_tokens.py +10 -0
  44. zexus-1.5.0/archive/dev-scripts/compare_lexers.py +46 -0
  45. zexus-1.5.0/archive/dev-scripts/compile_repro.py +28 -0
  46. zexus-1.5.0/archive/dev-scripts/debug_closure.py +66 -0
  47. zexus-1.5.0/archive/dev-scripts/debug_closure_detailed.py +111 -0
  48. zexus-1.5.0/archive/dev-scripts/debug_closure_full.py +30 -0
  49. zexus-1.5.0/archive/dev-scripts/debug_closure_instrumented.py +44 -0
  50. zexus-1.5.0/archive/dev-scripts/debug_function_params.py +52 -0
  51. zexus-1.5.0/archive/dev-scripts/debug_map_parsing.py +53 -0
  52. zexus-1.5.0/archive/dev-scripts/debug_module.py +28 -0
  53. zexus-1.5.0/archive/dev-scripts/debug_module_ast.py +28 -0
  54. zexus-1.5.0/archive/dev-scripts/debug_parser.py +30 -0
  55. zexus-1.5.0/archive/dev-scripts/debug_parser_function.py +31 -0
  56. zexus-1.5.0/archive/dev-scripts/debug_phase10_params.py +55 -0
  57. zexus-1.5.0/archive/dev-scripts/debug_tokens.py +20 -0
  58. zexus-1.5.0/archive/dev-scripts/final_validation.py +57 -0
  59. zexus-1.5.0/archive/dev-scripts/inspect_closure_bc.py +42 -0
  60. zexus-1.5.0/archive/dev-scripts/investigate_compiler.py +82 -0
  61. zexus-1.5.0/archive/dev-scripts/lexer_fixed.py +148 -0
  62. zexus-1.5.0/archive/dev-scripts/main.spec +45 -0
  63. zexus-1.5.0/archive/dev-scripts/parser_fixed.py +449 -0
  64. zexus-1.5.0/archive/dev-scripts/run_repro.py +39 -0
  65. zexus-1.5.0/archive/dev-scripts/temp_head.py +5 -0
  66. zexus-1.5.0/archive/dev-scripts/temp_import.py +1 -0
  67. zexus-1.5.0/archive/dev-scripts/tmp_all.zx +6 -0
  68. zexus-1.5.0/archive/dev-scripts/tmp_arrow_test.py +18 -0
  69. zexus-1.5.0/archive/dev-scripts/tmp_concat_func.zx +2 -0
  70. zexus-1.5.0/archive/dev-scripts/tmp_debug_print.zx +2 -0
  71. zexus-1.5.0/archive/dev-scripts/tmp_func.zx +2 -0
  72. zexus-1.5.0/archive/dev-scripts/tmp_map.zx +2 -0
  73. zexus-1.5.0/archive/dev-scripts/tmp_parse_test.py +18 -0
  74. zexus-1.5.0/archive/dev-scripts/tmp_run.py +25 -0
  75. zexus-1.5.0/archive/dev-scripts/token.py +50 -0
  76. zexus-1.5.0/archive/dev-scripts/verify_integration.py +110 -0
  77. zexus-1.5.0/archive/dev-scripts/zexus_ast.py +289 -0
  78. zexus-1.5.0/archive/dev-scripts/zexus_compiler.spec +38 -0
  79. zexus-1.5.0/archive/dev-scripts/zexus_token.py +101 -0
  80. zexus-1.5.0/archive/proofs/FRIEND_PROOF.md +165 -0
  81. zexus-1.5.0/archive/proofs/PROOF_FRIEND_WRONG.md +153 -0
  82. zexus-1.5.0/archive/reports/ALL_ISSUES_FIXED_FINAL_REPORT.md +334 -0
  83. zexus-1.5.0/archive/reports/VM_INTEGRATION_STATUS.md +142 -0
  84. zexus-1.5.0/archive/summaries/CONTINUE_IMPLEMENTATION_SUMMARY.md +362 -0
  85. zexus-1.5.0/archive/summaries/QUESTIONS_ANSWERED.md +308 -0
  86. zexus-1.5.0/archive/summaries/VSCODE_IMPLEMENTATION_SUMMARY.md +420 -0
  87. zexus-1.5.0/archive/temp-files/math_ops.cpp +26 -0
  88. zexus-1.5.0/archive/temp-files/zexus_compiler.py.backup +467 -0
  89. zexus-1.5.0/check_verify_ast.py +22 -0
  90. zexus-1.5.0/crypto.zx +22 -0
  91. zexus-1.5.0/debug_persist_ultimate.zx +64 -0
  92. zexus-1.5.0/docs/ADVANCED_TESTING_COMPLETION_REPORT.md +258 -0
  93. zexus-1.5.0/docs/ARCHITECTURE.md +468 -0
  94. zexus-1.5.0/docs/ASYNC_IMPLEMENTATION_PLAN.md +44 -0
  95. zexus-1.5.0/docs/BLOCKCHAIN_FEATURES.md +875 -0
  96. zexus-1.5.0/docs/CONCURRENCY.md +81 -0
  97. zexus-1.5.0/docs/DOCUMENTATION_INDEX.md +187 -0
  98. zexus-1.5.0/docs/EDGE_CASE_TESTING_REPORT.md +268 -0
  99. zexus-1.5.0/docs/ERROR_REPORTING.md +280 -0
  100. zexus-1.5.0/docs/FINAL_STABILITY_REPORT.md +440 -0
  101. zexus-1.5.0/docs/GITHUB_LINGUIST_SUBMISSION.md +134 -0
  102. zexus-1.5.0/docs/INDEX.md +209 -0
  103. zexus-1.5.0/docs/ISSUES.md +494 -0
  104. zexus-1.5.0/docs/MAIN_ENTRY_POINT.md +495 -0
  105. zexus-1.5.0/docs/MAIN_ENTRY_POINT_ENHANCEMENTS.md +389 -0
  106. zexus-1.5.0/docs/MODULE_SYSTEM.md +342 -0
  107. zexus-1.5.0/docs/ORGANIZATION.md +302 -0
  108. zexus-1.5.0/docs/PARSER_OPTIMIZATION_GUIDE.md +203 -0
  109. zexus-1.5.0/docs/PERFORMANCE_FEATURES.md +479 -0
  110. zexus-1.5.0/docs/PHILOSOPHY.md +305 -0
  111. zexus-1.5.0/docs/PLUGIN_QUICK_REFERENCE.md +403 -0
  112. zexus-1.5.0/docs/PLUGIN_SYSTEM.md +519 -0
  113. zexus-1.5.0/docs/QUICK_START.md +361 -0
  114. zexus-1.5.0/docs/README.md +235 -0
  115. zexus-1.5.0/docs/SECURITY_FEATURES.md +504 -0
  116. zexus-1.5.0/docs/SECURITY_FEATURES_GUIDE.zx +564 -0
  117. zexus-1.5.0/docs/STABILITY_AND_EDGE_CASE_SUMMARY.md +353 -0
  118. zexus-1.5.0/docs/STATUS.md +490 -0
  119. zexus-1.5.0/docs/TEST_ISSUES_REPORT.md +189 -0
  120. zexus-1.5.0/docs/WAITGROUP_BARRIER.md +118 -0
  121. zexus-1.5.0/docs/WATCH_FEATURE.md +353 -0
  122. zexus-1.5.0/docs/ZPM_GUIDE.md +423 -0
  123. zexus-1.5.0/docs/archive/README.md +8 -0
  124. zexus-1.5.0/docs/archive/enhancement-package/00_START_HERE.md +136 -0
  125. zexus-1.5.0/docs/archive/enhancement-package/AUDIT_IMPLEMENTATION.md +314 -0
  126. zexus-1.5.0/docs/archive/enhancement-package/BUSINESS_IMPACT.md +412 -0
  127. zexus-1.5.0/docs/archive/enhancement-package/CODE_EXAMPLES.md +963 -0
  128. zexus-1.5.0/docs/archive/enhancement-package/CONVENIENCE_ADVANCED_FEATURES_IMPLEMENTATION.md +357 -0
  129. zexus-1.5.0/docs/archive/enhancement-package/DELIVERY_SUMMARY.md +493 -0
  130. zexus-1.5.0/docs/archive/enhancement-package/EXECUTIVE_SUMMARY.md +198 -0
  131. zexus-1.5.0/docs/archive/enhancement-package/FINAL_SUMMARY.md +490 -0
  132. zexus-1.5.0/docs/archive/enhancement-package/IMPLEMENTATION_GUIDE.md +442 -0
  133. zexus-1.5.0/docs/archive/enhancement-package/INDEX.md +388 -0
  134. zexus-1.5.0/docs/archive/enhancement-package/PERFORMANCE_FEATURES_IMPLEMENTATION.md +423 -0
  135. zexus-1.5.0/docs/archive/enhancement-package/RESTRICT_SANDBOX_TRAIL_IMPLEMENTATION.md +206 -0
  136. zexus-1.5.0/docs/archive/enhancement-package/ROADMAP.md +511 -0
  137. zexus-1.5.0/docs/archive/enhancement-package/STRATEGIC_FEATURES.md +717 -0
  138. zexus-1.5.0/docs/archive/enhancement-package/STRATEGIC_UPGRADES.md +250 -0
  139. zexus-1.5.0/docs/future_implentations.md +135 -0
  140. zexus-1.5.0/docs/guides/PLUGIN_SYSTEM_GUIDE.md +834 -0
  141. zexus-1.5.0/docs/keywords/ACTION_FUNCTION_LAMBDA_RETURN.md +884 -0
  142. zexus-1.5.0/docs/keywords/ADVANCED_FEATURES.md +509 -0
  143. zexus-1.5.0/docs/keywords/ADVANCED_KEYWORDS.md +151 -0
  144. zexus-1.5.0/docs/keywords/ASYNC_AWAIT.md +410 -0
  145. zexus-1.5.0/docs/keywords/ASYNC_CONCURRENCY.md +675 -0
  146. zexus-1.5.0/docs/keywords/ASYNC_SYSTEM_FIXED.md +153 -0
  147. zexus-1.5.0/docs/keywords/ASYNC_SYSTEM_STATUS_REPORT.md +408 -0
  148. zexus-1.5.0/docs/keywords/BLOCKCHAIN_KEYWORDS.md +550 -0
  149. zexus-1.5.0/docs/keywords/BLOCKCHAIN_STATE.md +725 -0
  150. zexus-1.5.0/docs/keywords/BREAK.md +523 -0
  151. zexus-1.5.0/docs/keywords/CAPABILITY_VALIDATION.md +735 -0
  152. zexus-1.5.0/docs/keywords/COMMAND_audit.md +374 -0
  153. zexus-1.5.0/docs/keywords/COMMAND_buffer.md +216 -0
  154. zexus-1.5.0/docs/keywords/COMMAND_const.md +215 -0
  155. zexus-1.5.0/docs/keywords/COMMAND_defer.md +231 -0
  156. zexus-1.5.0/docs/keywords/COMMAND_elif.md +372 -0
  157. zexus-1.5.0/docs/keywords/COMMAND_enum.md +303 -0
  158. zexus-1.5.0/docs/keywords/COMMAND_gc.md +148 -0
  159. zexus-1.5.0/docs/keywords/COMMAND_inline.md +165 -0
  160. zexus-1.5.0/docs/keywords/COMMAND_native.md +98 -0
  161. zexus-1.5.0/docs/keywords/COMMAND_pattern.md +235 -0
  162. zexus-1.5.0/docs/keywords/COMMAND_restrict.md +48 -0
  163. zexus-1.5.0/docs/keywords/COMMAND_sandbox.md +57 -0
  164. zexus-1.5.0/docs/keywords/COMMAND_simd.md +279 -0
  165. zexus-1.5.0/docs/keywords/COMMAND_stream.md +318 -0
  166. zexus-1.5.0/docs/keywords/COMMAND_trail.md +47 -0
  167. zexus-1.5.0/docs/keywords/COMMAND_watch.md +365 -0
  168. zexus-1.5.0/docs/keywords/CONST.md +681 -0
  169. zexus-1.5.0/docs/keywords/CONTINUE.md +431 -0
  170. zexus-1.5.0/docs/keywords/DATA.md +1464 -0
  171. zexus-1.5.0/docs/keywords/ERROR_HANDLING.md +1159 -0
  172. zexus-1.5.0/docs/keywords/EVENTS_REACTIVE.md +635 -0
  173. zexus-1.5.0/docs/keywords/IF_ELIF_ELSE.md +694 -0
  174. zexus-1.5.0/docs/keywords/KEYWORD_TESTING_INDEX.md +278 -0
  175. zexus-1.5.0/docs/keywords/KEYWORD_TESTING_MASTER_LIST.md +940 -0
  176. zexus-1.5.0/docs/keywords/KEYWORD_TESTING_PROJECT_SUMMARY.md +280 -0
  177. zexus-1.5.0/docs/keywords/LET.md +517 -0
  178. zexus-1.5.0/docs/keywords/LOG.md +1150 -0
  179. zexus-1.5.0/docs/keywords/MODIFIERS.md +702 -0
  180. zexus-1.5.0/docs/keywords/MODULE_SYSTEM.md +363 -0
  181. zexus-1.5.0/docs/keywords/PERFORMANCE.md +560 -0
  182. zexus-1.5.0/docs/keywords/PRINT_DEBUG.md +687 -0
  183. zexus-1.5.0/docs/keywords/RENDERER_UI.md +645 -0
  184. zexus-1.5.0/docs/keywords/SECURITY.md +1299 -0
  185. zexus-1.5.0/docs/keywords/SPECIAL_KEYWORDS.md +73 -0
  186. zexus-1.5.0/docs/keywords/WHILE_FOR_EACH_IN.md +797 -0
  187. zexus-1.5.0/docs/keywords/ZPICS.md +345 -0
  188. zexus-1.5.0/docs/keywords/features/10-PHASE_COMPLETE.md +395 -0
  189. zexus-1.5.0/docs/keywords/features/ADVANCED_FEATURES_IMPLEMENTATION.md +926 -0
  190. zexus-1.5.0/docs/keywords/features/ADVANCED_PARSER_FIX_SUMMARY.md +89 -0
  191. zexus-1.5.0/docs/keywords/features/ASYNC_OPTIMIZER.md +618 -0
  192. zexus-1.5.0/docs/keywords/features/AUDIT_COMPLETION_SUMMARY.md +261 -0
  193. zexus-1.5.0/docs/keywords/features/AUDIT_SECURITY_INTEGRATION.md +340 -0
  194. zexus-1.5.0/docs/keywords/features/BLOCKCHAIN_IMPLEMENTATION.md +575 -0
  195. zexus-1.5.0/docs/keywords/features/BLOCKCHAIN_PARSER_EVALUATOR_INTEGRATION.md +399 -0
  196. zexus-1.5.0/docs/keywords/features/COMPREHENSIVE_VERIFICATION_REPORT.md +468 -0
  197. zexus-1.5.0/docs/keywords/features/FIXES_SUMMARY.md +346 -0
  198. zexus-1.5.0/docs/keywords/features/FIX_ISSUES_5_6_SUMMARY.md +40 -0
  199. zexus-1.5.0/docs/keywords/features/FIX_SUMMARY.md +106 -0
  200. zexus-1.5.0/docs/keywords/features/IF_STATEMENT_PARSER_FIX.md +71 -0
  201. zexus-1.5.0/docs/keywords/features/IF_THEN_ELSE_IMPLEMENTATION.md +228 -0
  202. zexus-1.5.0/docs/keywords/features/IMPLEMENTATION_SUMMARY.md +473 -0
  203. zexus-1.5.0/docs/keywords/features/INTEGRATION_COMPLETE.md +356 -0
  204. zexus-1.5.0/docs/keywords/features/INTEGRATION_COMPLETE_SUMMARY.md +186 -0
  205. zexus-1.5.0/docs/keywords/features/KEYWORD_AFTER_DOT.md +446 -0
  206. zexus-1.5.0/docs/keywords/features/KEYWORD_AFTER_DOT_IMPLEMENTATION.md +158 -0
  207. zexus-1.5.0/docs/keywords/features/MAIN_ENTRY_POINT_IMPLEMENTATION.md +298 -0
  208. zexus-1.5.0/docs/keywords/features/MAIN_ENTRY_POINT_IMPLEMENTATION_STATUS.md +249 -0
  209. zexus-1.5.0/docs/keywords/features/MEMORY_POOL_USAGE_GUIDE.md +933 -0
  210. zexus-1.5.0/docs/keywords/features/MODULE_SYSTEM_IMPLEMENTATION_SUMMARY.md +303 -0
  211. zexus-1.5.0/docs/keywords/features/PERFORMANCE_FEATURES_SUMMARY.md +383 -0
  212. zexus-1.5.0/docs/keywords/features/PHASE_10_COMPLETION.md +365 -0
  213. zexus-1.5.0/docs/keywords/features/PHASE_1_2_SUMMARY.md +340 -0
  214. zexus-1.5.0/docs/keywords/features/PHASE_2_JIT_COMPLETE.md +369 -0
  215. zexus-1.5.0/docs/keywords/features/PHASE_3_OPTIMIZER_COMPLETE.md +696 -0
  216. zexus-1.5.0/docs/keywords/features/PHASE_4_CACHE_COMPLETE.md +463 -0
  217. zexus-1.5.0/docs/keywords/features/PHASE_4_INTEGRATION_VERIFIED.md +348 -0
  218. zexus-1.5.0/docs/keywords/features/PHASE_5_COMPLETION_REPORT.md +248 -0
  219. zexus-1.5.0/docs/keywords/features/PHASE_5_REGISTER_VM_COMPLETE.md +453 -0
  220. zexus-1.5.0/docs/keywords/features/PHASE_6_COMPLETION_REPORT.md +420 -0
  221. zexus-1.5.0/docs/keywords/features/PHASE_6_PARALLEL_VM_COMPLETE.md +697 -0
  222. zexus-1.5.0/docs/keywords/features/PHASE_7_MEMORY_MANAGEMENT_COMPLETE.md +325 -0
  223. zexus-1.5.0/docs/keywords/features/PROFILER_USAGE_GUIDE.md +529 -0
  224. zexus-1.5.0/docs/keywords/features/REQUIRE_TOLERANCE_IMPLEMENTATION.md +117 -0
  225. zexus-1.5.0/docs/keywords/features/SEAL_IMPLEMENTATION_SUMMARY.md +205 -0
  226. zexus-1.5.0/docs/keywords/features/SECURITY_IMPLEMENTATION.md +531 -0
  227. zexus-1.5.0/docs/keywords/features/SECURITY_IMPLEMENTATION_SUMMARY.md +516 -0
  228. zexus-1.5.0/docs/keywords/features/SESSION_COMPLETION_SUMMARY.md +291 -0
  229. zexus-1.5.0/docs/keywords/features/SESSION_PARSER_FIX_SUMMARY.md +214 -0
  230. zexus-1.5.0/docs/keywords/features/SSA_AND_REGISTER_ALLOCATION.md +842 -0
  231. zexus-1.5.0/docs/keywords/features/TEST_SUITE_DOCUMENTATION.md +262 -0
  232. zexus-1.5.0/docs/keywords/features/VERIFY_ENHANCEMENT_GUIDE.md +401 -0
  233. zexus-1.5.0/docs/keywords/features/VERIFY_IMPLEMENTATION_SUMMARY.md +295 -0
  234. zexus-1.5.0/docs/keywords/features/VM_CONNECTION_VERIFIED.md +209 -0
  235. zexus-1.5.0/docs/keywords/features/VM_CRITICAL_ISSUES_FIXED.md +546 -0
  236. zexus-1.5.0/docs/keywords/features/VM_ENHANCEMENT_MASTER_LIST.md +1050 -0
  237. zexus-1.5.0/docs/keywords/features/VM_INTEGRATION_COMPLETE.md +231 -0
  238. zexus-1.5.0/docs/keywords/features/VM_INTEGRATION_SUMMARY.md +923 -0
  239. zexus-1.5.0/docs/keywords/features/VM_OPTIMIZATION_PHASE_8_MASTER_LIST.md +1002 -0
  240. zexus-1.5.0/docs/keywords/features/ZEXUS_IN_ACTION.md +245 -0
  241. zexus-1.5.0/docs/keywords/features/evaluator_export_compiler_summary.md +488 -0
  242. zexus-1.5.0/docs/keywords/features/installation_paths_summary.md +114 -0
  243. zexus-1.5.0/docs/keywords/features/module_cache.md +54 -0
  244. zexus-1.5.0/docs/keywords/features/parser_fix_summary.md +82 -0
  245. zexus-1.5.0/docs/keywords/features/parsing_fixes_summary.md +79 -0
  246. zexus-1.5.0/docs/profiler/PROFILER_GUIDE.md +217 -0
  247. zexus-1.5.0/docs/stdlib/BLOCKCHAIN_MODULE.md +265 -0
  248. zexus-1.5.0/docs/stdlib/CRYPTO_MODULE.md +155 -0
  249. zexus-1.5.0/docs/stdlib/INTEGRATION.md +255 -0
  250. zexus-1.5.0/docs/stdlib/README.md +139 -0
  251. zexus-1.5.0/dynamic.zx +15 -0
  252. zexus-1.5.0/dynamic_math.zx +980 -0
  253. zexus-1.5.0/examples/MAIN_ENTRY_POINT_EXAMPLES.md +91 -0
  254. zexus-1.5.0/examples/action_literal_test.zx +9 -0
  255. zexus-1.5.0/examples/daemon_example.zx +33 -0
  256. zexus-1.5.0/examples/debug_detailed.zx +17 -0
  257. zexus-1.5.0/examples/debug_environment.zx +10 -0
  258. zexus-1.5.0/examples/debug_functions.zx +10 -0
  259. zexus-1.5.0/examples/debug_parser_detailed.zx +1 -0
  260. zexus-1.5.0/examples/exit_program_example.zx +29 -0
  261. zexus-1.5.0/examples/explicit_assignment_test.zx +10 -0
  262. zexus-1.5.0/examples/import_main_module.zx +19 -0
  263. zexus-1.5.0/examples/is_main_helper.zx +25 -0
  264. zexus-1.5.0/examples/main_entry_point.zx +39 -0
  265. zexus-1.5.0/examples/minimal_function_test.zx +10 -0
  266. zexus-1.5.0/examples/server_with_run.zx +25 -0
  267. zexus-1.5.0/examples/simple_action_test.zx +1 -0
  268. zexus-1.5.0/examples/simple_run_example.zx +20 -0
  269. zexus-1.5.0/examples/simple_test.zx +1 -0
  270. zexus-1.5.0/examples/test.zx +1 -0
  271. zexus-1.5.0/examples/token_contract.zx +306 -0
  272. zexus-1.5.0/examples/ziver_chain_test.zx +92 -0
  273. zexus-1.5.0/fix_type_checks.py +30 -0
  274. zexus-1.5.0/index.zx +194 -0
  275. zexus-1.5.0/install.sh +44 -0
  276. zexus-1.5.0/linguist-submission/SUBMISSION_INSTRUCTIONS.md +193 -0
  277. zexus-1.5.0/linguist-submission/grammars.yml +3 -0
  278. zexus-1.5.0/linguist-submission/languages.yml +16 -0
  279. zexus-1.5.0/linguist-submission/samples/basic.zx +37 -0
  280. zexus-1.5.0/linguist-submission/samples/blockchain.zx +44 -0
  281. zexus-1.5.0/linguist-submission/samples/security.zx +61 -0
  282. zexus-1.5.0/linguist-submission/zexus.tmLanguage.json +197 -0
  283. zexus-1.5.0/pyproject.toml +97 -0
  284. zexus-1.5.0/pytest.ini +6 -0
  285. zexus-1.5.0/renderer/__init__.py +1 -0
  286. zexus-1.5.0/renderer/backend.py +93 -0
  287. zexus-1.5.0/renderer/canvas.py +226 -0
  288. zexus-1.5.0/renderer/color_system.py +250 -0
  289. zexus-1.5.0/renderer/graphics.py +266 -0
  290. zexus-1.5.0/renderer/layout.py +260 -0
  291. zexus-1.5.0/renderer/main_renderer.py +106 -0
  292. zexus-1.5.0/renderer/painter.py +210 -0
  293. zexus-1.5.0/samples/basic.zx +37 -0
  294. zexus-1.5.0/samples/blockchain.zx +44 -0
  295. zexus-1.5.0/samples/security.zx +61 -0
  296. zexus-1.5.0/scripts/README.md +24 -0
  297. zexus-1.5.0/scripts/__init__.py.bak +23 -0
  298. zexus-1.5.0/scripts/__main__.py +5 -0
  299. zexus-1.5.0/scripts/fixed_parser.py +20 -0
  300. zexus-1.5.0/scripts/integration_demo.py +283 -0
  301. zexus-1.5.0/scripts/main.py +40 -0
  302. zexus-1.5.0/scripts/run_zexus_tests.py +91 -0
  303. zexus-1.5.0/scripts/zpm.py +191 -0
  304. zexus-1.5.0/scripts/zx-luncher.py +17 -0
  305. zexus-1.5.0/setup.cfg +49 -0
  306. zexus-1.5.0/setup.py +107 -0
  307. zexus-1.5.0/setup_stdlib.sh +55 -0
  308. zexus-1.5.0/shared_config.json +24 -0
  309. zexus-1.5.0/src/README.md +1525 -0
  310. zexus-1.5.0/src/tests/run_zexus_tests.py +117 -0
  311. zexus-1.5.0/src/tests/test_all_phases.zx +346 -0
  312. zexus-1.5.0/src/tests/test_blockchain_features.zx +306 -0
  313. zexus-1.5.0/src/tests/test_complexity_features.zx +321 -0
  314. zexus-1.5.0/src/tests/test_core_integration.py +185 -0
  315. zexus-1.5.0/src/tests/test_phase10_ecosystem.zx +177 -0
  316. zexus-1.5.0/src/tests/test_phase1_modifiers.zx +87 -0
  317. zexus-1.5.0/src/tests/test_phase2_plugins.zx +80 -0
  318. zexus-1.5.0/src/tests/test_phase3_security.zx +97 -0
  319. zexus-1.5.0/src/tests/test_phase4_vfs.zx +116 -0
  320. zexus-1.5.0/src/tests/test_phase5_types.zx +117 -0
  321. zexus-1.5.0/src/tests/test_phase6_metaprogramming.zx +125 -0
  322. zexus-1.5.0/src/tests/test_phase7_optimization.zx +132 -0
  323. zexus-1.5.0/src/tests/test_phase9_advanced_types.zx +157 -0
  324. zexus-1.5.0/src/tests/test_security_features.py +419 -0
  325. zexus-1.5.0/src/tests/test_security_features.zx +276 -0
  326. zexus-1.5.0/src/tests/test_simple_zx.zx +1 -0
  327. zexus-1.5.0/src/tests/test_verification_simple.zx +69 -0
  328. zexus-1.5.0/src/zexus/__init__.py +28 -0
  329. zexus-1.5.0/src/zexus/__main__.py +5 -0
  330. zexus-1.5.0/src/zexus/advanced_types.py +401 -0
  331. zexus-1.5.0/src/zexus/blockchain/__init__.py +40 -0
  332. zexus-1.5.0/src/zexus/blockchain/crypto.py +463 -0
  333. zexus-1.5.0/src/zexus/blockchain/ledger.py +255 -0
  334. zexus-1.5.0/src/zexus/blockchain/transaction.py +267 -0
  335. zexus-1.5.0/src/zexus/builtin_modules.py +284 -0
  336. zexus-1.5.0/src/zexus/builtin_plugins.py +317 -0
  337. zexus-1.5.0/src/zexus/capability_system.py +372 -0
  338. zexus-1.5.0/src/zexus/cli/__init__.py +2 -0
  339. zexus-1.5.0/src/zexus/cli/main.py +707 -0
  340. zexus-1.5.0/src/zexus/cli/zpm.py +203 -0
  341. zexus-1.5.0/src/zexus/compare_interpreter_compiler.py +146 -0
  342. zexus-1.5.0/src/zexus/compiler/__init__.py +169 -0
  343. zexus-1.5.0/src/zexus/compiler/bytecode.py +266 -0
  344. zexus-1.5.0/src/zexus/compiler/compat_runtime.py +277 -0
  345. zexus-1.5.0/src/zexus/compiler/lexer.py +257 -0
  346. zexus-1.5.0/src/zexus/compiler/parser.py +779 -0
  347. zexus-1.5.0/src/zexus/compiler/semantic.py +118 -0
  348. zexus-1.5.0/src/zexus/compiler/zexus_ast.py +454 -0
  349. zexus-1.5.0/src/zexus/complexity_system.py +575 -0
  350. zexus-1.5.0/src/zexus/concurrency_system.py +493 -0
  351. zexus-1.5.0/src/zexus/config.py +201 -0
  352. zexus-1.5.0/src/zexus/crypto_bridge.py +19 -0
  353. zexus-1.5.0/src/zexus/dependency_injection.py +423 -0
  354. zexus-1.5.0/src/zexus/ecosystem.py +434 -0
  355. zexus-1.5.0/src/zexus/environment.py +101 -0
  356. zexus-1.5.0/src/zexus/environment_manager.py +119 -0
  357. zexus-1.5.0/src/zexus/error_reporter.py +314 -0
  358. zexus-1.5.0/src/zexus/evaluator/__init__.py +12 -0
  359. zexus-1.5.0/src/zexus/evaluator/bytecode_compiler.py +700 -0
  360. zexus-1.5.0/src/zexus/evaluator/core.py +875 -0
  361. zexus-1.5.0/src/zexus/evaluator/expressions.py +827 -0
  362. zexus-1.5.0/src/zexus/evaluator/functions.py +2953 -0
  363. zexus-1.5.0/src/zexus/evaluator/integration.py +396 -0
  364. zexus-1.5.0/src/zexus/evaluator/statements.py +4291 -0
  365. zexus-1.5.0/src/zexus/evaluator/utils.py +126 -0
  366. zexus-1.5.0/src/zexus/evaluator_original.py +2041 -0
  367. zexus-1.5.0/src/zexus/external_bridge.py +16 -0
  368. zexus-1.5.0/src/zexus/find_affected_imports.sh +155 -0
  369. zexus-1.5.0/src/zexus/hybrid_orchestrator.py +152 -0
  370. zexus-1.5.0/src/zexus/input_validation.py +259 -0
  371. zexus-1.5.0/src/zexus/lexer.py +571 -0
  372. zexus-1.5.0/src/zexus/logging.py +89 -0
  373. zexus-1.5.0/src/zexus/lsp/__init__.py +9 -0
  374. zexus-1.5.0/src/zexus/lsp/completion_provider.py +207 -0
  375. zexus-1.5.0/src/zexus/lsp/definition_provider.py +22 -0
  376. zexus-1.5.0/src/zexus/lsp/hover_provider.py +71 -0
  377. zexus-1.5.0/src/zexus/lsp/server.py +269 -0
  378. zexus-1.5.0/src/zexus/lsp/symbol_provider.py +31 -0
  379. zexus-1.5.0/src/zexus/metaprogramming.py +321 -0
  380. zexus-1.5.0/src/zexus/module_cache.py +89 -0
  381. zexus-1.5.0/src/zexus/module_manager.py +107 -0
  382. zexus-1.5.0/src/zexus/object.py +959 -0
  383. zexus-1.5.0/src/zexus/optimization.py +424 -0
  384. zexus-1.5.0/src/zexus/parser/__init__.py +31 -0
  385. zexus-1.5.0/src/zexus/parser/integration.py +86 -0
  386. zexus-1.5.0/src/zexus/parser/parser.py +3971 -0
  387. zexus-1.5.0/src/zexus/parser/strategy_context.py +7197 -0
  388. zexus-1.5.0/src/zexus/parser/strategy_structural.py +1014 -0
  389. zexus-1.5.0/src/zexus/persistence.py +391 -0
  390. zexus-1.5.0/src/zexus/plugin_system.py +290 -0
  391. zexus-1.5.0/src/zexus/policy_engine.py +365 -0
  392. zexus-1.5.0/src/zexus/profiler/__init__.py +5 -0
  393. zexus-1.5.0/src/zexus/profiler/profiler.py +233 -0
  394. zexus-1.5.0/src/zexus/purity_system.py +398 -0
  395. zexus-1.5.0/src/zexus/runtime/__init__.py +20 -0
  396. zexus-1.5.0/src/zexus/runtime/async_runtime.py +324 -0
  397. zexus-1.5.0/src/zexus/search_old_imports.sh +65 -0
  398. zexus-1.5.0/src/zexus/security.py +1302 -0
  399. zexus-1.5.0/src/zexus/stack_trace.py +233 -0
  400. zexus-1.5.0/src/zexus/stdlib/__init__.py +27 -0
  401. zexus-1.5.0/src/zexus/stdlib/blockchain.py +341 -0
  402. zexus-1.5.0/src/zexus/stdlib/compression.py +167 -0
  403. zexus-1.5.0/src/zexus/stdlib/crypto.py +124 -0
  404. zexus-1.5.0/src/zexus/stdlib/datetime.py +163 -0
  405. zexus-1.5.0/src/zexus/stdlib/encoding.py +230 -0
  406. zexus-1.5.0/src/zexus/stdlib/fs.py +195 -0
  407. zexus-1.5.0/src/zexus/stdlib/http.py +219 -0
  408. zexus-1.5.0/src/zexus/stdlib/json_module.py +61 -0
  409. zexus-1.5.0/src/zexus/stdlib/math.py +360 -0
  410. zexus-1.5.0/src/zexus/stdlib/os_module.py +265 -0
  411. zexus-1.5.0/src/zexus/stdlib/regex.py +148 -0
  412. zexus-1.5.0/src/zexus/stdlib_integration.py +341 -0
  413. zexus-1.5.0/src/zexus/strategy_recovery.py +256 -0
  414. zexus-1.5.0/src/zexus/syntax_validator.py +315 -0
  415. zexus-1.5.0/src/zexus/testing/zpics.py +407 -0
  416. zexus-1.5.0/src/zexus/testing/zpics_runtime.py +369 -0
  417. zexus-1.5.0/src/zexus/type_system.py +374 -0
  418. zexus-1.5.0/src/zexus/validation_system.py +569 -0
  419. zexus-1.5.0/src/zexus/virtual_filesystem.py +355 -0
  420. zexus-1.5.0/src/zexus/vm/__init__.py +8 -0
  421. zexus-1.5.0/src/zexus/vm/async_optimizer.py +420 -0
  422. zexus-1.5.0/src/zexus/vm/bytecode.py +428 -0
  423. zexus-1.5.0/src/zexus/vm/bytecode_converter.py +297 -0
  424. zexus-1.5.0/src/zexus/vm/cache.py +532 -0
  425. zexus-1.5.0/src/zexus/vm/jit.py +720 -0
  426. zexus-1.5.0/src/zexus/vm/memory_manager.py +520 -0
  427. zexus-1.5.0/src/zexus/vm/memory_pool.py +511 -0
  428. zexus-1.5.0/src/zexus/vm/optimizer.py +478 -0
  429. zexus-1.5.0/src/zexus/vm/parallel_vm.py +899 -0
  430. zexus-1.5.0/src/zexus/vm/peephole_optimizer.py +452 -0
  431. zexus-1.5.0/src/zexus/vm/profiler.py +527 -0
  432. zexus-1.5.0/src/zexus/vm/register_allocator.py +462 -0
  433. zexus-1.5.0/src/zexus/vm/register_vm.py +520 -0
  434. zexus-1.5.0/src/zexus/vm/ssa_converter.py +757 -0
  435. zexus-1.5.0/src/zexus/vm/vm.py +1392 -0
  436. zexus-1.5.0/src/zexus/zexus_ast.py +1782 -0
  437. zexus-1.5.0/src/zexus/zexus_token.py +253 -0
  438. zexus-1.5.0/src/zexus/zpm/__init__.py +15 -0
  439. zexus-1.5.0/src/zexus/zpm/installer.py +116 -0
  440. zexus-1.5.0/src/zexus/zpm/package_manager.py +208 -0
  441. zexus-1.5.0/src/zexus/zpm/publisher.py +98 -0
  442. zexus-1.5.0/src/zexus/zpm/registry.py +110 -0
  443. zexus-1.5.0/src/zexus.egg-info/PKG-INFO +2309 -0
  444. zexus-1.5.0/src/zexus.egg-info/SOURCES.txt +861 -0
  445. zexus-1.5.0/src/zexus.egg-info/dependency_links.txt +1 -0
  446. zexus-1.5.0/src/zexus.egg-info/entry_points.txt +3 -0
  447. zexus-1.5.0/src/zexus.egg-info/not-zip-safe +1 -0
  448. zexus-1.5.0/src/zexus.egg-info/requires.txt +14 -0
  449. zexus-1.5.0/src/zexus.egg-info/top_level.txt +2 -0
  450. zexus-1.5.0/syntaxes/zexus.tmLanguage.json +197 -0
  451. zexus-1.5.0/tests/TEST_RESULTS.md +471 -0
  452. zexus-1.5.0/tests/advanced_edge_cases/README.md +325 -0
  453. zexus-1.5.0/tests/advanced_edge_cases/test_bytecode_validation.py +189 -0
  454. zexus-1.5.0/tests/advanced_edge_cases/test_circular_imports.py +155 -0
  455. zexus-1.5.0/tests/advanced_edge_cases/test_file_io_errors.py +149 -0
  456. zexus-1.5.0/tests/advanced_edge_cases/test_input_validation.py +281 -0
  457. zexus-1.5.0/tests/advanced_edge_cases/test_memory_limits.py +179 -0
  458. zexus-1.5.0/tests/advanced_edge_cases/test_network_capabilities.py +201 -0
  459. zexus-1.5.0/tests/advanced_edge_cases/test_recursion_limits.py +159 -0
  460. zexus-1.5.0/tests/advanced_edge_cases/test_resource_cleanup.py +267 -0
  461. zexus-1.5.0/tests/advanced_edge_cases/test_resource_cleanup_simple.py +168 -0
  462. zexus-1.5.0/tests/builtin_modules/README.md +24 -0
  463. zexus-1.5.0/tests/builtin_modules/test_crypto_basic.zx +5 -0
  464. zexus-1.5.0/tests/comprehensive_test.zx +149 -0
  465. zexus-1.5.0/tests/conftest.py +8 -0
  466. zexus-1.5.0/tests/debug_print_parse.py +24 -0
  467. zexus-1.5.0/tests/debug_tokens.py +19 -0
  468. zexus-1.5.0/tests/edge_cases/README.md +119 -0
  469. zexus-1.5.0/tests/edge_cases/test_arithmetic_edge_cases.py +129 -0
  470. zexus-1.5.0/tests/edge_cases/test_comprehensive_edge_cases.py +303 -0
  471. zexus-1.5.0/tests/edge_cases/test_null_reassignment.py +152 -0
  472. zexus-1.5.0/tests/examples/clean_test.zx +6 -0
  473. zexus-1.5.0/tests/examples/debug.zx +17 -0
  474. zexus-1.5.0/tests/examples/debug_test.zx +3 -0
  475. zexus-1.5.0/tests/examples/debug_try_catch.zx +12 -0
  476. zexus-1.5.0/tests/examples/let_test.zx +3 -0
  477. zexus-1.5.0/tests/examples/math.zx +136 -0
  478. zexus-1.5.0/tests/examples/math_simple.zx +106 -0
  479. zexus-1.5.0/tests/examples/minimal_test.zx +0 -0
  480. zexus-1.5.0/tests/examples/module_registry.zx +21 -0
  481. zexus-1.5.0/tests/examples/no_comments_test.zx +4 -0
  482. zexus-1.5.0/tests/examples/repro_issue2.zx +14 -0
  483. zexus-1.5.0/tests/examples/repro_issue3.zx +20 -0
  484. zexus-1.5.0/tests/examples/repro_issue4.zx +22 -0
  485. zexus-1.5.0/tests/examples/repro_issue6.zx +11 -0
  486. zexus-1.5.0/tests/examples/simple1.zx +1 -0
  487. zexus-1.5.0/tests/examples/simple2.zx +1 -0
  488. zexus-1.5.0/tests/examples/simple3.zx +1 -0
  489. zexus-1.5.0/tests/examples/simple_let_test.zx +2 -0
  490. zexus-1.5.0/tests/examples/simple_test.zx +3 -0
  491. zexus-1.5.0/tests/final_integration_test.zx +77 -0
  492. zexus-1.5.0/tests/fixtures/inline_int.zx +2 -0
  493. zexus-1.5.0/tests/fixtures/inline_math.zx +3 -0
  494. zexus-1.5.0/tests/fixtures/inline_math2.zx +2 -0
  495. zexus-1.5.0/tests/fixtures/modules/a.zx +4 -0
  496. zexus-1.5.0/tests/fixtures/modules/b.zx +3 -0
  497. zexus-1.5.0/tests/fixtures/modules/mathmod.zx +2 -0
  498. zexus-1.5.0/tests/fixtures/print_float_literal.zx +1 -0
  499. zexus-1.5.0/tests/fixtures/print_one.zx +1 -0
  500. zexus-1.5.0/tests/fixtures/use_import.zx +2 -0
  501. zexus-1.5.0/tests/fixtures/use_only.zx +1 -0
  502. zexus-1.5.0/tests/golden/README.md +49 -0
  503. zexus-1.5.0/tests/golden/function_calls_after_let.zx +12 -0
  504. zexus-1.5.0/tests/golden/mixed_statement_boundaries.zx +20 -0
  505. zexus-1.5.0/tests/golden/nested_expressions.zx +10 -0
  506. zexus-1.5.0/tests/golden/persistence_after_assignment.zx +19 -0
  507. zexus-1.5.0/tests/golden/property_assignments.zx +14 -0
  508. zexus-1.5.0/tests/golden/type_annotations.zx +10 -0
  509. zexus-1.5.0/tests/integration/core/simple_test.zx +18 -0
  510. zexus-1.5.0/tests/integration/core/test_all_comparisons.zx +25 -0
  511. zexus-1.5.0/tests/integration/core/test_all_comparisons_fixed.zx +45 -0
  512. zexus-1.5.0/tests/integration/core/test_assignment_simple.zx +10 -0
  513. zexus-1.5.0/tests/integration/core/test_better_control.zx +24 -0
  514. zexus-1.5.0/tests/integration/core/test_boolean_only.zx +19 -0
  515. zexus-1.5.0/tests/integration/core/test_booleans.zx +24 -0
  516. zexus-1.5.0/tests/integration/core/test_comparisons.zx +15 -0
  517. zexus-1.5.0/tests/integration/core/test_control_flow.zx +50 -0
  518. zexus-1.5.0/tests/integration/core/test_control_flow_fixed.zx +54 -0
  519. zexus-1.5.0/tests/integration/core/test_core.zx +19 -0
  520. zexus-1.5.0/tests/integration/core/test_data_structures.zx +23 -0
  521. zexus-1.5.0/tests/integration/core/test_datetime_math.zx +16 -0
  522. zexus-1.5.0/tests/integration/core/test_debug_error.zx +40 -0
  523. zexus-1.5.0/tests/integration/core/test_edge_cases.zx +22 -0
  524. zexus-1.5.0/tests/integration/core/test_explicit.zx +6 -0
  525. zexus-1.5.0/tests/integration/core/test_file_io.zx +27 -0
  526. zexus-1.5.0/tests/integration/core/test_final_control.zx +29 -0
  527. zexus-1.5.0/tests/integration/core/test_float.zx +16 -0
  528. zexus-1.5.0/tests/integration/core/test_map.zx +14 -0
  529. zexus-1.5.0/tests/integration/core/test_minimal.zx +3 -0
  530. zexus-1.5.0/tests/integration/core/test_modulo.zx +18 -0
  531. zexus-1.5.0/tests/integration/core/test_multi_language_fixed.zx +34 -0
  532. zexus-1.5.0/tests/integration/core/test_print_basic.zx +2 -0
  533. zexus-1.5.0/tests/integration/core/test_print_single.zx +2 -0
  534. zexus-1.5.0/tests/integration/core/test_simple.zx +13 -0
  535. zexus-1.5.0/tests/integration/core/test_simple_control.zx +23 -0
  536. zexus-1.5.0/tests/integration/core/test_simple_expressions.zx +17 -0
  537. zexus-1.5.0/tests/integration/core/test_syntax_discovery.zx +20 -0
  538. zexus-1.5.0/tests/integration/core/test_ui.zx +6 -0
  539. zexus-1.5.0/tests/integration/core/test_vars.zx +3 -0
  540. zexus-1.5.0/tests/integration/core/test_working_control.zx +34 -0
  541. zexus-1.5.0/tests/integration/core/test_working_syntax.zx +40 -0
  542. zexus-1.5.0/tests/integration/features/test_daemonize.zx +25 -0
  543. zexus-1.5.0/tests/integration/features/test_enhanced_run.zx +36 -0
  544. zexus-1.5.0/tests/integration/features/test_hot_reload.zx +36 -0
  545. zexus-1.5.0/tests/integration/features/test_hot_reload_callback.zx +16 -0
  546. zexus-1.5.0/tests/integration/features/test_hot_reload_simple.zx +11 -0
  547. zexus-1.5.0/tests/integration/features/test_lifecycle_hooks.zx +44 -0
  548. zexus-1.5.0/tests/integration/features/test_main_args_complete.zx +48 -0
  549. zexus-1.5.0/tests/integration/features/test_module_introspection.zx +51 -0
  550. zexus-1.5.0/tests/integration/features/test_phase1_features.zx +175 -0
  551. zexus-1.5.0/tests/integration/features/test_production_features.zx +95 -0
  552. zexus-1.5.0/tests/integration/features/test_run_with_args.zx +30 -0
  553. zexus-1.5.0/tests/integration/features/test_schedule.zx +56 -0
  554. zexus-1.5.0/tests/integration/features/test_schedule_multi.zx +22 -0
  555. zexus-1.5.0/tests/integration/features/test_schedule_simple.zx +15 -0
  556. zexus-1.5.0/tests/integration/features/test_signal_handlers.zx +34 -0
  557. zexus-1.5.0/tests/integration/features/test_signal_handlers_enhanced.zx +60 -0
  558. zexus-1.5.0/tests/integration/features/test_simple_features.zx +31 -0
  559. zexus-1.5.0/tests/integration/keywords/if_test.zx +6 -0
  560. zexus-1.5.0/tests/integration/keywords/test_action_fix.zx +16 -0
  561. zexus-1.5.0/tests/integration/keywords/test_actionliteral_eval.zx +7 -0
  562. zexus-1.5.0/tests/integration/keywords/test_all_lambdas.zx +44 -0
  563. zexus-1.5.0/tests/integration/keywords/test_args.zx +18 -0
  564. zexus-1.5.0/tests/integration/keywords/test_args_brace.zx +18 -0
  565. zexus-1.5.0/tests/integration/keywords/test_args_if.zx +13 -0
  566. zexus-1.5.0/tests/integration/keywords/test_bare_function.zx +6 -0
  567. zexus-1.5.0/tests/integration/keywords/test_if.zx +18 -0
  568. zexus-1.5.0/tests/integration/keywords/test_if_else.zx +23 -0
  569. zexus-1.5.0/tests/integration/keywords/test_if_simple.zx +7 -0
  570. zexus-1.5.0/tests/integration/keywords/test_if_syntax.zx +21 -0
  571. zexus-1.5.0/tests/integration/keywords/test_lambda_and_chains.py +31 -0
  572. zexus-1.5.0/tests/integration/keywords/test_lambda_and_chains_pytest.py +40 -0
  573. zexus-1.5.0/tests/integration/keywords/test_let_complex.zx +31 -0
  574. zexus-1.5.0/tests/integration/keywords/test_let_function_call.zx +23 -0
  575. zexus-1.5.0/tests/integration/keywords/test_let_in_if.zx +24 -0
  576. zexus-1.5.0/tests/integration/keywords/test_loops.zx +20 -0
  577. zexus-1.5.0/tests/integration/keywords/test_while_simple.zx +10 -0
  578. zexus-1.5.0/tests/integration/test_advanced_features_complete.zx +220 -0
  579. zexus-1.5.0/tests/integration/test_audit_command.zx +31 -0
  580. zexus-1.5.0/tests/integration/test_blockchain_integration.zx +45 -0
  581. zexus-1.5.0/tests/integration/test_brace.zx +5 -0
  582. zexus-1.5.0/tests/integration/test_builtins_simple.zx +25 -0
  583. zexus-1.5.0/tests/integration/test_capability_simple.zx +4 -0
  584. zexus-1.5.0/tests/integration/test_concat.zx +1 -0
  585. zexus-1.5.0/tests/integration/test_concat_undefined.zx +3 -0
  586. zexus-1.5.0/tests/integration/test_dependency_injection.zx +212 -0
  587. zexus-1.5.0/tests/integration/test_diag.zx +1 -0
  588. zexus-1.5.0/tests/integration/test_escape.zx +1 -0
  589. zexus-1.5.0/tests/integration/test_eval.zx +1 -0
  590. zexus-1.5.0/tests/integration/test_fix.zx +0 -0
  591. zexus-1.5.0/tests/integration/test_fix_circular.zx +23 -0
  592. zexus-1.5.0/tests/integration/test_func_decl.zx +6 -0
  593. zexus-1.5.0/tests/integration/test_func_expr.zx +1 -0
  594. zexus-1.5.0/tests/integration/test_func_literal.zx +6 -0
  595. zexus-1.5.0/tests/integration/test_function_call.zx +7 -0
  596. zexus-1.5.0/tests/integration/test_hash_token.zx +2 -0
  597. zexus-1.5.0/tests/integration/test_integration_simple.zx +24 -0
  598. zexus-1.5.0/tests/integration/test_issue3_and_4.zx +17 -0
  599. zexus-1.5.0/tests/integration/test_issue3_print_concat.zx +4 -0
  600. zexus-1.5.0/tests/integration/test_issue5_type_alias.zx +9 -0
  601. zexus-1.5.0/tests/integration/test_issue6_using.zx +9 -0
  602. zexus-1.5.0/tests/integration/test_issue7_packages.zx +10 -0
  603. zexus-1.5.0/tests/integration/test_issues_comprehensive.zx +50 -0
  604. zexus-1.5.0/tests/integration/test_map.zx +2 -0
  605. zexus-1.5.0/tests/integration/test_map_access.zx +3 -0
  606. zexus-1.5.0/tests/integration/test_math_core.zx +31 -0
  607. zexus-1.5.0/tests/integration/test_minimal2.zx +29 -0
  608. zexus-1.5.0/tests/integration/test_minimal_phase1.zx +37 -0
  609. zexus-1.5.0/tests/integration/test_module_basic.zx +8 -0
  610. zexus-1.5.0/tests/integration/test_module_debug.zx +10 -0
  611. zexus-1.5.0/tests/integration/test_module_simple.zx +10 -0
  612. zexus-1.5.0/tests/integration/test_no_comments.zx +5 -0
  613. zexus-1.5.0/tests/integration/test_package_hierarchy.zx +36 -0
  614. zexus-1.5.0/tests/integration/test_package_simple.zx +12 -0
  615. zexus-1.5.0/tests/integration/test_persistence_and_memory.zx +53 -0
  616. zexus-1.5.0/tests/integration/test_protect_feature.zx +121 -0
  617. zexus-1.5.0/tests/integration/test_seal_feature.zx +21 -0
  618. zexus-1.5.0/tests/integration/test_simple.zx +11 -0
  619. zexus-1.5.0/tests/integration/test_simple_assign.zx +2 -0
  620. zexus-1.5.0/tests/integration/test_simple_fix.zx +15 -0
  621. zexus-1.5.0/tests/integration/test_simple_fixes.zx +35 -0
  622. zexus-1.5.0/tests/integration/test_simple_func.zx +5 -0
  623. zexus-1.5.0/tests/integration/test_simple_print.zx +4 -0
  624. zexus-1.5.0/tests/integration/test_stdlib.zx +26 -0
  625. zexus-1.5.0/tests/integration/test_try_catch_simple.zx +10 -0
  626. zexus-1.5.0/tests/integration/test_try_syntax.zx +11 -0
  627. zexus-1.5.0/tests/integration/test_try_traditional.zx +11 -0
  628. zexus-1.5.0/tests/integration/test_type_alias_advanced.zx +25 -0
  629. zexus-1.5.0/tests/integration/test_type_alias_errors.zx +13 -0
  630. zexus-1.5.0/tests/integration/test_using_file.zx +14 -0
  631. zexus-1.5.0/tests/integration/test_watch.zx +32 -0
  632. zexus-1.5.0/tests/integration/test_watch_clean.zx +70 -0
  633. zexus-1.5.0/tests/integration/test_watch_feature.zx +75 -0
  634. zexus-1.5.0/tests/integration/test_working.zx +39 -0
  635. zexus-1.5.0/tests/integration/test_working_fixed.zx +36 -0
  636. zexus-1.5.0/tests/keyword_tests/README.md +206 -0
  637. zexus-1.5.0/tests/keyword_tests/complex/test_advanced_complex.zx +248 -0
  638. zexus-1.5.0/tests/keyword_tests/complex/test_async_complex.zx +359 -0
  639. zexus-1.5.0/tests/keyword_tests/complex/test_blockchain_complex.zx +195 -0
  640. zexus-1.5.0/tests/keyword_tests/complex/test_capability_complex.zx +370 -0
  641. zexus-1.5.0/tests/keyword_tests/complex/test_const_complex.zx +290 -0
  642. zexus-1.5.0/tests/keyword_tests/complex/test_continue_complex.zx +331 -0
  643. zexus-1.5.0/tests/keyword_tests/complex/test_error_handling_complex.zx +626 -0
  644. zexus-1.5.0/tests/keyword_tests/complex/test_events_complex.zx +548 -0
  645. zexus-1.5.0/tests/keyword_tests/complex/test_functions_complex.zx +293 -0
  646. zexus-1.5.0/tests/keyword_tests/complex/test_if_complex.zx +341 -0
  647. zexus-1.5.0/tests/keyword_tests/complex/test_io_modules_complex.zx +305 -0
  648. zexus-1.5.0/tests/keyword_tests/complex/test_let_complex.zx +338 -0
  649. zexus-1.5.0/tests/keyword_tests/complex/test_modifiers_complex.zx +497 -0
  650. zexus-1.5.0/tests/keyword_tests/complex/test_module_complex.zx +486 -0
  651. zexus-1.5.0/tests/keyword_tests/complex/test_parallel_stress.zx +136 -0
  652. zexus-1.5.0/tests/keyword_tests/complex/test_performance_complex.zx +235 -0
  653. zexus-1.5.0/tests/keyword_tests/complex/test_register_stress.zx +231 -0
  654. zexus-1.5.0/tests/keyword_tests/complex/test_renderer_complex.zx +375 -0
  655. zexus-1.5.0/tests/keyword_tests/complex/test_renderer_ops_complex.zx +277 -0
  656. zexus-1.5.0/tests/keyword_tests/complex/test_security_complex.zx +465 -0
  657. zexus-1.5.0/tests/keyword_tests/complex/test_special_complex.zx +345 -0
  658. zexus-1.5.0/tests/keyword_tests/complex/test_while_for_each_complex.zx +213 -0
  659. zexus-1.5.0/tests/keyword_tests/easy/test_advanced_easy.zx +163 -0
  660. zexus-1.5.0/tests/keyword_tests/easy/test_async_easy.zx +139 -0
  661. zexus-1.5.0/tests/keyword_tests/easy/test_async_easy.zx.old +236 -0
  662. zexus-1.5.0/tests/keyword_tests/easy/test_blockchain_easy.zx +91 -0
  663. zexus-1.5.0/tests/keyword_tests/easy/test_capability_easy.zx +159 -0
  664. zexus-1.5.0/tests/keyword_tests/easy/test_const_easy.zx +82 -0
  665. zexus-1.5.0/tests/keyword_tests/easy/test_continue_easy.zx +123 -0
  666. zexus-1.5.0/tests/keyword_tests/easy/test_data_easy.zx +132 -0
  667. zexus-1.5.0/tests/keyword_tests/easy/test_error_handling_easy.zx +261 -0
  668. zexus-1.5.0/tests/keyword_tests/easy/test_events_easy.zx +210 -0
  669. zexus-1.5.0/tests/keyword_tests/easy/test_functions_easy.zx +159 -0
  670. zexus-1.5.0/tests/keyword_tests/easy/test_if_easy.zx +155 -0
  671. zexus-1.5.0/tests/keyword_tests/easy/test_io_modules_easy.zx +119 -0
  672. zexus-1.5.0/tests/keyword_tests/easy/test_let_easy.zx +89 -0
  673. zexus-1.5.0/tests/keyword_tests/easy/test_loops_easy.zx +163 -0
  674. zexus-1.5.0/tests/keyword_tests/easy/test_modifiers_easy.zx +170 -0
  675. zexus-1.5.0/tests/keyword_tests/easy/test_module_easy.zx +115 -0
  676. zexus-1.5.0/tests/keyword_tests/easy/test_parallel_basic.zx +188 -0
  677. zexus-1.5.0/tests/keyword_tests/easy/test_performance_easy.zx +105 -0
  678. zexus-1.5.0/tests/keyword_tests/easy/test_phase13_easy.zx +139 -0
  679. zexus-1.5.0/tests/keyword_tests/easy/test_register_basic.zx +87 -0
  680. zexus-1.5.0/tests/keyword_tests/easy/test_renderer_easy.zx +161 -0
  681. zexus-1.5.0/tests/keyword_tests/easy/test_renderer_ops_easy.zx +134 -0
  682. zexus-1.5.0/tests/keyword_tests/easy/test_security_easy.zx +182 -0
  683. zexus-1.5.0/tests/keyword_tests/easy/test_special_easy.zx +145 -0
  684. zexus-1.5.0/tests/keyword_tests/easy/test_while_for_each_easy.zx +153 -0
  685. zexus-1.5.0/tests/keyword_tests/medium/test_advanced_medium.zx +190 -0
  686. zexus-1.5.0/tests/keyword_tests/medium/test_async_medium.zx +322 -0
  687. zexus-1.5.0/tests/keyword_tests/medium/test_blockchain_medium.zx +122 -0
  688. zexus-1.5.0/tests/keyword_tests/medium/test_capability_medium.zx +262 -0
  689. zexus-1.5.0/tests/keyword_tests/medium/test_const_medium.zx +136 -0
  690. zexus-1.5.0/tests/keyword_tests/medium/test_continue_medium.zx +219 -0
  691. zexus-1.5.0/tests/keyword_tests/medium/test_data_edge_cases.zx +236 -0
  692. zexus-1.5.0/tests/keyword_tests/medium/test_error_handling_medium.zx +383 -0
  693. zexus-1.5.0/tests/keyword_tests/medium/test_events_medium.zx +356 -0
  694. zexus-1.5.0/tests/keyword_tests/medium/test_functions_medium.zx +239 -0
  695. zexus-1.5.0/tests/keyword_tests/medium/test_if_medium.zx +244 -0
  696. zexus-1.5.0/tests/keyword_tests/medium/test_io_modules_medium.zx +173 -0
  697. zexus-1.5.0/tests/keyword_tests/medium/test_let_medium.zx +165 -0
  698. zexus-1.5.0/tests/keyword_tests/medium/test_modifiers_medium.zx +223 -0
  699. zexus-1.5.0/tests/keyword_tests/medium/test_module_medium.zx +282 -0
  700. zexus-1.5.0/tests/keyword_tests/medium/test_parallel_advanced.zx +322 -0
  701. zexus-1.5.0/tests/keyword_tests/medium/test_performance_medium.zx +175 -0
  702. zexus-1.5.0/tests/keyword_tests/medium/test_register_advanced.zx +156 -0
  703. zexus-1.5.0/tests/keyword_tests/medium/test_renderer_medium.zx +195 -0
  704. zexus-1.5.0/tests/keyword_tests/medium/test_renderer_ops_medium.zx +177 -0
  705. zexus-1.5.0/tests/keyword_tests/medium/test_security_medium.zx +272 -0
  706. zexus-1.5.0/tests/keyword_tests/medium/test_special_medium.zx +204 -0
  707. zexus-1.5.0/tests/keyword_tests/medium/test_while_for_each_medium.zx +199 -0
  708. zexus-1.5.0/tests/keyword_tests/run_keyword_test.sh +71 -0
  709. zexus-1.5.0/tests/keyword_tests/test_module_helper.zx +24 -0
  710. zexus-1.5.0/tests/repro/repro_enum.zx +1 -0
  711. zexus-1.5.0/tests/repro/repro_lambda.zx +1 -0
  712. zexus-1.5.0/tests/repro/repro_map.zx +1 -0
  713. zexus-1.5.0/tests/repro/repro_protocol.zx +4 -0
  714. zexus-1.5.0/tests/test_async_system_integration.py +377 -0
  715. zexus-1.5.0/tests/test_full_integration.py +121 -0
  716. zexus-1.5.0/tests/test_global.zx +11 -0
  717. zexus-1.5.0/tests/test_integration.py +144 -0
  718. zexus-1.5.0/tests/test_module_system.py +34 -0
  719. zexus-1.5.0/tests/test_simple_if.zx +9 -0
  720. zexus-1.5.0/tests/unit/simple_test.py +19 -0
  721. zexus-1.5.0/tests/unit/test_advanced_types.py +415 -0
  722. zexus-1.5.0/tests/unit/test_advanced_vs_traditional.py +37 -0
  723. zexus-1.5.0/tests/unit/test_audit_components.py +127 -0
  724. zexus-1.5.0/tests/unit/test_audit_enhanced.py +169 -0
  725. zexus-1.5.0/tests/unit/test_basic.py +48 -0
  726. zexus-1.5.0/tests/unit/test_capability_system.py +315 -0
  727. zexus-1.5.0/tests/unit/test_concurrent_execution.py +150 -0
  728. zexus-1.5.0/tests/unit/test_convenience_advanced_features.py +177 -0
  729. zexus-1.5.0/tests/unit/test_ecosystem.py +458 -0
  730. zexus-1.5.0/tests/unit/test_edge_cases.py +231 -0
  731. zexus-1.5.0/tests/unit/test_exact_phase10.py +61 -0
  732. zexus-1.5.0/tests/unit/test_hybrid.py +41 -0
  733. zexus-1.5.0/tests/unit/test_lexer_directly.py +15 -0
  734. zexus-1.5.0/tests/unit/test_map_fix.py +51 -0
  735. zexus-1.5.0/tests/unit/test_map_only.py +49 -0
  736. zexus-1.5.0/tests/unit/test_memory_leakage.py +137 -0
  737. zexus-1.5.0/tests/unit/test_metaprogramming.py +455 -0
  738. zexus-1.5.0/tests/unit/test_modifiers_evaluator.py +156 -0
  739. zexus-1.5.0/tests/unit/test_modifiers_evaluator_simple.py +124 -0
  740. zexus-1.5.0/tests/unit/test_modifiers_parsing.py +27 -0
  741. zexus-1.5.0/tests/unit/test_optimization.py +454 -0
  742. zexus-1.5.0/tests/unit/test_parameter_binding.py +131 -0
  743. zexus-1.5.0/tests/unit/test_parser_debug.py +36 -0
  744. zexus-1.5.0/tests/unit/test_performance.py +260 -0
  745. zexus-1.5.0/tests/unit/test_performance_features.py +163 -0
  746. zexus-1.5.0/tests/unit/test_plugin_system.py +264 -0
  747. zexus-1.5.0/tests/unit/test_restrict_trail_sandbox.py +83 -0
  748. zexus-1.5.0/tests/unit/test_runner.py +71 -0
  749. zexus-1.5.0/tests/unit/test_seal_components.py +53 -0
  750. zexus-1.5.0/tests/unit/test_type_system.py +352 -0
  751. zexus-1.5.0/tests/unit/test_virtual_filesystem.py +331 -0
  752. zexus-1.5.0/tests/unit/test_zexus_phases.py +118 -0
  753. zexus-1.5.0/tests/unit/test_zexus_program.py +230 -0
  754. zexus-1.5.0/tests/vm/benchmark_cache.py +245 -0
  755. zexus-1.5.0/tests/vm/benchmark_memory.py +385 -0
  756. zexus-1.5.0/tests/vm/benchmark_parallel_vm.py +309 -0
  757. zexus-1.5.0/tests/vm/benchmark_register_vm.py +299 -0
  758. zexus-1.5.0/tests/vm/test_all_optimizations_integration.py +662 -0
  759. zexus-1.5.0/tests/vm/test_async_optimizer.py +462 -0
  760. zexus-1.5.0/tests/vm/test_async_verification.py +568 -0
  761. zexus-1.5.0/tests/vm/test_blockchain_opcodes.py +772 -0
  762. zexus-1.5.0/tests/vm/test_cache.py +594 -0
  763. zexus-1.5.0/tests/vm/test_comprehensive_vm_verification.py +1375 -0
  764. zexus-1.5.0/tests/vm/test_integration_all_phases.py +321 -0
  765. zexus-1.5.0/tests/vm/test_integration_simple.py +252 -0
  766. zexus-1.5.0/tests/vm/test_jit_compilation.py +518 -0
  767. zexus-1.5.0/tests/vm/test_jit_vm_integration.py +797 -0
  768. zexus-1.5.0/tests/vm/test_memory_manager.py +539 -0
  769. zexus-1.5.0/tests/vm/test_memory_pool.py +519 -0
  770. zexus-1.5.0/tests/vm/test_optimizer.py +567 -0
  771. zexus-1.5.0/tests/vm/test_parallel_vm.py +503 -0
  772. zexus-1.5.0/tests/vm/test_peephole_optimizer.py +565 -0
  773. zexus-1.5.0/tests/vm/test_profiler.py +470 -0
  774. zexus-1.5.0/tests/vm/test_register_allocator.py +284 -0
  775. zexus-1.5.0/tests/vm/test_register_vm.py +457 -0
  776. zexus-1.5.0/tests/vm/test_ssa_converter.py +155 -0
  777. zexus-1.5.0/tests/vm/test_vm_async_integration.py +169 -0
  778. zexus-1.5.0/tests/vm/test_vm_memory_pool_integration.py +239 -0
  779. zexus-1.5.0/tests/vm/test_vm_peephole_integration.py +276 -0
  780. zexus-1.5.0/tests/vm/test_vm_ssa_integration.py +194 -0
  781. zexus-1.5.0/ultimate_test.zx +650 -0
  782. zexus-1.5.0/vscode-extension/.gitignore +7 -0
  783. zexus-1.5.0/vscode-extension/README.md +314 -0
  784. zexus-1.5.0/vscode-extension/language-configuration.json +36 -0
  785. zexus-1.5.0/vscode-extension/package.json +224 -0
  786. zexus-1.5.0/vscode-extension/snippets/zexus.json +95 -0
  787. zexus-1.5.0/vscode-extension/src/extension.ts +172 -0
  788. zexus-1.5.0/vscode-extension/syntaxes/zexus.tmLanguage.json +197 -0
  789. zexus-1.5.0/vscode-extension/tsconfig.json +18 -0
  790. zexus-1.5.0/zexus-syntax/install-syntax.sh +24 -0
  791. zexus-1.5.0/zexus-syntax/language-configuration.json +22 -0
  792. zexus-1.5.0/zexus-syntax/package.json +36 -0
  793. zexus-1.5.0/zexus-syntax/syntaxes/zexus.tmLanguage.json +0 -0
  794. zexus-1.5.0/zexus-syntax/zexus-language-0.1.0.vsix.zip +0 -0
  795. zexus-1.5.0/zexus.json +14 -0
  796. zexus-1.5.0/zpics +133 -0
  797. zexus-1.5.0/zpm_modules/zexus-blockchain/README.md +406 -0
  798. zexus-1.5.0/zpm_modules/zexus-blockchain/blockchain/bridge.zx +232 -0
  799. zexus-1.5.0/zpm_modules/zexus-blockchain/blockchain/consensus.zx +188 -0
  800. zexus-1.5.0/zpm_modules/zexus-blockchain/blockchain/contract.zx +202 -0
  801. zexus-1.5.0/zpm_modules/zexus-blockchain/blockchain/core.zx +99 -0
  802. zexus-1.5.0/zpm_modules/zexus-blockchain/blockchain/evolution.zx +163 -0
  803. zexus-1.5.0/zpm_modules/zexus-blockchain/blockchain/explainable.zx +94 -0
  804. zexus-1.5.0/zpm_modules/zexus-blockchain/blockchain/oracle.zx +227 -0
  805. zexus-1.5.0/zpm_modules/zexus-blockchain/blockchain/p2p.zx +335 -0
  806. zexus-1.5.0/zpm_modules/zexus-blockchain/blockchain/patching.zx +187 -0
  807. zexus-1.5.0/zpm_modules/zexus-blockchain/blockchain/seb_defi.zx +255 -0
  808. zexus-1.5.0/zpm_modules/zexus-blockchain/blockchain/transaction.zx +142 -0
  809. zexus-1.5.0/zpm_modules/zexus-blockchain/blockchain/zksnarks.zx +157 -0
  810. zexus-1.5.0/zpm_modules/zexus-blockchain/blockchain.zx +25 -0
  811. zexus-1.5.0/zpm_modules/zexus-blockchain/index.zx +115 -0
  812. zexus-1.5.0/zpm_modules/zexus-blockchain/zexus.json +27 -0
  813. zexus-1.5.0/zpm_modules/zexus-core/import.zx +3 -0
  814. zexus-1.5.0/zpm_modules/zexus-core/index.zx +2 -0
  815. zexus-1.5.0/zpm_modules/zexus-core/string.zx +42 -0
  816. zexus-1.5.0/zpm_modules/zexus-math/README.md +233 -0
  817. zexus-1.5.0/zpm_modules/zexus-math/examples/advanced_calculator.zx +62 -0
  818. zexus-1.5.0/zpm_modules/zexus-math/examples/expert_calculator.zx +91 -0
  819. zexus-1.5.0/zpm_modules/zexus-math/examples/unified_usage.zx +58 -0
  820. zexus-1.5.0/zpm_modules/zexus-math/index.zx +281 -0
  821. zexus-1.5.0/zpm_modules/zexus-math/math/advanced_linalg.zx +56 -0
  822. zexus-1.5.0/zpm_modules/zexus-math/math/async.zx +85 -0
  823. zexus-1.5.0/zpm_modules/zexus-math/math/calculus.zx +76 -0
  824. zexus-1.5.0/zpm_modules/zexus-math/math/complex.zx +198 -0
  825. zexus-1.5.0/zpm_modules/zexus-math/math/core.zx +132 -0
  826. zexus-1.5.0/zpm_modules/zexus-math/math/crypto.zx +97 -0
  827. zexus-1.5.0/zpm_modules/zexus-math/math/diffeq.zx +43 -0
  828. zexus-1.5.0/zpm_modules/zexus-math/math/geometric.zx +60 -0
  829. zexus-1.5.0/zpm_modules/zexus-math/math/interpolation.zx +45 -0
  830. zexus-1.5.0/zpm_modules/zexus-math/math/linalg.zx +340 -0
  831. zexus-1.5.0/zpm_modules/zexus-math/math/ml.zx +99 -0
  832. zexus-1.5.0/zpm_modules/zexus-math/math/numerical.zx +44 -0
  833. zexus-1.5.0/zpm_modules/zexus-math/math/optimization.zx +67 -0
  834. zexus-1.5.0/zpm_modules/zexus-math/math/performance.zx +51 -0
  835. zexus-1.5.0/zpm_modules/zexus-math/math/physics.zx +48 -0
  836. zexus-1.5.0/zpm_modules/zexus-math/math/renderer.zx +43 -0
  837. zexus-1.5.0/zpm_modules/zexus-math/math/signal.zx +62 -0
  838. zexus-1.5.0/zpm_modules/zexus-math/math/special.zx +64 -0
  839. zexus-1.5.0/zpm_modules/zexus-math/math/stats.zx +47 -0
  840. zexus-1.5.0/zpm_modules/zexus-math/math/symbolic.zx +71 -0
  841. zexus-1.5.0/zpm_modules/zexus-math/math/validation.zx +64 -0
  842. zexus-1.5.0/zpm_modules/zexus-math/math.zx +137 -0
  843. zexus-1.5.0/zpm_modules/zexus-math/zexus.json +13 -0
  844. zexus-1.5.0/zpm_modules/zexus-network/README.md +409 -0
  845. zexus-1.5.0/zpm_modules/zexus-network/examples/http_client.zx +23 -0
  846. zexus-1.5.0/zpm_modules/zexus-network/examples/network_demo.zx +80 -0
  847. zexus-1.5.0/zpm_modules/zexus-network/examples/websocket_chat.zx +34 -0
  848. zexus-1.5.0/zpm_modules/zexus-network/index.zx +146 -0
  849. zexus-1.5.0/zpm_modules/zexus-network/network/core.zx +53 -0
  850. zexus-1.5.0/zpm_modules/zexus-network/network/dns.zx +76 -0
  851. zexus-1.5.0/zpm_modules/zexus-network/network/http.zx +116 -0
  852. zexus-1.5.0/zpm_modules/zexus-network/network/security.zx +83 -0
  853. zexus-1.5.0/zpm_modules/zexus-network/network/server.zx +201 -0
  854. zexus-1.5.0/zpm_modules/zexus-network/network/socket.zx +190 -0
  855. zexus-1.5.0/zpm_modules/zexus-network/network/websocket.zx +139 -0
  856. zexus-1.5.0/zpm_modules/zexus-network/network.zx +4 -0
  857. zexus-1.5.0/zpm_modules/zexus-network/zexus.json +14 -0
  858. zexus-1.5.0/zx +19 -0
  859. zexus-1.5.0/zx-deploy +190 -0
  860. zexus-1.5.0/zx-dev +38 -0
  861. zexus-1.5.0/zx-run +83 -0
  862. zexus-1.5.0/zx.bin +0 -0
@@ -0,0 +1,12 @@
1
+ # Zexus Language Definition
2
+ # Map to Python for syntax highlighting on GitHub until Zexus is added to Linguist
3
+ *.zx linguist-language=Python linguist-detectable=true
4
+
5
+ # Mark as documentation/vendored to exclude from language stats
6
+ *.md linguist-documentation
7
+ tests/** linguist-vendored=true
8
+ scripts/** linguist-vendored=true
9
+ examples/** linguist-documentation
10
+
11
+ # Ensure Zexus source files are counted
12
+ src/**/*.zx linguist-vendored=false linguist-detectable=true
@@ -0,0 +1,9 @@
1
+ %YAML 1.2
2
+ ---
3
+ type: programming
4
+ color: "#FF6B35"
5
+ extensions:
6
+ - ".zx"
7
+ tm_scope: source.zexus
8
+ ace_mode: text
9
+ language_id: 549872365
zexus-1.5.0/.gitignore ADDED
@@ -0,0 +1,94 @@
1
+ __pycache__/
2
+ *.pyc
3
+ *.pyo
4
+ *.pyd
5
+ .Python
6
+ build/
7
+ develop-eggs/
8
+ dist/
9
+ downloads/
10
+ eggs/
11
+ .eggs/
12
+ lib/
13
+ lib64/
14
+ parts/
15
+ sdist/
16
+ var/
17
+ wheels/
18
+ pip-wheel-metadata/
19
+ share/python-wheels/
20
+ *.egg-info/
21
+ .installed.cfg
22
+ *.egg
23
+ MANIFEST
24
+
25
+ # Virtual environments
26
+ venv/
27
+ ENV/
28
+ env/
29
+ .venv
30
+
31
+ # IDE
32
+ .vscode/
33
+ .idea/
34
+ *.swp
35
+ *.swo
36
+ *~
37
+ .DS_Store
38
+
39
+ # Testing
40
+ .pytest_cache/
41
+ .coverage
42
+ htmlcov/
43
+ .tox/
44
+ .hypothesis/
45
+
46
+ # Zexus specific
47
+ .zexus_persist/
48
+ *.zx.compiled
49
+ zpm_modules/
50
+ *.log
51
+
52
+ # Temporary files
53
+ /tmp/
54
+ *.tmp
55
+ *.bak
56
+
57
+ # ===================================
58
+ # RUNTIME STATE (NEVER COMMIT THESE)
59
+ # ===================================
60
+
61
+ # Blockchain/Contract State
62
+ chain_data/
63
+ *.sqlite
64
+ *.db
65
+
66
+ # Audit Logs
67
+ audit_logs/
68
+ *.audit
69
+
70
+ # Generated Files
71
+ generated.py
72
+ generated.cpp
73
+ generated.zx
74
+ *.generated.*
75
+
76
+ # Test Artifacts
77
+ test_*.txt
78
+ *_output.txt
79
+ calculation.txt
80
+ shared.txt
81
+
82
+ # Temporary Scripts
83
+ script.py
84
+ analytics.py
85
+ demo_*.py
86
+
87
+ # Keys and Secrets
88
+ *.key
89
+ *.pem
90
+ SSH_PUBLIC_KEY.txt
91
+
92
+ # Cache and Runtime Data
93
+ .mypy_cache/
94
+ *.cache
@@ -0,0 +1,52 @@
1
+ # Zexus Language Extension for VS Code
2
+
3
+ This directory contains the VS Code language extension for Zexus.
4
+
5
+ ## Installation
6
+
7
+ ### Option 1: Workspace Settings (Current Setup)
8
+ The `.vscode/settings.json` file associates `.zx` files with the Zexus language and applies syntax highlighting.
9
+
10
+ ### Option 2: Install Extension Globally
11
+
12
+ 1. Package the extension:
13
+ ```bash
14
+ cd .vscode/extensions/zexus-language
15
+ npm install -g vsce
16
+ vsce package
17
+ ```
18
+
19
+ 2. Install the .vsix file:
20
+ ```bash
21
+ code --install-extension zexus-language-0.1.0.vsix
22
+ ```
23
+
24
+ ### Option 3: Development Mode
25
+
26
+ 1. Open VS Code
27
+ 2. Press `F5` to open Extension Development Host
28
+ 3. The extension will be active in the new window
29
+
30
+ ## Syntax Highlighting
31
+
32
+ Syntax highlighting is now enabled through:
33
+ - Workspace settings (`.vscode/settings.json`)
34
+ - TextMate grammar (`syntaxes/zexus.tmLanguage.json`)
35
+ - Language configuration (`language-configuration.json`)
36
+
37
+ ## Features
38
+
39
+ - **Syntax Highlighting**: Keywords, strings, comments, operators
40
+ - **Auto-closing**: Brackets, quotes, braces
41
+ - **Code Snippets**: contract, entity, protect, watch, inject
42
+ - **Comment Toggling**: Use Ctrl+/ to toggle line comments
43
+ - **Folding**: Support for #region/#endregion
44
+
45
+ ## Troubleshooting
46
+
47
+ If syntax highlighting doesn't work:
48
+
49
+ 1. Reload VS Code window (Ctrl+Shift+P > "Reload Window")
50
+ 2. Check file extension is `.zx`
51
+ 3. Verify language mode in bottom-right corner shows "Zexus"
52
+ 4. Check Output panel (View > Output > select "Extension Host")
@@ -0,0 +1,36 @@
1
+ {
2
+ "comments": {
3
+ "lineComment": "//",
4
+ "blockComment": ["/*", "*/"]
5
+ },
6
+ "brackets": [
7
+ ["{", "}"],
8
+ ["[", "]"],
9
+ ["(", ")"]
10
+ ],
11
+ "autoClosingPairs": [
12
+ { "open": "{", "close": "}" },
13
+ { "open": "[", "close": "]" },
14
+ { "open": "(", "close": ")" },
15
+ { "open": "\"", "close": "\"", "notIn": ["string"] },
16
+ { "open": "'", "close": "'", "notIn": ["string", "comment"] }
17
+ ],
18
+ "surroundingPairs": [
19
+ ["{", "}"],
20
+ ["[", "]"],
21
+ ["(", ")"],
22
+ ["\"", "\""],
23
+ ["'", "'"]
24
+ ],
25
+ "folding": {
26
+ "markers": {
27
+ "start": "^\\s*#region\\b",
28
+ "end": "^\\s*#endregion\\b"
29
+ }
30
+ },
31
+ "wordPattern": "(-?\\d*\\.\\d\\w*)|([^\\`\\~\\!\\@\\#\\%\\^\\&\\*\\(\\)\\-\\=\\+\\[\\{\\]\\}\\\\\\|\\;\\:\\'\\\"\\,\\.\\<\\>\\/\\?\\s]+)",
32
+ "indentationRules": {
33
+ "increaseIndentPattern": "^((?!\\/\\/).)*(\\{[^}\"'`]*|\\([^)\"'`]*|\\[[^\\]\"'`]*)$",
34
+ "decreaseIndentPattern": "^((?!.*?\\/\\*).*\\*/)?\\s*[\\)\\}\\]].*$"
35
+ }
36
+ }
@@ -0,0 +1,114 @@
1
+ {
2
+ "name": "zexus-language",
3
+ "displayName": "Zexus Language Support",
4
+ "description": "Syntax highlighting and language support for Zexus programming language",
5
+ "version": "1.5.0",
6
+ "publisher": "Zaidux",
7
+ "icon": "images/icon.png",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/Zaidux/zexus-interpreter"
11
+ },
12
+ "engines": {
13
+ "vscode": "^1.60.0"
14
+ },
15
+ "categories": [
16
+ "Programming Languages"
17
+ ],
18
+ "keywords": [
19
+ "zexus",
20
+ "blockchain",
21
+ "smart-contracts",
22
+ "security"
23
+ ],
24
+ "contributes": {
25
+ "languages": [
26
+ {
27
+ "id": "zexus",
28
+ "aliases": [
29
+ "Zexus",
30
+ "zexus"
31
+ ],
32
+ "extensions": [
33
+ ".zx"
34
+ ],
35
+ "configuration": "./language-configuration.json",
36
+ "icon": {
37
+ "light": "./images/zexus-icon.png",
38
+ "dark": "./images/zexus-icon.png"
39
+ }
40
+ }
41
+ ],
42
+ "grammars": [
43
+ {
44
+ "language": "zexus",
45
+ "scopeName": "source.zexus",
46
+ "path": "./syntaxes/zexus.tmLanguage.json"
47
+ }
48
+ ],
49
+ "snippets": [
50
+ {
51
+ "language": "zexus",
52
+ "path": "./snippets/zexus.json"
53
+ }
54
+ ],
55
+ "commands": [
56
+ {
57
+ "command": "zexus.run",
58
+ "title": "Run Zexus File",
59
+ "category": "Zexus"
60
+ },
61
+ {
62
+ "command": "zexus.check",
63
+ "title": "Check Syntax",
64
+ "category": "Zexus"
65
+ }
66
+ ],
67
+ "keybindings": [
68
+ {
69
+ "command": "zexus.run",
70
+ "key": "ctrl+shift+r",
71
+ "mac": "cmd+shift+r",
72
+ "when": "editorLangId == zexus"
73
+ }
74
+ ],
75
+ "configuration": {
76
+ "title": "Zexus",
77
+ "properties": {
78
+ "zexus.syntaxStyle": {
79
+ "type": "string",
80
+ "enum": [
81
+ "universal",
82
+ "tolerable",
83
+ "auto"
84
+ ],
85
+ "default": "auto",
86
+ "description": "Syntax style to use (universal=strict, tolerable=flexible, auto=detect)"
87
+ },
88
+ "zexus.executionMode": {
89
+ "type": "string",
90
+ "enum": [
91
+ "interpreter",
92
+ "compiler",
93
+ "auto"
94
+ ],
95
+ "default": "auto",
96
+ "description": "Execution engine to use"
97
+ },
98
+ "zexus.advancedParsing": {
99
+ "type": "boolean",
100
+ "default": true,
101
+ "description": "Enable advanced multi-strategy parsing"
102
+ }
103
+ }
104
+ }
105
+ },
106
+ "scripts": {
107
+ "vscode:prepublish": "echo 'Ready to publish'",
108
+ "package": "vsce package",
109
+ "publish": "vsce publish"
110
+ },
111
+ "devDependencies": {
112
+ "@types/vscode": "^1.60.0"
113
+ }
114
+ }
@@ -0,0 +1,95 @@
1
+ {
2
+ "Contract": {
3
+ "prefix": "contract",
4
+ "body": [
5
+ "contract ${1:ContractName} {",
6
+ "\tpersistent storage ${2:data}: ${3:Map<Address, integer>}",
7
+ "\t",
8
+ "\taction ${4:method_name}(${5:params}) {",
9
+ "\t\t${6:// Implementation}",
10
+ "\t}",
11
+ "}"
12
+ ],
13
+ "description": "Create a Zexus contract"
14
+ },
15
+ "Entity": {
16
+ "prefix": "entity",
17
+ "body": [
18
+ "entity ${1:EntityName} {",
19
+ "\t${2:field}: ${3:type},",
20
+ "\t${4:field2}: ${5:type2}",
21
+ "}"
22
+ ],
23
+ "description": "Create a Zexus entity"
24
+ },
25
+ "Action": {
26
+ "prefix": "action",
27
+ "body": [
28
+ "action ${1:function_name}(${2:params}) -> ${3:return_type} {",
29
+ "\t${4:// Implementation}",
30
+ "}"
31
+ ],
32
+ "description": "Create a Zexus action (function)"
33
+ },
34
+ "Protect": {
35
+ "prefix": "protect",
36
+ "body": [
37
+ "protect(${1:target}, {",
38
+ "\trate_limit: ${2:100},",
39
+ "\tauth_required: ${3:true},",
40
+ "\trequire_https: ${4:true}",
41
+ "}, \"${5:strict}\")"
42
+ ],
43
+ "description": "Add protection policy"
44
+ },
45
+ "Verify": {
46
+ "prefix": "verify",
47
+ "body": [
48
+ "verify(${1:condition})"
49
+ ],
50
+ "description": "Add runtime verification"
51
+ },
52
+ "Watch": {
53
+ "prefix": "watch",
54
+ "body": [
55
+ "watch ${1:variable} {",
56
+ "\t${2:// Callback when variable changes}",
57
+ "}"
58
+ ],
59
+ "description": "Watch variable for changes"
60
+ },
61
+ "For Each": {
62
+ "prefix": "foreach",
63
+ "body": [
64
+ "for each ${1:item} in ${2:collection} {",
65
+ "\t${3:// Loop body}",
66
+ "}"
67
+ ],
68
+ "description": "For each loop"
69
+ },
70
+ "Match": {
71
+ "prefix": "match",
72
+ "body": [
73
+ "match ${1:value} {",
74
+ "\tcase ${2:pattern}: ${3:result}",
75
+ "\tdefault: ${4:default_result}",
76
+ "}"
77
+ ],
78
+ "description": "Pattern matching"
79
+ },
80
+ "Inject": {
81
+ "prefix": "inject",
82
+ "body": [
83
+ "inject ${1:dependency}"
84
+ ],
85
+ "description": "Inject dependency"
86
+ },
87
+ "Persist": {
88
+ "prefix": "persist",
89
+ "body": [
90
+ "persist_set(\"${1:key}\", ${2:value})",
91
+ "let ${3:result} = persist_get(\"${1:key}\")"
92
+ ],
93
+ "description": "Persistent storage"
94
+ }
95
+ }
@@ -0,0 +1,197 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
3
+ "name": "Zexus",
4
+ "scopeName": "source.zexus",
5
+ "fileTypes": ["zx"],
6
+ "patterns": [
7
+ {
8
+ "include": "#comments"
9
+ },
10
+ {
11
+ "include": "#strings"
12
+ },
13
+ {
14
+ "include": "#numbers"
15
+ },
16
+ {
17
+ "include": "#keywords"
18
+ },
19
+ {
20
+ "include": "#operators"
21
+ },
22
+ {
23
+ "include": "#functions"
24
+ },
25
+ {
26
+ "include": "#variables"
27
+ },
28
+ {
29
+ "include": "#constants"
30
+ }
31
+ ],
32
+ "repository": {
33
+ "comments": {
34
+ "patterns": [
35
+ {
36
+ "name": "comment.line.double-slash.zexus",
37
+ "match": "//.*$"
38
+ },
39
+ {
40
+ "name": "comment.line.number-sign.zexus",
41
+ "match": "#.*$"
42
+ },
43
+ {
44
+ "name": "comment.block.zexus",
45
+ "begin": "/\\*",
46
+ "end": "\\*/"
47
+ }
48
+ ]
49
+ },
50
+ "strings": {
51
+ "patterns": [
52
+ {
53
+ "name": "string.quoted.double.zexus",
54
+ "begin": "\"",
55
+ "end": "\"",
56
+ "patterns": [
57
+ {
58
+ "name": "constant.character.escape.zexus",
59
+ "match": "\\\\(n|t|r|\\\\|\"|'|\\{|\\})"
60
+ }
61
+ ]
62
+ },
63
+ {
64
+ "name": "string.quoted.single.zexus",
65
+ "begin": "'",
66
+ "end": "'",
67
+ "patterns": [
68
+ {
69
+ "name": "constant.character.escape.zexus",
70
+ "match": "\\\\(n|t|r|\\\\|\"|')"
71
+ }
72
+ ]
73
+ }
74
+ ]
75
+ },
76
+ "numbers": {
77
+ "patterns": [
78
+ {
79
+ "name": "constant.numeric.float.zexus",
80
+ "match": "\\b\\d+\\.\\d+([eE][+-]?\\d+)?\\b"
81
+ },
82
+ {
83
+ "name": "constant.numeric.integer.zexus",
84
+ "match": "\\b\\d+\\b"
85
+ },
86
+ {
87
+ "name": "constant.numeric.hex.zexus",
88
+ "match": "\\b0[xX][0-9a-fA-F]+\\b"
89
+ },
90
+ {
91
+ "name": "constant.numeric.binary.zexus",
92
+ "match": "\\b0[bB][01]+\\b"
93
+ }
94
+ ]
95
+ },
96
+ "keywords": {
97
+ "patterns": [
98
+ {
99
+ "name": "keyword.control.zexus",
100
+ "match": "\\b(if|else|for|while|each|in|break|continue|return|match|case|default)\\b"
101
+ },
102
+ {
103
+ "name": "keyword.declaration.zexus",
104
+ "match": "\\b(let|const|action|entity|contract|interface|trait|module|use|import|export|external)\\b"
105
+ },
106
+ {
107
+ "name": "keyword.modifier.zexus",
108
+ "match": "\\b(public|private|static|async|immutable)\\b"
109
+ },
110
+ {
111
+ "name": "keyword.operator.zexus",
112
+ "match": "\\b(and|or|not|is|as|typeof|instanceof)\\b"
113
+ },
114
+ {
115
+ "name": "keyword.blockchain.zexus",
116
+ "match": "\\b(transaction|emit|revert|require|assert|address|balance|transfer|call)\\b"
117
+ },
118
+ {
119
+ "name": "keyword.security.zexus",
120
+ "match": "\\b(protect|verify|restrict|sanitize|validate|audit|seal|watch|cache|inject)\\b"
121
+ },
122
+ {
123
+ "name": "keyword.other.zexus",
124
+ "match": "\\b(try|catch|finally|throw|yield|await|from|to|of)\\b"
125
+ },
126
+ {
127
+ "name": "constant.language.zexus",
128
+ "match": "\\b(true|false|null|undefined|this|super)\\b"
129
+ }
130
+ ]
131
+ },
132
+ "operators": {
133
+ "patterns": [
134
+ {
135
+ "name": "keyword.operator.arithmetic.zexus",
136
+ "match": "\\+|\\-|\\*|\\/|%|\\*\\*"
137
+ },
138
+ {
139
+ "name": "keyword.operator.comparison.zexus",
140
+ "match": "==|!=|<|>|<=|>=|==="
141
+ },
142
+ {
143
+ "name": "keyword.operator.logical.zexus",
144
+ "match": "&&|\\|\\||!"
145
+ },
146
+ {
147
+ "name": "keyword.operator.assignment.zexus",
148
+ "match": "=|\\+=|\\-=|\\*=|\\/=|%="
149
+ },
150
+ {
151
+ "name": "keyword.operator.bitwise.zexus",
152
+ "match": "&|\\||\\^|~|<<|>>|>>>"
153
+ },
154
+ {
155
+ "name": "keyword.operator.arrow.zexus",
156
+ "match": "->|=>"
157
+ },
158
+ {
159
+ "name": "keyword.operator.spread.zexus",
160
+ "match": "\\.\\.\\."
161
+ },
162
+ {
163
+ "name": "keyword.operator.pipeline.zexus",
164
+ "match": "\\|>"
165
+ }
166
+ ]
167
+ },
168
+ "functions": {
169
+ "patterns": [
170
+ {
171
+ "name": "entity.name.function.zexus",
172
+ "match": "\\b([a-zA-Z_][a-zA-Z0-9_]*)\\s*(?=\\()"
173
+ },
174
+ {
175
+ "name": "support.function.builtin.zexus",
176
+ "match": "\\b(print|println|input|len|type|string|int|float|bool|list|map|set|range|filter|reduce|sort|reverse|join|split|replace|uppercase|lowercase|trim|abs|ceil|floor|round|min|max|sum|sqrt|pow|log|exp|sin|cos|tan|random|time|sleep|open|read|write|close|exists|delete|mkdir|rmdir|persist_set|persist_get|persist_clear|track_memory|create_policy|enforce_policy|verify_condition|register_dependency|inject_dependency|mock_dependency|unmock_all|get_mock_stats|test_mode)\\b"
177
+ }
178
+ ]
179
+ },
180
+ "variables": {
181
+ "patterns": [
182
+ {
183
+ "name": "variable.other.zexus",
184
+ "match": "\\b[a-z_][a-zA-Z0-9_]*\\b"
185
+ }
186
+ ]
187
+ },
188
+ "constants": {
189
+ "patterns": [
190
+ {
191
+ "name": "constant.other.zexus",
192
+ "match": "\\b[A-Z][A-Z0-9_]*\\b"
193
+ }
194
+ ]
195
+ }
196
+ }
197
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "contributes": {
3
+ "languages": [
4
+ {
5
+ "id": "zexus",
6
+ "aliases": ["Zexus", "zexus"],
7
+ "extensions": [".zx"],
8
+ "configuration": "./.vscode/extensions/zexus-language/language-configuration.json"
9
+ }
10
+ ],
11
+ "grammars": [
12
+ {
13
+ "language": "zexus",
14
+ "scopeName": "source.zexus",
15
+ "path": "./syntaxes/zexus.tmLanguage.json"
16
+ }
17
+ ]
18
+ }
19
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "files.associations": {
3
+ "*.zx": "zexus"
4
+ },
5
+ "editor.tokenColorCustomizations": {
6
+ "textMateRules": [
7
+ {
8
+ "scope": "keyword.control.zexus",
9
+ "settings": {
10
+ "foreground": "#C586C0"
11
+ }
12
+ },
13
+ {
14
+ "scope": "keyword.declaration.zexus",
15
+ "settings": {
16
+ "foreground": "#569CD6"
17
+ }
18
+ },
19
+ {
20
+ "scope": "keyword.security.zexus",
21
+ "settings": {
22
+ "foreground": "#4EC9B0"
23
+ }
24
+ },
25
+ {
26
+ "scope": "string.quoted.double.zexus",
27
+ "settings": {
28
+ "foreground": "#CE9178"
29
+ }
30
+ },
31
+ {
32
+ "scope": "comment.line.number-sign.zexus",
33
+ "settings": {
34
+ "foreground": "#6A9955"
35
+ }
36
+ }
37
+ ]
38
+ },
39
+ "[zexus]": {
40
+ "editor.wordWrap": "on",
41
+ "editor.quickSuggestions": {
42
+ "other": true,
43
+ "comments": false,
44
+ "strings": false
45
+ }
46
+ },
47
+ "python.analysis.typeCheckingMode": "strict"
48
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "source_code": "# Golden Test: Function Calls After Assignments\n# Tests that function calls are not consumed by previous LET statements\n# Critical regression: LET must stop collecting before function call statements\n\nlet value = 42\n\naction process(x: integer) -> integer {\n return x * 2\n}\n\nlet result = process(value)\nprint(\"Result: \" + string(result))\n",
3
+ "source_hash": "a834483ecd7941770f74ea2503dc13c6",
4
+ "stdout_output": "",
5
+ "stderr_output": "Error: 'Lexer' object has no attribute 'tokenize'\n",
6
+ "exit_code": 1,
7
+ "execution_metadata": {
8
+ "test_name": "function_calls_after_let"
9
+ },
10
+ "variables_final": {},
11
+ "execution_time_ms": 0.0
12
+ }