141 Commits

Author SHA1 Message Date
824a58bbc5 Tighten compile-time slot resolution 2026-02-03 02:29:58 +03:00
523b9d338b Update compile-time resolution and tests 2026-02-03 02:07:29 +03:00
8f60a84e3b Fix loop scoping in bytecode and unignore ScriptTests 2026-01-30 23:46:25 +03:00
d363501081 Fix exception class lookup and add lazy delegate 2026-01-30 23:22:02 +03:00
ffb22d0875 Fix bytecode loop locals and class member resolution 2026-01-30 22:27:48 +03:00
84554ab7c6 Unignore ScriptTest batch and keep bytecode updates 2026-01-30 19:47:52 +03:00
64fa305aa7 Fix apply/inc-dec handling and re-enable more ScriptTests 2026-01-30 18:19:55 +03:00
615dc026f7 Fix apply captures, class forward refs, and when bytecode 2026-01-30 17:41:04 +03:00
4b66454bf3 Handle labeled break and catch locals in ScriptTest 2026-01-30 17:03:51 +03:00
d6e1e74b48 Fix do-while scoping and module pseudo-symbol 2026-01-30 16:48:21 +03:00
68122df6d7 Fix implicit extension calls and apply scope captures 2026-01-30 16:20:55 +03:00
a266df6035 Seed Scope.eval symbols and reenable script tests 2026-01-30 12:56:37 +03:00
40b6ec023c Enable 4 ScriptTest cases and fix __PACKAGE__ resolution 2026-01-30 10:15:27 +03:00
e4d0730b04 Fix module slot localization and restore 4 tests 2026-01-30 09:52:44 +03:00
e346e7e56e Add iterator cancellation for bytecode for-in loops 2026-01-29 06:47:27 +03:00
e143f31f3d Add bytecode support for when statements 2026-01-29 04:11:27 +03:00
c7e2455340 Enable stdlib/lynon tests and add try wrapper 2026-01-29 03:13:15 +03:00
1eb8793e35 Enable binding/miniast tests and support decl bytecode eval 2026-01-28 23:22:31 +03:00
a4fc5ac6d5 Add list literal opcode and bytecode wrappers 2026-01-28 22:35:14 +03:00
8dfdbaa0a0 Bytecode for iterable for-in loops 2026-01-28 08:23:04 +03:00
37a8831fd7 Bytecode for loop over typed range params 2026-01-28 07:20:58 +03:00
2311cfc224 Stabilize bytecode baseline for nested range benchmark 2026-01-28 06:35:04 +03:00
bef94d3bc5 Optimize cmd VM with scoped slot addressing 2026-01-27 14:15:35 +03:00
7de856fc62 Stabilize bytecode interpreter and fallbacks 2026-01-26 22:13:30 +03:00
144082733c Expand bytecode expressions and loops 2026-01-26 05:47:37 +03:00
059e366787 Add bytecode slot metadata and compile-time mutability 2026-01-26 01:09:02 +03:00
6560457e3d Add bytecode if support and test 2026-01-25 19:05:42 +03:00
a4f41f17bf Fix ctor param reassignment regression 2026-01-25 12:35:36 +03:00
98d6ffe998 Optimize int range loops and add benchmark gating 2026-01-25 11:32:10 +03:00
74d73540c6 Optimize member access via slots 2026-01-25 03:11:40 +03:00
9b580bafb6 avoid suspend lambdas in var declaration statements 2026-01-24 19:04:22 +03:00
062f9e7866 fix wasmJs suspend-lambda generation and add agent guidance 2026-01-24 18:59:58 +03:00
717a79aca2 wasm generation bug workaround, docs and debugging tips 2026-01-24 18:24:31 +03:00
0759346e4b plugin and formatter improvements 2026-01-17 07:33:30 +03:00
b7dfda2f5d + @Tranient for serialization 2026-01-16 07:47:27 +03:00
6fa57c8197 plugin: run command. Lyng string "hello"*repeatCount operator. Plugin spell check is still not working properly 2026-01-14 13:34:08 +03:00
80933c287d Refactor nullable suffix handling in compiler (nullable declaration bug fixed) 2026-01-12 16:15:19 +01:00
9924d02cb4 plugin docstring parsing now respect @param, @retunm, @throws and general support for such tags introduced 2026-01-12 11:55:39 +01:00
1efa96a990 improved type inference in plugin 2026-01-12 08:19:52 +01:00
f6deabaa38 Enable SCOPE_POOL globally across all platforms and refactor pooling logic to enhance robustness, efficiency, and cleanup mechanisms. Update documentation to reflect changes. 2026-01-12 06:16:22 +01:00
6b957ae6a3 Refactored ObjRef evaluation logic for enhanced performance and consistency across unary, binary, and field operations. Added evalValue overrides for more streamlined value resolution. 2026-01-11 01:42:53 +01:00
91e6ae29ce fixed mist edge cases with new language logic 2026-01-10 14:49:54 +01:00
b9831a422a 1.2.0-SNAPSHOT started bug core refactor to support all new future and more strict rules (namely, fundamental difference between properties, functions and delegates) 2026-01-10 02:57:20 +01:00
c12804a806 user exceptions to kotlin fixes 2026-01-08 09:21:25 +01:00
1d089db9ff User exception classes, unified exception class architecture 2026-01-07 19:05:07 +01:00
2c0a6c7b34 operators overriding 2026-01-07 09:33:10 +01:00
fe5dded7af plugin with type declarations, collection types and much better type tracking for autocomplete 2026-01-07 02:55:47 +01:00
aba0048a83 plugin no wworks with .lyng.d files. hurray 2026-01-06 19:32:40 +01:00
fdc044d1e0 Added support for extern declarations and enhanced .lyng.d merging
- Implemented `extern` support for functions, classes, objects, enums, and properties in the `MiniAST`.
- Updated `MiniAST` to include `isExtern` field for applicable nodes.
- Enabled merging of `.lyng.d` declaration files into main `.lyng` scripts.
- Adjusted tests to validate `extern` behavior and documentation handling.
- Minor fixes to parser logic for improved robustness.
2026-01-06 17:05:03 +01:00
3ef68d8bb4 fixed autocompletion for class constructor parameters 2026-01-06 12:08:23 +01:00