Commit Graph

672 Commits

Author SHA1 Message Date
camoroso 5cd48bdc50 strJoin() now supports linked list and added strJoin(sep, linked-list) test 2026-08-02 17:04:27 +02:00
camoroso b080eaf49f types/list/linked-list-type.go: fixed type name 2026-08-02 16:52:53 +02:00
camoroso 02a02b4f20 kern/common-errors.go: fixed ErrInvalidParameterValue() 2026-08-02 16:51:46 +02:00
camoroso 72c2a6b52a dict-iterator.go: NewDictIteratorA() and description comment 2026-08-02 16:49:59 +02:00
camoroso 7e4baf9b6e array-iterator.go: changed 'list' name component with 'array' 2026-08-02 16:48:40 +02:00
camoroso e2b0a43640 Expr.doc: add section about intervals 2026-08-01 17:40:02 +02:00
camoroso 481074d104 interval: the IN operator can now check if an integer value is inlcuded in a range 2026-08-01 11:22:58 +02:00
camoroso 6f08176122 scan/term.go: raised priority over PriRelational 2026-08-01 11:20:38 +02:00
camoroso d24f1315b2 builtin-iterator.go: fixed item and index shortcuts $_ and $__ 2026-08-01 11:18:01 +02:00
camoroso 382cb7aabd Expr.doc: more details about the run() function from builtin iterator 2026-07-31 08:01:13 +02:00
camoroso dd9aa5d52d builtin-iterator.go: added supporto to automatic variables $_ (iterator index) and $__ (iterator item) 2026-07-31 07:27:59 +02:00
camoroso 1d15b99740 int-iterator: fixed iterator's index value 2026-07-31 07:26:41 +02:00
camoroso 7430e9bdf7 Doc: many improvements 2026-07-30 16:15:31 +02:00
camoroso 8084ffbc19 refactored tests based on test-file.txt; this file is no more needed 2026-07-30 16:11:17 +02:00
camoroso e896e06a93 t_builtin-iterator_test.go: added setup and cleanup function that prepare data&files for test. 2026-07-30 15:39:44 +02:00
camoroso 7df7d1463f builtin-os-file-iter-line/byte.go: Clean() function does not reset data content 2026-07-30 15:37:37 +02:00
camoroso 948bad6f96 t_common_test.go: added function fileExists() 2026-07-30 15:35:25 +02:00
camoroso 1c4ba5ef0b builtin-iterator.go: Added function abort() ans fixed typos in error messages 2026-07-30 14:56:00 +02:00
camoroso 648533cbe3 int-iterator is now defined interval 2026-07-28 07:16:49 +02:00
camoroso 8e596d5979 several changes:
1. moved scan/symbol.go to new package sym and adapted all files that reference Symbol type and its values.
2. new type interval defined by begin, end and step values.
3. replaced operator-range.go with operator-interval.go.
4. replaced range operator begin:end with begin..end..step.
5. new implementation of sub-collection extraction based on new interval literal.
2026-07-27 16:01:52 +02:00
camoroso 07aecfc4e7 digest operator assigns the special variable 'last' for each iteration 2026-07-21 09:09:32 +02:00
camoroso 2f616f349b at operator return -1 when fails in lists and arrays; insert operators (<< and >>) changes che container if it is a variable 2026-07-16 07:25:15 +02:00
camoroso 8c55f4ac4b operator at for dict 2026-07-14 06:50:56 +02:00
camoroso bf2c7df0f0 forgot to add the array module. Separated tests on array and list from operators 2026-07-14 06:49:50 +02:00
camoroso 6b561fea45 array and linked-list: at operator 2026-07-13 15:10:51 +02:00
camoroso daca05e637 linked-list: sum and in operators 2026-07-13 14:27:18 +02:00
camoroso 4df222496d linked-list supports index assign and concatenation 2026-07-13 11:34:25 +02:00
camoroso 072fd9af39 completed list-type to array-type conversion and fixed common test module 2026-07-13 10:42:17 +02:00
camoroso 77f36642b4 The name of 'list' has been changed to 'array'; from now on, 'list' will refer to the linked list. 2026-07-12 07:35:28 +02:00
camoroso b6da9bcad4 refactored data-types to reduce plugin sizes 2026-06-08 07:02:56 +02:00
camoroso fec7cc546c Merge branch 'main' into all-in-one 2026-06-07 05:46:44 +02:00
camoroso d8dc2939b4 Expr.adoc: typos 2026-06-06 06:51:17 +02:00
camoroso dba8e01aa0 ecli.doc: correction and improvement 2026-06-06 06:14:58 +02:00
camoroso 6e868b568d Expr.adoc: $$() corrected a wrong sentences 2026-06-03 09:14:17 +02:00
camoroso 73e4ad7b87 Expr.adoc/groupby: group keys are strings 2026-06-03 09:11:51 +02:00
camoroso 6a6c897268 first ecli commit 2026-06-03 08:59:48 +02:00
camoroso 9eb3e2d072 Merge branch 'main' into all-in-one 2026-06-03 06:38:42 +02:00
camoroso b86ce6fe62 Expr.adoc: replaced dev-expr with ecli 2026-06-03 06:38:13 +02:00
camoroso 38316cec0b Expr.adoc: typo on $# var 2026-06-03 06:08:35 +02:00
camoroso ee7f488ebb Expr.adoc: automatic variables in the interator infix operators" 2026-06-02 11:35:36 +02:00
camoroso 02ea20cdb5 Expr.adoc: $$() for iterator and better explanation of infix iterator operator 2026-06-02 11:02:04 +02:00
camoroso 20cffbddfa Expr.doc: new Linked list type and review of iterators' operators 2026-06-02 02:36:02 +02:00
camoroso cd8f331a32 Merge branch 'main' into all-in-one 2026-05-22 06:47:50 +02:00
camoroso 4b2b573420 Linked-list: added support for operators '<<' and '>>'. Also fixed list insertion: ['x'] >> [1,2] must return [1,2,['x'], not [1,2,'x']; use $([]) to flat a list 2026-05-22 06:46:39 +02:00
camoroso 7ed5a806f9 changed import conventions for plugin names: expr-<scoped-name>; scoped-name = <scope>-<name> 2026-05-22 05:59:46 +02:00
camoroso ac5c97bfd3 t_helpers_test.go: enhanced tests for the helpers module 2026-05-21 03:54:13 +02:00
camoroso e1c24daac4 rationalized context convertion to dict and string types 2026-05-21 03:52:48 +02:00
camoroso a62f27b104 increased test coverage (83.9%) 2026-05-21 03:06:52 +02:00
camoroso 1055569dd6 Dict literal now accepts expressions as keys. Key values are computed at evalutetion time and still must be integer or string 2026-05-20 05:14:22 +02:00
camoroso 1aea1c14d2 LinkedList: added support for index and range extraction 2026-05-19 06:42:45 +02:00