Commit Graph
100 Commits
Author SHA1 Message Date
sergeych f37354f382 fix #36 basic import support 2025-07-04 00:56:56 +03:00
sergeych ddbcbf9e4e renaming context to scope, as it is rather scp[e than the context 2025-07-03 21:46:25 +03:00
sergeych 6cf99fbd13 Compiler refactored: CompilerContext now is class member 2025-07-03 20:00:01 +03:00
sergeych 950e8301c3 associateBy and Lyng:Iterable .toFlow() for kotlin integration simplicity 2025-07-02 20:45:30 +03:00
sergeych ea2cf1f373 code cleaning 2025-07-01 12:31:40 +03:00
sergeych eee6d75587 extension methids 2025-06-20 03:43:58 +04:00
sergeych a8067d0a6b fix #31 type records for simple types and extern keyword for methods/functions 2025-06-19 01:06:45 +04:00
sergeych 75a6f20150 fix #31 type records for simple types and extern keyword for methods/functions 2025-06-17 18:42:37 +04:00
sergeych d969d6d572 fix #37 AppliedContext optimization 2025-06-17 09:49:05 +04:00
sergeych 2d4c4d345d fix #30: let, apply, also. Fix in context combining for lambda calls. 2025-06-16 15:44:22 +04:00
sergeych f9416105ec fix #29 mapentries, map iterators, => operator and .toMap() 2025-06-16 02:14:53 +04:00
sergeych c002204420 fix #28 basic map supports (still no iterators) 2025-06-16 01:12:04 +04:00
sergeych a4448ab2ff fix #10 set
+collection functions (map, forEach, toList, toSet, isEmpty, etc,)
2025-06-15 18:01:44 +04:00
sergeych 8a4363bd84 fix #26 lists redesigned for ranges, less chaotic and serpentic 2025-06-14 14:51:41 +04:00
sergeych 19eae213ec fix #23 string formatting and manipulations 2025-06-14 11:53:18 +04:00
sergeych 1db1f12be3 refs #25 backbone of multiplatform shell 2025-06-14 10:18:38 +04:00
sergeych dcde11d722 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	lyng/src/nativeMain/kotlin/Common.native.kt
2025-06-14 01:21:44 +04:00
sergeych 83e79f47c7 lyng CLI: support for shebang, started shell KMP code 2025-06-14 01:20:26 +04:00
sergeych e0bb183929 lyng CLI: support for shebang, started shell KMP code 2025-06-14 01:20:00 +04:00
sergeych b961296425 fix #19 set of null-coalesce operators 2025-06-13 22:25:18 +04:00
sergeych bd2b6bf06e readme actualized 2025-06-13 21:20:45 +04:00
sergeych 253480e32a readme actualized 2025-06-13 20:15:39 +04:00
sergeych eb8110cbf0 removed unnecessary 2025-06-13 19:12:51 +04:00
sergeych 8c6a1979ed published to our maven 2025-06-13 19:11:28 +04:00
sergeych 185aa4e0cf better docs/2 2025-06-13 18:40:14 +04:00
sergeych ef266b73a2 better docs/2 2025-06-13 18:03:51 +04:00
sergeych 89427de5cd better docs 2025-06-13 18:02:34 +04:00
sergeych cfb2f7f128 more docs, fixed parsing of an empty string 2025-06-13 17:59:40 +04:00
sergeych be4f2c7f45 fix #14 when(value) with blows and whistles. Collection now is container (has Contains). greatly improved container properties of builtin classes. 2025-06-13 17:27:23 +04:00
sergeych 7cc80e2433 fix #20 do-while tests for labels, values, else 2025-06-13 11:05:30 +04:00
sergeych dacdcd7faa ref #13 get rid pf tokens for private/protected, added open attribute parsing 2025-06-13 10:31:32 +04:00
sergeych 59a76efdce fix #22 test throw from kotlin code 2025-06-13 07:51:42 +04:00
sergeych bb862e6cb5 refs #22 test for try-free 2025-06-13 01:52:44 +04:00
sergeych aea819b89a refs #22 docs reordered chapters 2025-06-13 01:45:33 +04:00
sergeych 88974e0f2d refs #22 try without catch but finally 2025-06-13 01:44:13 +04:00
sergeych 0981d8370e v0.5.1-SNAPSHOT: Exceptions Handling! 2025-06-13 01:36:21 +04:00
sergeych c4122e8243 refs #22 more docs 2025-06-13 01:32:40 +04:00
sergeych c3bf536bab refs #22 more docs, fixed EH bug
+shortcut throw "message"
2025-06-13 01:30:26 +04:00
sergeych 5ed8b2f123 refs #22 @35m 2 shorter forms for catch block, fixed catch class instance type checks 2025-06-13 00:12:21 +04:00
sergeych 6c71f0a2e6 fix #18 basic exceptions handling 2025-06-12 19:17:35 +04:00
sergeych 95aae0b231 fix #21 fixed loop break with label behavior 2025-06-12 12:34:03 +04:00
sergeych b3f08b4cac fix #1 for-continue test 2025-06-12 12:23:50 +04:00
sergeych badeea9b28 0.4.0-SNAPSHOT: do-while, val/var returns initial value and accept any statement as initialization, etc. 2025-06-12 11:24:35 +04:00
sergeych a1267c4395 fix #17 do-while loops
+mode string functions
+val/var cold be initialized with statement and return assigned values
2025-06-12 11:22:27 +04:00
sergeych 55fd3ea716 more docs 2025-06-11 14:06:19 +04:00
sergeych 28b83f9892 ref #16 better processing of the last-block argument
+sample with national-characters vars
2025-06-11 10:54:06 +04:00
sergeych 194fc8aca6 fix #16 last-block argument now can be combined with defaults and ellipsis 2025-06-11 09:43:42 +04:00
sergeych 382532e0e1 further Arguments optimizations 2025-06-11 09:12:07 +04:00
sergeych c0eba1ecf0 Arguments.Info optimized out 2025-06-11 09:06:01 +04:00
sergeych b253eed032 fixed 1e-6 type Real literal 2025-06-11 08:59:09 +04:00
sergeych d482401b15 ObjInstance / ObjClass optimization no more list of accessible fields! 2025-06-10 23:51:01 +04:00
sergeych 88b355c40d ObjInstanceClass optimization 2025-06-10 23:14:44 +04:00
sergeych 652e1d3af4 fix #15, default toString for a class
+default comparison for a class
!give up struct in favor of class (simpler)
2025-06-10 18:51:04 +04:00
sergeych 2a93e6f7da fix #9 block argument {} call without () 2025-06-10 18:32:38 +04:00
sergeych 20c81dbf2e fix #11 and private visibility for constructor params, fields and methods. 2025-06-10 12:07:07 +04:00
sergeych fffa3d31bb - rewritten/fixed buildconfig
- less noise
- cosmetics in CLI tool
2025-06-10 02:06:03 +04:00
sergeych 323c455a50 v.0.2.0: classes, lambdas, arrays, ellipsis, splats, etc. 2025-06-10 00:57:47 +04:00
sergeych 370d8cf605 better readme 2025-06-10 00:55:46 +04:00
sergeych f338c54632 public class methods 2025-06-10 00:09:53 +04:00
sergeych 3ef80616d8 public class methods 2025-06-10 00:07:48 +04:00
sergeych 961228ca0b class val and var in body 2025-06-09 23:55:06 +04:00
sergeych 56e0d2fd63 optimizing refactoring: no more StoredObj.kt, WithAccess now always deals with Obj and is renamed to ObjRecord 2025-06-09 16:34:30 +04:00
sergeych 33fdb0934a minor refactoring 2025-06-09 16:25:23 +04:00
sergeych 60384060bf minor refactoring 2025-06-09 13:43:19 +04:00
sergeych d3f23be7fe OOP: structs with field access! 2025-06-08 18:09:55 +04:00
sergeych 397dcaae92 splat any Iterable 2025-06-08 16:58:09 +04:00
sergeych 2b87845a40 more docs 2025-06-08 14:40:11 +04:00
sergeych 5591a66af3 more dics & minor bugs fixed 2025-06-08 14:39:39 +04:00
sergeych 9a08da0dfd functions are rewritten to new standard argparser/emitter too 2025-06-08 13:51:23 +04:00
sergeych 71a2933066 more on classes
universal args declaration parser, lambda code rewritten to it
2025-06-08 13:35:51 +04:00
sergeych 4dc73b91c2 fix: top level block, even isolated, is treated as a lambda too 2025-06-08 00:42:08 +04:00
sergeych c0cf190452 fix: lambda now have correct closure 2025-06-08 00:30:13 +04:00
sergeych 306a7f26ef fix in description 2025-06-04 12:45:14 +04:00
sergeych 823e9a6498 more docs 2025-06-04 09:05:30 +04:00
sergeych aba122c3e6 math and docs 2025-06-04 09:02:08 +04:00
sergeych 75d90d7228 shuttle operator <=> 2025-06-04 08:29:09 +04:00
sergeych b331f4edaa for loop optimization 2025-06-03 18:13:16 +04:00
sergeych 148d1b6d24 cosmetics 2025-06-03 16:42:52 +04:00
sergeych 953e0e696b working CLI tool, versioning support, etc 2025-06-03 16:32:36 +04:00
sergeych 7b76b7d80f docs 2025-06-03 10:53:18 +04:00
sergeych 512dda5984 fix #5 loop optimization
fixed arguments modifying bug
added samples and samplebooks w/tests
2025-06-03 10:44:42 +04:00
sergeych 1323f93923 docs polishing 2025-06-02 19:05:35 +04:00
sergeych c167ebe6a8 +lambda after fn call as last argument 2025-06-02 18:59:47 +04:00
sergeych 29c643eed2 fixed bug with callable argument in calls, added more docs 2025-06-02 18:33:45 +04:00
sergeych 4a597886e6 polishing sample 2025-06-02 18:11:58 +04:00
sergeych 3cd2786ef0 while/else practical sample
!fixed else-while not calling on never run loop bug
2025-06-02 18:08:54 +04:00
sergeych 25ace7370b better structure 2025-06-02 17:45:34 +04:00
sergeych d1b6ec03f7 more docs 2025-06-02 14:36:11 +04:00
sergeych f40c28504d docs fix 2025-06-02 14:10:30 +04:00
sergeych f18038f9ca fixed package names to "lyng" 2025-06-02 14:07:23 +04:00
sergeych 19a2a1d909 lambda syntax added 2025-06-02 14:02:01 +04:00
sergeych 2344e19857 Renamed to lyng/3 2025-06-02 11:52:41 +04:00
sergeych dae09f0dc9 Renamed to lyng/2 2025-06-02 11:51:51 +04:00
sergeych e13dde68b5 Renamed to lyng 2025-06-02 11:38:17 +04:00
sergeych 6ef94fff65 +list + / += Iterable
+CLI app started
2025-06-02 07:39:31 +04:00
sergeych 939e391a20 fixed namespace/Math issue 2025-06-02 06:28:40 +04:00
sergeych c65f711ee3 OO: added inheritance, Collection, Iterator, Iterable, Array. Range is rewritten to be Iterable. Math namespace is temporarily broken (to be updated to new ObjClass model). 2025-06-01 17:48:24 +04:00
sergeych 698d169612 more docs 2025-06-01 00:11:48 +04:00
sergeych 86d59abfbc missed file 2025-05-31 23:44:07 +04:00
sergeych d2c732ceef for in range, range size and indexing 2025-05-31 23:43:35 +04:00