Commit Graph

  • e2b0a43640 Expr.doc: add section about intervals all-in-one camoroso 2026-08-01 17:40:02 +02:00
  • 481074d104 interval: the IN operator can now check if an integer value is inlcuded in a range camoroso 2026-08-01 11:22:58 +02:00
  • 6f08176122 scan/term.go: raised priority over PriRelational camoroso 2026-08-01 11:20:38 +02:00
  • d24f1315b2 builtin-iterator.go: fixed item and index shortcuts $_ and $__ camoroso 2026-08-01 11:18:01 +02:00
  • 382cb7aabd Expr.doc: more details about the run() function from builtin iterator camoroso 2026-07-31 08:01:13 +02:00
  • dd9aa5d52d builtin-iterator.go: added supporto to automatic variables $_ (iterator index) and $__ (iterator item) camoroso 2026-07-31 07:27:59 +02:00
  • 1d15b99740 int-iterator: fixed iterator's index value camoroso 2026-07-31 07:26:41 +02:00
  • 7430e9bdf7 Doc: many improvements camoroso 2026-07-30 16:15:31 +02:00
  • 8084ffbc19 refactored tests based on test-file.txt; this file is no more needed camoroso 2026-07-30 16:11:17 +02:00
  • e896e06a93 t_builtin-iterator_test.go: added setup and cleanup function that prepare data&files for test. camoroso 2026-07-30 15:39:44 +02:00
  • 7df7d1463f builtin-os-file-iter-line/byte.go: Clean() function does not reset data content camoroso 2026-07-30 15:37:37 +02:00
  • 948bad6f96 t_common_test.go: added function fileExists() camoroso 2026-07-30 15:35:25 +02:00
  • 1c4ba5ef0b builtin-iterator.go: Added function abort() ans fixed typos in error messages camoroso 2026-07-30 14:56:00 +02:00
  • 648533cbe3 int-iterator is now defined interval camoroso 2026-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. camoroso 2026-07-27 16:01:52 +02:00
  • 07aecfc4e7 digest operator assigns the special variable 'last' for each iteration camoroso 2026-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 camoroso 2026-07-16 07:25:15 +02:00
  • 8c55f4ac4b operator at for dict camoroso 2026-07-14 06:50:56 +02:00
  • bf2c7df0f0 forgot to add the array module. Separated tests on array and list from operators camoroso 2026-07-14 06:49:50 +02:00
  • 6b561fea45 array and linked-list: at operator camoroso 2026-07-13 14:39:26 +02:00
  • daca05e637 linked-list: sum and in operators camoroso 2026-07-13 14:27:18 +02:00
  • 4df222496d linked-list supports index assign and concatenation camoroso 2026-07-13 11:34:25 +02:00
  • 072fd9af39 completed list-type to array-type conversion and fixed common test module camoroso 2026-07-13 10:42:17 +02:00
  • 77f36642b4 The name of 'list' has been changed to 'array'; from now on, 'list' will refer to the linked list. camoroso 2026-07-12 07:35:28 +02:00
  • b6da9bcad4 refactored data-types to reduce plugin sizes camoroso 2026-06-08 07:02:56 +02:00
  • fec7cc546c Merge branch 'main' into all-in-one camoroso 2026-06-07 05:46:44 +02:00
  • d8dc2939b4 Expr.adoc: typos main camoroso 2026-06-06 06:51:17 +02:00
  • dba8e01aa0 ecli.doc: correction and improvement camoroso 2026-06-06 06:14:58 +02:00
  • 6e868b568d Expr.adoc: $$() corrected a wrong sentences camoroso 2026-06-03 09:14:17 +02:00
  • 73e4ad7b87 Expr.adoc/groupby: group keys are strings camoroso 2026-06-03 09:11:51 +02:00
  • 6a6c897268 first ecli commit camoroso 2026-06-03 08:59:48 +02:00
  • 9eb3e2d072 Merge branch 'main' into all-in-one camoroso 2026-06-03 06:38:42 +02:00
  • b86ce6fe62 Expr.adoc: replaced dev-expr with ecli camoroso 2026-06-03 06:38:13 +02:00
  • 38316cec0b Expr.adoc: typo on $# var camoroso 2026-06-03 06:08:35 +02:00
  • ee7f488ebb Expr.adoc: automatic variables in the interator infix operators" camoroso 2026-06-02 11:35:36 +02:00
  • 02ea20cdb5 Expr.adoc: $$() for iterator and better explanation of infix iterator operator camoroso 2026-06-02 11:02:04 +02:00
  • 20cffbddfa Expr.doc: new Linked list type and review of iterators' operators camoroso 2026-06-02 02:36:02 +02:00
  • cd8f331a32 Merge branch 'main' into all-in-one camoroso 2026-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 camoroso 2026-05-22 06:46:04 +02:00
  • 7ed5a806f9 changed import conventions for plugin names: expr-<scoped-name>; scoped-name = <scope>-<name> camoroso 2026-05-22 05:59:46 +02:00
  • ac5c97bfd3 t_helpers_test.go: enhanced tests for the helpers module camoroso 2026-05-21 03:54:13 +02:00
  • e1c24daac4 rationalized context convertion to dict and string types camoroso 2026-05-21 03:52:48 +02:00
  • a62f27b104 increased test coverage (83.9%) camoroso 2026-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 camoroso 2026-05-20 05:14:22 +02:00
  • 1aea1c14d2 LinkedList: added support for index and range extraction camoroso 2026-05-19 06:42:45 +02:00
  • 081395be5f linked-list-iterator and context operator $$ enhancement camoroso 2026-05-18 09:49:44 +02:00
  • 35a599b284 operator length # supports linked-list camoroso 2026-05-18 08:56:44 +02:00
  • eda3037855 operator $$() changed to return a linked-list in place of list camoroso 2026-05-18 08:55:28 +02:00
  • 47c181546a linked-list: added forgotten source files camoroso 2026-05-18 08:53:46 +02:00
  • a8a5d6aaa6 Linked-List: constructor NewLinkedListA() accepts any type of int and float camoroso 2026-05-18 06:24:59 +02:00
  • 84b255a51b new type LinkedList, preliminary implementation camoroso 2026-05-17 22:43:27 +02:00
  • 9efdeffcac test with mixed field name and index camoroso 2026-05-17 19:14:35 +02:00
  • d34b9d8a48 dict: implemented sub-field access, e.g D=["sub-dict"]["sub-field"] camoroso 2026-05-17 18:57:27 +02:00
  • 1bf8015da1 the assign operators, '=' and ':=', can set the value of dict items camoroso 2026-05-17 07:15:12 +02:00
  • 3ccbeb3978 util/utils.go: new function UnquoteString() camoroso 2026-05-17 07:02:35 +02:00
  • 0c719025cd new operator ':=', it assigns a value to a variable by deep copy camoroso 2026-05-17 05:02:07 +02:00
  • 08617378e0 doc: added some details camoroso 2026-05-16 17:33:45 +02:00
  • e6844ad1e8 alias operators: '<<' same as '<+', '>>' same as '+>'. Insert and append operation optimized with linked lists camoroso 2026-05-16 17:18:23 +02:00
  • 3a4e217891 kern/fraction-type.go: changed some syntax camoroso 2026-05-13 08:01:18 +02:00
  • 0f293fdbbc restructured some test files camoroso 2026-05-11 14:01:22 +02:00
  • 45faea7620 map, filter and cat return an iterator camoroso 2026-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 camoroso 2026-05-09 12:15:59 +02:00
  • 5285b61320 'join' operator renamed as 'cat' camoroso 2026-05-09 10:34:46 +02:00
  • 5950630cf7 Doc: added more details and new functions and operators (iterator operators) camoroso 2026-05-08 15:17:24 +02:00
  • 78e431f2b9 forgotten changes to builtin-os-file-iter.go camoroso 2026-05-08 11:07:53 +02:00
  • c7dce8288f file iterators refactored camoroso 2026-05-08 11:01:50 +02:00
  • c10053253c os file builtins refactored with the package 'file' camoroso 2026-05-08 10:16:03 +02:00
  • a3c7cf2efa iter-iter.go: check ctx against nil on creation camoroso 2026-05-08 10:14:07 +02:00
  • dfa1491093 kern/common-errors.go: new error function ErrFuncInvalidArg() camoroso 2026-05-08 10:10:28 +02:00
  • 99c1adc434 copyright header updated to 2026 v0.39.0 feat-iter-iter camoroso 2026-05-06 09:27:42 +02:00
  • 5585b496fb iter-iter: changed item operation from function and args to a list of expressions camoroso 2026-05-06 04:04:08 +02:00
  • acd4f8487d new iter-iter iterator and kern.func-info module camoroso 2026-05-05 20:38:30 +02:00
  • 7f34ccf955 moved scanner sources to package 'scan' v0.38.0 camoroso 2026-05-03 14:19:17 +02:00
  • f63ff5953e graph.go: conditioned compilation by 'graph' tag v0.37.0 camoroso 2026-05-03 07:14:30 +02:00
  • b9d37a5b4c kern/compare.go: added copyright comment camoroso 2026-05-03 07:13:39 +02:00
  • 23b8eec74a builtin-base: removed useless function unset(). See UNSET operator camoroso 2026-05-03 06:46:51 +02:00
  • bb6b6d17ec operator-map.go: return nil on error camoroso 2026-05-03 06:30:56 +02:00
  • 53acacbadf kern/common-errors.go: little changes to ErrExpectedGot() and ErrInvalidParameterValue() camoroso 2026-05-03 06:30:00 +02:00
  • 2ebc52891c Iterator operator: automatic temporary variables _index and _count changed with '__' and '_#' respectively. Note that, sinc '#' is not an identifier allowed char, '_#' requires himBHsnotation: -cover camoroso 2026-05-02 15:06:12 +02:00
  • 3b2ef7927b new operator 'groupby' camoroso 2026-05-02 14:46:28 +02:00
  • d5ced343c4 kern/compare.go: new function Equal(a,b) that returns true if a and b have the same value camoroso 2026-05-02 14:44:52 +02:00
  • 3ac8cab275 enhanced ending operator detection camoroso 2026-05-02 09:54:24 +02:00
  • 6c5e9db34b int-itrator: new iterator over integer ranges camoroso 2026-05-01 17:23:06 +02:00
  • 78871641d0 t_common_test.go: Error messages also contains the name of the section introduced by special symbol >>> camoroso 2026-05-01 17:17:40 +02:00
  • dacbec677a iterator interface chenged index and count members from int to tint 64 camoroso 2026-05-01 17:15:18 +02:00
  • 75ed88915d ast.go, pasrse.go: fixed the recover routine camoroso 2026-05-01 17:03:44 +02:00
  • f2d1f23774 ast.go: added recover from panic in ast.Eval() camoroso 2026-05-01 07:25:05 +02:00
  • edd90054d7 parser.go: added recover from panic in parser.Parse() camoroso 2026-05-01 07:23:27 +02:00
  • 610e2df5f5 operator-dot: added support to access dict value by exprssion; example: D.key, D."key", D.expr camoroso 2026-04-30 07:06:20 +02:00
  • 32c0b45255 kern/dict-type.go: added GetItem() camoroso 2026-04-30 07:04:03 +02:00
  • 75a3f220df parser: token '()' returns error camoroso 2026-04-30 07:03:28 +02:00
  • 116b54836f token.go: little change to ErrorExpectedGotStringWithPrefix() camoroso 2026-04-30 07:01:02 +02:00
  • 8787973de0 util files moved form kern to util package camoroso 2026-04-29 11:03:36 +02:00
  • 4d910dd069 moved a subset of source file to the kern package camoroso 2026-04-27 19:43:37 +02:00
  • f100adead3 increased test coverage and splitted some utility functions by OS v0.36.0 camoroso 2026-04-26 06:16:43 +02:00
  • 7d2cf1e687 new operator 'join' camoroso 2026-04-25 06:55:09 +02:00
  • 49728307f3 t_operator_test.go: added a test for the digest operator camoroso 2026-04-25 06:33:35 +02:00
  • 20dc502438 new operator 'digest' camoroso 2026-04-25 06:25:39 +02:00
  • ce7bfc5e3f operator-map/filter.go: added deletion of temporary variables '_index' and '_count' camoroso 2026-04-25 06:23:12 +02:00
  • 6e98bdd16b new operator 'filter' camoroso 2026-04-24 22:42:46 +02:00