188 Commits

Author SHA1 Message Date
a4fc5ac6d5 Add list literal opcode and bytecode wrappers 2026-01-28 22:35:14 +03:00
9a15470cdb Enforce bytecode-only compilation in tests 2026-01-28 19:39:21 +03:00
490faea2ba Bytecode compile is/not is and contains 2026-01-28 18:55:41 +03:00
250220a42f Bytecode compile in/not in via contains 2026-01-28 16:49:06 +03:00
63bcb91504 Fix bytecode bool conversion and object equality 2026-01-28 16:45:29 +03:00
7b3d92beb9 Fix stdlib drop and add bytecode return/break test 2026-01-28 08:54:54 +03:00
8dfdbaa0a0 Bytecode for iterable for-in loops 2026-01-28 08:23: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
2f4462858b bytecode: extend call args and cache call sites 2026-01-26 06:33:15 +03:00
72901d9d4c Fix bytecode call-site semantics 2026-01-26 04:09:49 +03:00
059e366787 Add bytecode slot metadata and compile-time mutability 2026-01-26 01:09:02 +03:00
b4598bff98 Add object comparison opcodes to bytecode 2026-01-25 21:37:20 +03:00
fd1548c86c Add object equality and reference ops to bytecode 2026-01-25 21:33:28 +03:00
9c56cf751b Expand bytecode expression support for mixed ops 2026-01-25 21:15:29 +03:00
8ae6eb8d69 Add short-circuit ops in bytecode compiler and VM 2026-01-25 19:59:22 +03:00
c8a8b12dfc Add fallback expression handling for bytecode if 2026-01-25 19:24:27 +03:00
6560457e3d Add bytecode if support and test 2026-01-25 19:05:42 +03:00
ea877748e5 Add minimal bytecode VM execution test 2026-01-25 17:17:14 +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
7b1ba71ef0 rename testToJsonString and add new test for @Transient serialization 2026-01-18 20:34:58 +03:00
8b94432f66 fixed samples: wrong ?? operator to supported elvis ?: 2026-01-18 20:28:03 +03:00
d0230c5b89 + Intstant.truncateToMinute() 2026-01-18 18:22:49 +03:00
5dc2159024 added clamp function and extensions, fixed bug in range coloring 2026-01-18 07:18:51 +03:00
0759346e4b plugin and formatter improvements 2026-01-17 07:33:30 +03:00
f848d79d39 more OO tests 2026-01-16 20:43:10 +03:00
52a3a96e3f + DateTime 2026-01-16 09:06:42 +03:00
b7dfda2f5d + @Tranient for serialization 2026-01-16 07:47:27 +03:00
05e15e8e42 Add isEmpty, isNotEmpty, and isBlank methods to ObjString, update tests and docs 2026-01-16 07:06:22 +03:00
7bc17037f9 1.2.1-SNAPSHOT: improved visibility check for inheritance 2026-01-15 18:18:35 +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
2d2a74656c plugin: remove flaky spell checking for 2024.* 2026-01-13 07:10:03 +01:00
80933c287d Refactor nullable suffix handling in compiler (nullable declaration bug fixed) 2026-01-12 16:15:19 +01:00
017111827d another attempt to fix plugin spellchecker 2026-01-12 16:05:46 +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
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
827df9c8cd Fix argument priority handling in ObjInstance resolution logic and add corresponding tests 2026-01-10 20:25:06 +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
1931384116 fixed another closure bug 2026-01-08 19:52:38 +01:00
2acb60697d more tools to deal with Lyng exeption in Kotlin 2026-01-08 12:42:29 +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
2ce6d8e482 tools for error reporting in kotlin 2026-01-07 18:12:14 +01:00
eda34c1b3d operators overriding missing files 2026-01-07 09:44:13 +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