8084ffbc19
refactored tests based on test-file.txt; this file is no more needed
camoroso2026-07-30 16:11:17 +02:00
e896e06a93
t_builtin-iterator_test.go: added setup and cleanup function that prepare data&files for test.
camoroso2026-07-30 15:39:44 +02:00
7df7d1463f
builtin-os-file-iter-line/byte.go: Clean() function does not reset data content
camoroso2026-07-30 15:37:37 +02:00
948bad6f96
t_common_test.go: added function fileExists()
camoroso2026-07-30 15:35:25 +02:00
1c4ba5ef0b
builtin-iterator.go: Added function abort() ans fixed typos in error messages
camoroso2026-07-30 14:56:00 +02:00
648533cbe3
int-iterator is now defined interval
camoroso2026-07-28 07:16:49 +02:00
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.
camoroso2026-07-27 16:01:52 +02:00
07aecfc4e7
digest operator assigns the special variable 'last' for each iteration
camoroso2026-07-21 09:09:32 +02:00
2f616f349b
at operator return -1 when fails in lists and arrays; insert operators (<< and >>) changes che container if it is a variable
camoroso2026-07-16 07:25:15 +02:00
ee7f488ebb
Expr.adoc: automatic variables in the interator infix operators"
camoroso2026-06-02 11:35:36 +02:00
02ea20cdb5
Expr.adoc: $$() for iterator and better explanation of infix iterator operator
camoroso2026-06-02 11:02:04 +02:00
20cffbddfa
Expr.doc: new Linked list type and review of iterators' operators
camoroso2026-06-02 02:36:02 +02:00
cd8f331a32
Merge branch 'main' into all-in-one
camoroso2026-05-22 06:47:50 +02:00
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
camoroso2026-05-22 06:46:04 +02:00
ac5c97bfd3
t_helpers_test.go: enhanced tests for the helpers module
camoroso2026-05-21 03:54:13 +02:00
e1c24daac4
rationalized context convertion to dict and string types
camoroso2026-05-21 03:52:48 +02:00
a62f27b104
increased test coverage (83.9%)
camoroso2026-05-21 03:06:52 +02:00
1055569dd6
Dict literal now accepts expressions as keys. Key values are computed at evalutetion time and still must be integer or string
camoroso2026-05-20 05:14:22 +02:00
1aea1c14d2
LinkedList: added support for index and range extraction
camoroso2026-05-19 06:42:45 +02:00
081395be5f
linked-list-iterator and context operator $$ enhancement
camoroso2026-05-18 09:49:44 +02:00
e6844ad1e8
alias operators: '<<' same as '<+', '>>' same as '+>'. Insert and append operation optimized with linked lists
camoroso2026-05-16 17:18:23 +02:00
3a4e217891
kern/fraction-type.go: changed some syntax
camoroso2026-05-13 08:01:18 +02:00
0f293fdbbc
restructured some test files
camoroso2026-05-11 14:01:22 +02:00
45faea7620
map, filter and cat return an iterator
camoroso2026-05-09 17:42:04 +02:00
e5a61b5638
iter-ops raised above assign; 'cat' operator returns an iterator; $$ operator supports iterators producing a list of items
camoroso2026-05-09 12:15:59 +02:00
5285b61320
'join' operator renamed as 'cat'
camoroso2026-05-09 10:34:46 +02:00
5950630cf7
Doc: added more details and new functions and operators (iterator operators)
camoroso2026-05-08 15:17:24 +02:00
78e431f2b9
forgotten changes to builtin-os-file-iter.go
camoroso2026-05-08 11:07:53 +02:00