246 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
7ab439d949 Updated documentation to clarify property syntax, closure resolution rules, and override usage 2026-01-10 18:08:07 +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
10b7cb2db2 improved error reporting for mismatched serialized vars in ObjInstance 2026-01-08 21:10:37 +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
3ef68d8bb4 fixed autocompletion for class constructor parameters 2026-01-06 12:08:23 +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
73854f21f3 reformatted root.lyng for better readability/2 2026-01-05 22:30:51 +01:00
f66e61c185 reformatted root.lyng for better readability 2026-01-05 22:27:02 +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
ce021e85f4 compiler bug with that can cause compilation infinite loop; object is always comparable to self instance or null 2026-01-03 21:05:56 +01:00
bc6613ec01 attempt to add navigation to plugin (partial success) 2026-01-03 11:59:50 +01:00
59aefc5bc2 fixed enum objects wrong package 2026-01-02 16:10:05 +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
54ecffc803 improved docs and tools for embedding kotlin classes with properties 2026-01-02 10:34:50 +01:00
0731d63adf Improve error message for ObjList concatenation and set version to 1.1.0-SNAPSHOT. 2025-12-30 02:52:53 +01:00
55b27f831f 1.1.0-beta2 version 2025-12-25 22:35:13 +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