Commit Graph

574 Commits

Author SHA1 Message Date
4d910dd069 moved a subset of source file to the kern package 2026-04-27 19:43:37 +02:00
f100adead3 increased test coverage and splitted some utility functions by OS 2026-04-26 06:16:43 +02:00
7d2cf1e687 new operator 'join' 2026-04-25 07:00:30 +02:00
49728307f3 t_operator_test.go: added a test for the digest operator 2026-04-25 06:33:35 +02:00
20dc502438 new operator 'digest' 2026-04-25 06:25:39 +02:00
ce7bfc5e3f operator-map/filter.go: added deletion of temporary variables '_index' and '_count' 2026-04-25 06:24:28 +02:00
6e98bdd16b new operator 'filter' 2026-04-24 22:42:46 +02:00
6ee365bacc new operator 'map' ans general variable access by ${} 2026-04-24 20:11:25 +02:00
20d8236325 Iterators: Removed NewAnyIterator(), added NewIterator() 2026-04-24 06:26:00 +02:00
c39ee7cec0 dict-iterator.go: fixed behaviour of NewDictIterator() with no args 2026-04-23 22:06:23 +02:00
9e4252173b Iterator interface now embeds fmt.Stringer 2026-04-23 22:04:41 +02:00
2b80ba6789 t_plugin_test.go: TestLoadPluginName() removed due to linkage mismatch 2026-04-23 22:02:41 +02:00
d7247f97c5 doc: added description of set() and unset() functions defined in the base buiiltin 2026-04-23 19:09:09 +02:00
02df7f1c1f Plugin file name extension adapted to the host OS convention (.so on linux, .dll on windows, .dylib on Darwin/MacOS) 2026-04-23 19:06:11 +02:00
b6b09b2fb1 builtin-os-file: add function fileReadIterator() that creates an iterator over lines of a text file 2026-04-23 19:01:07 +02:00
0677180456 builtin-iterator.go/run(): removed default operator (print item) 2026-04-23 18:55:03 +02:00
b6952444ab builtin-base: added functions set() and unset() 2026-04-21 17:14:51 +02:00
6c3a071a02 doc: last change date-time updated 2026-04-21 06:49:58 +02:00
d7d03b4af8 README: added link to the main Expr documentation hosted on cdn.paas.portale-stac.it 2026-04-21 06:47:15 +02:00
49c5cb6a22 doc: progress about builtin functions 2026-04-21 06:45:41 +02:00
53d805a832 doc: test commit 2026-04-19 21:27:43 +02:00
b99ad5def1 Merge branch 'iterator/dict' 2026-04-19 15:18:07 +02:00
0d44b8697b doc: more details about iterators over dicts 2026-04-19 15:17:21 +02:00
1a7e537921 more tests on iterator over dicts 2026-04-19 15:16:25 +02:00
807df0f3a8 Iterator: added support for iterators over dictionaries 2026-04-19 15:08:14 +02:00
d7dd628fc9 doc: further details about iterator definition 2026-04-19 08:20:40 +02:00
1f57ba28dd Doc: progress about builtin modules 2026-04-18 12:21:42 +02:00
92bd366380 builtin-base: bool() supports lists and dicts, int() supports fractions 2026-04-18 12:20:05 +02:00
7b93c5b4ac doc: begin of iterators description 2026-04-16 10:13:41 +02:00
3ba8194ddb Expr.doc, a lot of fixes 2026-04-15 18:17:27 +02:00
037565c41e New var() function added to the builtin set 2026-04-15 16:04:12 +02:00
f8d12b1a93 added TestGoFunction() to test Go functions 2026-04-15 16:03:41 +02:00
518d4d8d65 simple-store.go: added function Init() 2026-01-03 09:11:43 +01:00
d64602cb00 builtin-string.go: fix return type of strLower() and strUpper() 2025-11-15 06:18:38 +01:00
4709248828 string builtin: strUpper() and strLower() added 2025-11-13 20:53:07 +01:00
5ecf81412e Doc: pre & post incremente/decrement 2025-01-05 12:53:50 +01:00
ff4db34f7b t_operator_test.go: test on -- and ++ prefix operators 2025-01-05 12:49:36 +01:00
0f848071c2 New prefix operators ++ and -- 2025-01-04 18:12:38 +01:00
6b3351b324 new prefix operator "!" as logic NOT 2025-01-04 17:47:59 +01:00
760c1ee6da New bitwise XOR operator specified by symbol ^ (caret). Iterator dereference is now done by prefixed * (star) 2025-01-03 07:33:17 +01:00
5ab6876ea1 term.go: new priority priDereference 2025-01-03 07:28:30 +01:00
6268abda8c token.go: new member function Token.SetSymbol() 2025-01-03 07:27:49 +01:00
d25bd325b7 symbol-map.go: improved detection of incomplete operations 2025-01-03 06:32:55 +01:00
01c04feea5 Doc: bitwise operators in the main operator table and special assignment operators table 2025-01-03 05:43:50 +01:00
6fc689c46c Added a test to the context type 2025-01-03 05:40:24 +01:00
eccb0c4dc9 Added new special operators like &= and <<=.
Also made a litle change to scanner function moveOn(): now it moves on
the last char passed and only if there are more than one chars.
2024-12-29 19:26:02 +01:00
e43823740f Doc: added string splitter operator '/' 2024-12-28 19:22:26 +01:00
526982a564 new string operator '/' 2024-12-28 19:16:45 +01:00
252514943e parser.go: fix currentItem after parse a subexpr 2024-12-28 19:16:03 +01:00
32686fac62 term.go: new member function errDivisionByZero() 2024-12-28 19:14:34 +01:00