178 Commits

Author SHA1 Message Date
104fd6b517 Re-enable ScriptTest exception cases 2026-01-29 03:54:35 +03:00
6c36314ed8 Re-enable more ScriptTest stdlib cases 2026-01-29 03:52:35 +03:00
8cec5cf7ec Re-enable ScriptTest apply/sum cases 2026-01-29 03:50:40 +03:00
6a0f6b3db5 Re-enable ScriptTest call-ellipsis and loop label cases 2026-01-29 03:48:27 +03:00
079bdb44a6 Re-enable ScriptTest lambda and while cases 2026-01-29 03:46:55 +03:00
238c2177b6 Re-enable range-related ScriptTest cases 2026-01-29 03:45:04 +03:00
212a3a5b3f Re-enable ScriptTest open range cases 2026-01-29 03:42:24 +03:00
a73c118c77 Add bytecode MAKE_RANGE and re-enable open range tests 2026-01-29 03:40:40 +03:00
eaee738dee Bytecode index inc/dec for ScriptTest cases 2026-01-29 03:33:31 +03:00
8407dbe880 Re-enable ScriptTest inc/dec cases 2026-01-29 03:28:08 +03:00
79de950fcc Temporarily ignore failing ScriptTest cases 2026-01-29 03:25:40 +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
a4f41f17bf Fix ctor param reassignment regression 2026-01-25 12:35:36 +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
52a3a96e3f + DateTime 2026-01-16 09:06:42 +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
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
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
2c0a6c7b34 operators overriding 2026-01-07 09:33:10 +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
3941ddee40 + Ma is now Delegate
+ way to add pure Lyng parents when declaring kotlin bindings
2026-01-06 13:11:07 +01:00
555c9b94de null assignment operator added 2026-01-06 11:39:23 +01:00
514ad96148 AccessException -< IllegalAccessException; added TODO() and NotImplementedException 2026-01-05 11:14:05 +01:00
357585d3ba removed unneeded test via annotation 2025-12-23 13:36:20 +01:00
8300c2a3ab v1.1.0-beta1: mini function declarations and working properties 2025-12-23 13:06:46 +01:00
5f3a54d08f Make ObjInt and ObjReal immutable and update number operations accordingly. Add support for class properties with get/set accessors. Rework loop parsing logic to improve clarity and consistency. Update .gitignore and TextMate grammar. Enhance Changelog and document new features. 2025-12-23 08:02:48 +01:00
157b716eb7 Implement automatic substitution for named parameters (auto-named arguments). Supported name: shorthand for name: name in function calls and class constructors. Updated documentation and tests. Built and deployed IDEA plugin and site. 2025-12-22 18:11:38 +01:00
1e18a162c4 added exception reporting tests 2025-12-22 12:59:11 +01:00
0add0ab54c fix #95 destructuring assignment and splats 2025-12-22 06:20:24 +01:00
3acd56f55a fix #94 overridden toString() now is called correctly in known cases, default implementation is still generated for ObjInstances and some other classes 2025-12-22 05:32:19 +01:00
b7838b45ec fixed bug with scopes usage 2025-12-22 05:04:47 +01:00
92cb088f36 lazy messages for check/require 2025-12-21 22:49:35 +01:00
3dfe98a93d fixed inline map splats expansion in function calls 2025-12-21 21:12:06 +01:00
3ac7fd7ceb Add assert-related testing functions, findFirst/findFirstOrNull methods, and expand documentation. 2025-12-21 19:11:37 +01:00
6f86e6ff97 fixed bug when some Map operations wer restricted to string keys only 2025-12-20 23:37:56 +01:00