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
camoroso
081395be5f
linked-list-iterator and context operator $$ enhancement
2026-05-18 09:50:06 +02:00
camoroso
35a599b284
operator length # supports linked-list
2026-05-18 08:56:44 +02:00
camoroso
eda3037855
operator $$() changed to return a linked-list in place of list
2026-05-18 08:55:28 +02:00
camoroso
47c181546a
linked-list: added forgotten source files
2026-05-18 08:53:46 +02:00
camoroso
a8a5d6aaa6
Linked-List: constructor NewLinkedListA() accepts any type of int and float
2026-05-18 06:24:59 +02:00
camoroso
84b255a51b
new type LinkedList, preliminary implementation
2026-05-17 22:43:27 +02:00
camoroso
9efdeffcac
test with mixed field name and index
2026-05-17 19:14:35 +02:00
camoroso
d34b9d8a48
dict: implemented sub-field access, e.g D=["sub-dict"]["sub-field"]
2026-05-17 18:57:27 +02:00
camoroso
1bf8015da1
the assign operators, '=' and ':=', can set the value of dict items
2026-05-17 07:15:12 +02:00
camoroso
3ccbeb3978
util/utils.go: new function UnquoteString()
2026-05-17 07:02:35 +02:00
camoroso
0c719025cd
new operator ':=', it assigns a value to a variable by deep copy
2026-05-17 05:02:07 +02:00
camoroso
08617378e0
doc: added some details
2026-05-16 17:33:45 +02:00
camoroso
e6844ad1e8
alias operators: '<<' same as '<+', '>>' same as '+>'. Insert and append operation optimized with linked lists
2026-05-16 17:18:23 +02:00
camoroso
3a4e217891
kern/fraction-type.go: changed some syntax
2026-05-13 08:01:18 +02:00