151 Commits

Author SHA1 Message Date
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
3941ddee40 + Ma is now Delegate
+ way to add pure Lyng parents when declaring kotlin bindings
2026-01-06 13:11:07 +01:00
72bb6ae67b formatter fix on properties 2026-01-06 12:00:04 +01:00
555c9b94de null assignment operator added 2026-01-06 11:39:23 +01:00
8cd980514b code cleanup performed (trivial cases) 2026-01-06 10:38:31 +01:00
26b8370b01 added label syntax support and highlighting 2026-01-06 02:37:16 +01:00
d91acd593a added return statement support 2026-01-06 02:18:31 +01:00
eec732d11a implemented object expressions (anonymous classes) 2026-01-06 01:25:01 +01:00
41a3617850 improved lazy delegate; added with(newThis) {} to stdlib 2026-01-05 22:25:46 +01:00
f792c73b8f 1.1.1-SNPASHOT some serious bugs in initilazation fixed. They were revealed by delegation real world usage 2026-01-05 21:13:42 +01:00
5f819dc87a Added delegation support: Delegate, lazy, "by" keyword for valr/var/fun and object {} singletons 2026-01-05 19:05:16 +01:00
514ad96148 AccessException -< IllegalAccessException; added TODO() and NotImplementedException 2026-01-05 11:14:05 +01:00
e0a59c8db6 cleaning up OOTest 2026-01-05 10:35:38 +01:00
f5a3fbe9a3 docs refined 2026-01-04 22:50:49 +01:00
11eadc1d9f abstract classes, interfaces, MI auto implementation and fine-grained visibility 2026-01-04 22:30:24 +01:00
9e138367ef plugin fixes: incorrect reformatting on }, incorrect parsing of class minidocs 2026-01-04 11:58:55 +01:00
1d9befe101 fixed fromatter, plugin, site, libs for new language features 2026-01-04 01:25:16 +01:00
abb262d9cf Improve property accessor indentation handling, add tests, and enhance nested control flow formatting. Fix enum and property keyword highlighting. 2026-01-04 00:09:47 +01:00
eca451b5a3 Implement restricted setter visibility (private set / protected set) for class fields and properties. 2026-01-03 23:38:53 +01:00
54af50d6d6 Implement support for late-initialized val fields in classes. Added ObjUnset, UnsetException, compile-time initialization checks, and write-once enforcement for val fields. 2026-01-03 22:05:29 +01:00
ce0fc3650d "cache" bug found and fixed, causing some improvemts in lambda processing. 2026-01-03 21:06:09 +01:00
bc6613ec01 attempt to add navigation to plugin (partial success) 2026-01-03 11:59:50 +01:00
fac58675d5 plugin: autocomplete for enums and members, better support for local symbols; fixed bug in space normalization 2026-01-02 16:03:57 +01:00
22f6c149db better formatting for multi-line comments 2026-01-02 11:20:52 +01:00
5586e027ea more stdlib and docs 2025-12-24 18:56:30 +01:00
cd2b1a9cb7 Extensions methods and properties now are correctly isolated, respect visibility rules and allow adding class properties and class vals. 2025-12-24 00:29:10 +01:00
3b6504d3b1 Add flatten, flatMap, and filterNotNull functions with corresponding tests 2025-12-23 18:06:28 +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
0732202c80 improved vairable tracking, fixed plugin to wirk with 1.0.10, fixed lambda comparison 2025-12-22 14:55:53 +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