Commit Graph
100 Commits
Author SHA1 Message Date
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
sergeych dcab60b7bb for in range, range size and indexing 2025-05-31 23:25:08 +04:00
sergeych 2b3b0b298c more docs on ranges 2025-05-31 18:58:14 +04:00
sergeych b82a97ed20 Ranges! 2025-05-31 18:53:42 +04:00
sergeych 3908b8ee9f +for-else-labels-break is running
+String now is indexed with Char instances, size supported
+Char type and char constants
2025-05-31 15:08:11 +04:00
sergeych f7b35c7576 while-else loop and string.startsWith 2025-05-30 13:50:37 +04:00
sergeych f3b3ebbb52 more docs 2025-05-30 12:51:23 +04:00
sergeych 7288de4ea8 checking bug in gitea markdown/2 2025-05-30 12:44:57 +04:00
sergeych 3a7a0c34c6 checking bug in gitea markdown 2025-05-30 12:43:57 +04:00
sergeych f4a3ad4c19 more docs 2025-05-30 12:41:39 +04:00
sergeych 1479df4426 +better comparison
+splat arguments in calls
2025-05-30 12:05:21 +04:00
sergeych b56b5c521d lists modification: insert, remove, offset-end indexing, comparison. 2025-05-30 11:02:52 +04:00
sergeych c18345823b arrays started: literals, size, splats, index access RW 2025-05-30 01:13:40 +04:00
sergeych f881faf89f fixed problem with var initialization with val
added support for by-value types and in-place assignment
2025-05-29 11:48:04 +04:00
sergeych ca93d73b9c better checks for mutability, sipport for inplace mutation with assign() 2025-05-29 01:35:02 +04:00
sergeych ff03f3066d more docs 2025-05-28 19:25:48 +04:00
sergeych 9a9f712cec refactored operators for OO overloading (and faster), assignment is not expression and += *= /= -= %= added 2025-05-28 19:11:59 +04:00
sergeych 72f637e7de some cleanup 2025-05-28 15:07:38 +04:00
sergeych 2130974929 fixed wrong file name in tests 2025-05-28 14:37:54 +04:00
sergeych 47c061d2b4 class constants added and class instances for integral types 2025-05-28 14:36:04 +04:00
sergeych f885300d18 converted namespaces to objects (coming to static objects, singletons) 2025-05-28 14:01:44 +04:00
sergeych d21544ca5d first OO features: x::class, x.method(1,2,3) builting Real.roundToInt 2025-05-28 11:44:55 +04:00
sergeych 361c1d5b13 big refactoring: all tests passed 2025-05-26 23:51:22 +04:00
sergeych eba29aedb7 big refactoring towards OO support just started 2025-05-26 18:53:59 +04:00
sergeych baf9eab3ba int++ and int-- 2025-05-21 13:41:01 +04:00
sergeych 9ae9752634 removed unnecessary debug traces 2025-05-20 23:07:25 +04:00
sergeych 758f49603f closure tests and fix 2025-05-20 22:59:15 +04:00
sergeych ebeed385e9 while-continue with labels and docs/tests 2025-05-20 16:47:57 +04:00
sergeych 22fbd5584b docs+doctest, while loop with break and labels for non-local breaks 2025-05-20 16:31:22 +04:00
sergeych 0569be3b21 more readme 2025-05-19 12:43:39 +04:00
sergeych 0e065e0d7c +if/else statement
+// comments
2025-05-19 12:42:46 +04:00
sergeych 60db9f3b95 string concatenation 2025-05-19 11:26:00 +04:00
sergeych 95e68d6e2a comparison operators + some optimizations 2025-05-19 11:17:53 +04:00
sergeych 3dd98131e7 parentheses, more operators, some docs 2025-05-18 18:34:44 +04:00
sergeych 166b1fa0d5 +fn definitions and calls, closures 2025-05-18 14:41:01 +04:00