366 Commits

Author SHA1 Message Date
5d8fdce637 Move qualified identifier resolution to Scope as resolveQualifiedIdentifier, replace inline logic in LynonDecoder. 2025-12-14 00:20:43 +01:00
5a8881bfd5 Refactor decodeClassObj to mimic compiler behavior for qualified names, add evaluateQualifiedNameAsCompiled. 2025-12-14 00:06:46 +01:00
d487886c8f some more trace on strange decpdeClassObj behavior 2025-12-13 23:41:52 +01:00
180471e4cd Merge remote-tracking branch 'origin/fix_decodeClassObj' 2025-12-13 23:20:55 +01:00
71a37a2906 Revert "Improve decodeClassObj class resolution in LynonDecoder, add fallback lookup mechanisms, and refine related tests"
This reverts commit dd1a1544c6d49641783d221b15e23c7150010161.
2025-12-13 23:14:12 +01:00
ab05f83e77 Revert "Add documentation for Lynon class-name resolution behavior and future plans for fully-qualified name support"
This reverts commit a2d26fc7775508c4fc9c5bb62496ad4b88d74662.
2025-12-13 23:13:56 +01:00
9e11519608 revert to wirking ugly fix for decodeClassObj 2025-12-13 23:11:28 +01:00
a2d26fc777 Add documentation for Lynon class-name resolution behavior and future plans for fully-qualified name support 2025-12-13 17:16:10 +01:00
dd1a1544c6 Improve decodeClassObj class resolution in LynonDecoder, add fallback lookup mechanisms, and refine related tests 2025-12-13 17:12:44 +01:00
fba44622e5 Refactor toString implementations to support Scope context, add inspect, and improve assertions readability. 2025-12-13 13:48:57 +01:00
2737aaa14e add mapNotNull to ObjIterable with documentation 2025-12-12 13:48:02 +01:00
bce88ced43 Merge pull request 'fix/scope-parent-cycle' (#92) from fix/scope-parent-cycle into master
Reviewed-on: #92
2025-12-11 03:09:45 +03:00
fd473a32d8 refine some tests 2025-12-11 00:55:05 +01:00
d15dfb6087 core: prevent scope parent-chain cycles when reusing pooled frames
- Scope.resetForReuse: fully detach before re-parenting (clear state, parent=null, new frameId), then validate with ensureNoCycle and assign parent/args/pos/thisObj
- ScopePool.borrow (JVM/Android/JS/Native/Wasm): defensive fallback to fresh Scope allocation if resetForReuse detects a cycle
- docs: add docs/fix-scope-parent-cycle.md describing the change and expectations
- test: add ScopeCycleRegressionTest to ensure instance method call pattern does not crash and returns "ok"
2025-12-11 00:50:46 +01:00
b953282251 docs on updated scopes 2025-12-10 00:04:07 +01:00
bcabfc8962 fix endless recursion in scope resolution in some specific cases 2025-12-09 23:55:50 +01:00
c0fab3d60e bump version to 1.0.7-SNAPSHOT; fix potential infinite loops in Scope traversal 2025-12-09 07:33:05 +01:00
55caa65f97 fixed dependencies for plugin building 2025-12-08 18:59:16 +01:00
b73891d19b ref $91 trace removed 2025-12-08 18:52:38 +01:00
8750040926 fix #91 syntax highlighting of kotlin code blocks on the site 2025-12-08 18:51:55 +01:00
708b908415 fix #88 fix #90 plugin with autocompletion 2025-12-08 03:28:27 +01:00
c35d684df1 started autocompletion in the plugin 2025-12-07 23:06:05 +01:00
678cfbf45e fix #85 lynon empty list encoding 2025-12-07 21:50:47 +01:00
bfffea7e69 fix #83 import-aware quickdocs 2025-12-06 22:25:21 +01:00
40f11b6f29 fix #82 refactored and added builtin docs to all symbols 2025-12-06 21:10:40 +01:00
e25fc95cbf fix #81 site search improved 2025-12-06 18:03:15 +01:00
a6085b11a1 ignore distributables 2025-12-06 17:37:31 +01:00
819fdd82b3 removed distributables from git (derivatives, now there is a copy on the site) 2025-12-06 17:29:11 +01:00
2e96d75b9f fix #80 edge case !isSomething() bug fixed
+String.last()
2025-12-06 15:07:38 +01:00
f616326383 docs on cli tool, restored cli building tools 2025-12-05 21:46:19 +01:00
1e2bbe1fc5 fix #79 enum toJson serialization 2025-12-05 21:39:43 +01:00
b630d69186 fix #78 add fmt CLI subcommand and improve legacy script execution paths 2025-12-05 21:02:18 +01:00
20f4e54a02 red #77 tests and docs for jsom map serialization 2025-12-05 15:42:26 +01:00
e58896f087 red #77 more json docs 2025-12-05 11:57:21 +01:00
080eac2e1a fix #77 Instant.toJson 2025-12-05 11:47:42 +01:00
a31befef0b plugin update 2025-12-05 00:33:20 +01:00
65a7555e93 fix $76 add support for enum constants highlighting and initial enum documentation 2025-12-05 00:30:32 +01:00
84f2f8fac4 fix #75 simple classes JSON serialization with custom formats 2025-12-04 23:58:31 +01:00
0c31ec63ee fix #74 duplicate constructor amd state vars with Lynon serialization 2025-12-04 23:23:31 +01:00
603023962e fix $73 reg #74 val assignment bug fix. Also, cosmetics on syntax highlighting 2025-12-04 22:11:49 +01:00
e765784170 plugin updated to v1.0.5 2025-12-04 17:06:41 +01:00
171e413c5f v1.0.5-SNAPSHOT started json and kotlinx serialization support 2025-12-04 17:05:07 +01:00
5cfc15cf17 fix #72 comments are allowed in class constructor; some configuration bigs fixed 2025-12-04 16:09:27 +01:00
b8f27c7a18 migrated stdlib to separate .lyng files and added build-time generation of Kotlin constants. reduced noise in plugin 2025-12-04 12:26:38 +01:00
6a6de83972 updated plugin binary 2025-12-03 17:28:44 +01:00
a3b8dbd9d8 improved annotation caching and error range handling for highlighting 2025-12-03 16:27:05 +01:00
c63d643469 fixed formatter bugs and some tests; upgraded formatting in plugin 2025-12-03 15:37:35 +01:00
f592689631 annotation highlighting (missing) 2025-12-03 13:49:27 +01:00
834f3118c8 annotation highlighting 2025-12-03 13:49:09 +01:00
d285335e1c plugin: spell checker f0r 2025 2025-12-03 12:48:06 +01:00