Commit Graph

  • 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
  • 6ee365bacc new operator 'map' ans general variable access by ${} v0.35.1-dollar-vars v0.35.1 camoroso 2026-04-24 20:11:25 +02:00
  • 20d8236325 Iterators: Removed NewAnyIterator(), added NewIterator() camoroso 2026-04-24 06:26:00 +02:00
  • c39ee7cec0 dict-iterator.go: fixed behaviour of NewDictIterator() with no args camoroso 2026-04-23 22:06:23 +02:00
  • 9e4252173b Iterator interface now embeds fmt.Stringer camoroso 2026-04-23 22:04:41 +02:00
  • 2b80ba6789 t_plugin_test.go: TestLoadPluginName() removed due to linkage mismatch camoroso 2026-04-23 22:02:41 +02:00
  • d7247f97c5 doc: added description of set() and unset() functions defined in the base buiiltin camoroso 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) camoroso 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 camoroso 2026-04-23 19:01:07 +02:00
  • 0677180456 builtin-iterator.go/run(): removed default operator (print item) camoroso 2026-04-23 18:55:03 +02:00
  • b6952444ab builtin-base: added functions set() and unset() camoroso 2026-04-21 17:14:51 +02:00
  • 6c3a071a02 doc: last change date-time updated camoroso 2026-04-21 06:49:58 +02:00
  • d7d03b4af8 README: added link to the main Expr documentation hosted on cdn.paas.portale-stac.it camoroso 2026-04-21 06:47:15 +02:00
  • 49c5cb6a22 doc: progress about builtin functions camoroso 2026-04-21 06:45:41 +02:00
  • 53d805a832 doc: test commit camoroso 2026-04-19 21:27:43 +02:00
  • b99ad5def1 Merge branch 'iterator/dict' v0.35.0 camoroso 2026-04-19 15:18:07 +02:00
  • 0d44b8697b doc: more details about iterators over dicts camoroso 2026-04-19 15:17:21 +02:00
  • 1a7e537921 more tests on iterator over dicts camoroso 2026-04-19 15:16:25 +02:00
  • 807df0f3a8 Iterator: added support for iterators over dictionaries camoroso 2026-04-19 15:08:14 +02:00
  • d7dd628fc9 doc: further details about iterator definition camoroso 2026-04-19 08:20:40 +02:00
  • 1f57ba28dd Doc: progress about builtin modules camoroso 2026-04-18 12:21:42 +02:00
  • 92bd366380 builtin-base: bool() supports lists and dicts, int() supports fractions camoroso 2026-04-18 12:20:05 +02:00
  • 7b93c5b4ac doc: begin of iterators description camoroso 2026-04-16 10:13:41 +02:00
  • 3ba8194ddb Expr.doc, a lot of fixes camoroso 2026-04-15 18:17:27 +02:00
  • 037565c41e New var() function added to the builtin set v0.34.0 camoroso 2026-04-15 16:04:12 +02:00
  • f8d12b1a93 added TestGoFunction() to test Go functions camoroso 2026-04-15 16:03:41 +02:00
  • 518d4d8d65 simple-store.go: added function Init() camoroso 2026-01-03 09:11:43 +01:00
  • d64602cb00 builtin-string.go: fix return type of strLower() and strUpper() v0.33.1 camoroso 2025-11-15 06:18:38 +01:00
  • 4709248828 string builtin: strUpper() and strLower() added v0.33.0 camoroso 2025-11-13 20:53:07 +01:00
  • 5ecf81412e Doc: pre & post incremente/decrement camoroso 2025-01-05 12:53:50 +01:00
  • ff4db34f7b t_operator_test.go: test on -- and ++ prefix operators camoroso 2025-01-05 12:49:36 +01:00
  • 0f848071c2 New prefix operators ++ and -- camoroso 2025-01-04 18:12:38 +01:00
  • 6b3351b324 new prefix operator "!" as logic NOT camoroso 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) v0.32.0 camoroso 2025-01-03 07:31:45 +01:00
  • 5ab6876ea1 term.go: new priority priDereference camoroso 2025-01-03 07:28:30 +01:00
  • 6268abda8c token.go: new member function Token.SetSymbol() camoroso 2025-01-03 07:27:49 +01:00
  • d25bd325b7 symbol-map.go: improved detection of incomplete operations camoroso 2025-01-03 06:32:55 +01:00
  • 01c04feea5 Doc: bitwise operators in the main operator table and special assignment operators table camoroso 2025-01-03 05:43:50 +01:00
  • 6fc689c46c Added a test to the context type camoroso 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. camoroso 2024-12-29 19:26:02 +01:00
  • e43823740f Doc: added string splitter operator '/' camoroso 2024-12-28 19:22:26 +01:00
  • 526982a564 new string operator '/' v0.31.0 camoroso 2024-12-28 19:16:45 +01:00
  • 252514943e parser.go: fix currentItem after parse a subexpr camoroso 2024-12-28 19:16:03 +01:00
  • 32686fac62 term.go: new member function errDivisionByZero() camoroso 2024-12-28 19:14:34 +01:00
  • 52a627c747 Edited according to preious commit v0.30.0 camoroso 2024-12-28 09:28:12 +01:00
  • d91e7eb979 The list operator '<<' (append) and '>>' (prepend) have been replaced with the new operators '<+' and '+>' respectively. '<<' and '>>' are now used only for left and right binary shit respectively. Further, their priority has been increased moving them to a higher priority than that of the assignment operator. camoroso 2024-12-28 09:17:27 +01:00
  • cca3b76baa solved a number of problems highlighted by the syntax analyzer v0.29.0 camoroso 2024-12-27 07:46:11 +01:00
  • 24e31997fc context-helpers.go: export functions no longer export control flags camoroso 2024-12-27 07:22:28 +01:00
  • 646710e180 builtin-base.go: new eval() function camoroso 2024-12-27 07:14:26 +01:00
  • b38327b841 t_builtin-string_test.go: corrected an undefinite article camoroso 2024-12-27 07:14:01 +01:00
  • fd912b2eb1 common-errors.go: undefinte article selection in error messages camoroso 2024-12-27 07:13:03 +01:00
  • 0e55f83d56 Forced the exlamation mark as a postfix operator v0.28.0 camoroso 2024-12-26 08:57:14 +01:00
  • 4725145d1c Doc: changed fraction symbol and introduced binary operators camoroso 2024-12-25 07:43:06 +01:00
  • edf8818f51 New dedicated priority for binary operators between relational and sum ones camoroso 2024-12-25 07:41:08 +01:00
  • 6211be8a8f Completed transition of the symbol '|' from fraction to operator binary or. New fraction symbol is ':'. Also, fixed and improved some parsing sections concerning collection indeces and ranges camoroso 2024-12-23 06:59:39 +01:00
  • f50ddf48db operator-range.go: range-term registered with symbol SymRange camoroso 2024-12-23 06:55:57 +01:00
  • 76e01f12d2 term.go: two error messages corrected camoroso 2024-12-23 06:53:37 +01:00
  • 406bced450 operator-sum.go: sum of two fraction fixed camoroso 2024-12-23 06:52:10 +01:00
  • 409dc86a92 symbol.go: SymRange added camoroso 2024-12-23 06:50:02 +01:00
  • 4184221428 symbol-map.go: changed symbol classification of some symbols like quotes and post-op camoroso 2024-12-23 06:49:17 +01:00
  • 8cf8b36a26 t_parser_test.go: replaced ~ with NOT camoroso 2024-12-19 15:36:16 +01:00
  • de87050188 scanner.go: removed SymTilde from DefaultTranslatios() -> It is not an alias for the SymNot symbol any more camoroso 2024-12-19 15:30:29 +01:00
  • a1ec0cc611 All assignment operators set the firstToken flag camoroso 2024-12-19 15:27:38 +01:00
  • 8e5550bfa7 New operator %= camoroso 2024-12-19 15:14:30 +01:00
  • 6ee21e10af New, more flexible, parser context datatype that includes and extends the previous flags allowForest and allowVarRef. Added binary operator (work in progress). Better implementation of +=,-=,*=, and /= (new) operators. camoroso 2024-12-19 14:48:27 +01:00
  • 5c44532790 << && >>: left and right shift with integer operands camoroso 2024-12-07 07:06:08 +01:00
  • cb66c1ab19 symbol-map.go: removed unsed definitons camoroso 2024-10-13 08:44:21 +02:00
  • a28d24ba68 parser.go: improved terminal symbols thanks to new symbol-map.go functions camoroso 2024-10-13 08:42:55 +02:00
  • 523349a204 symbol-map.go: new file that helps to identify symbols by source and class camoroso 2024-10-13 08:41:30 +02:00
  • b185f1df3a token.go: added a few error functions camoroso 2024-10-13 08:39:56 +02:00
  • 5da5a61a42 Expr.doc: notes about function context camoroso 2024-10-05 05:30:22 +02:00
  • 6e9205abc4 t_funcs_test.go: A test add on parameters check about two params with the same name camoroso 2024-10-05 05:25:29 +02:00
  • f61004fb5d A test added on new implicit boolean cases in selector operator camoroso 2024-10-05 05:23:55 +02:00
  • 321030c8d3 parser.go: function parameter list can't specify same parameter more than once camoroso 2024-10-01 06:39:51 +02:00
  • 98fc89e84f operator-selector.go: Simplified selector for Boolean expressions camoroso 2024-10-01 06:37:35 +02:00
  • 778d00677d Doc: closure example camoroso 2024-09-18 20:48:12 +02:00
  • ba3dbb7f02 Doc: continuation camoroso 2024-09-16 06:52:29 +02:00
  • 7285109115 parser.go: number sign is now allowed after the assign operator camoroso 2024-09-16 06:49:26 +02:00
  • 4755774edd Doc: Fixed a lot of typos v0.27.0 camoroso 2024-09-12 06:57:43 +02:00
  • d215d837f6 Reset() and Clean() have new, simpler signature camoroso 2024-09-12 05:44:29 +02:00
  • ad3c1e5a60 enhanced and simplified Reset(), Clean() and Next() methods camoroso 2024-09-09 15:23:07 +02:00
  • d6bf5ee500 common-type-names.go: TypeNil and TyperDict added camoroso 2024-09-09 15:16:42 +02:00
  • 4b176eb868 Fix function.go: CallFunctionByParams() dit not pass correctly received actual params camoroso 2024-08-23 10:29:57 +02:00
  • dceb31f542 CallFunction() has been replaced by three new functions: CallFunctionByTerm(), CallFunctionByArgs() and CallFunctionByParams() v0.26.0 camoroso 2024-08-02 06:39:33 +02:00
  • 075b0b5691 RegisterFunc() also returns the funcInfo object camoroso 2024-08-01 00:09:49 +02:00
  • 3c51b8d2ee Changed some function names and param types camoroso 2024-07-31 09:11:57 +02:00
  • a46753f453 Function buildActualParams moved from data-cursor.go ro function.go camoroso 2024-07-31 09:08:58 +02:00
  • 9070b5c9cc The function parameter model has been modified to support the passing of named parameters camoroso 2024-07-28 18:49:08 +02:00
  • ab06702e5e operator-post-inc.go: new post int decrement operator '--' v0.25.0 camoroso 2024-07-24 06:39:35 +02:00
  • ffe1fa3aac op-assign expansion now end at ']' and '}' too camoroso 2024-07-24 06:37:57 +02:00
  • 1a1a475dd8 Added support to op-assign operators like '+='. This feature is implemented by expansion, not by dedicated operators, e.g. a*=2+x is exapanded as a=a*(2+x) camoroso 2024-07-23 15:35:57 +02:00
  • 463e3634ba scanner.go: New function UnreadToken(). Currently it only supports one staging level. camoroso 2024-07-23 15:32:25 +02:00
  • 5f8ca47ef0 term.go: New function Clone() camoroso 2024-07-23 15:27:50 +02:00
  • 837b887490 token.go: New functions Clone() and IsOneOfA() camoroso 2024-07-23 15:26:53 +02:00
  • c76e1d3c8e symbol.go: New symbol '*=' camoroso 2024-07-23 15:24:54 +02:00