Commit Graph

  • 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
  • 315f5b22d3 data-cursor.go: the inizialization of the current item is done in the Next() method. This allows the application of the filter and map operator to the first item too. v0.24.1 camoroso 2024-07-23 05:46:37 +02:00
  • dfae593e86 operand-iterator.go: removed commented code camoroso 2024-07-21 16:35:13 +02:00
  • d572f3a129 Iterator: new function Count() camoroso 2024-07-21 16:34:52 +02:00
  • c461fd138e Iterator defined by data-source now only requires one method: next() camoroso 2024-07-21 05:45:22 +02:00
  • 6ecbe2feb1 Fixed type (expcted -> expected) camoroso 2024-07-21 05:43:55 +02:00
  • 80d3c6ec7d parser.go: Fixed an old bug that did not allow the parser to skip comment tokens camoroso 2024-07-21 05:37:34 +02:00
  • e09806c716 %q replaced by %s in some error messages camoroso 2024-07-21 05:33:06 +02:00
  • 1a772597cb removed/commented unused code camoroso 2024-07-19 17:03:03 +02:00
  • 33b3e1fc29 New function for searching and importing plugin camoroso 2024-07-19 15:37:00 +02:00
  • 4e3f5cfbc6 import-utils.go: Paths are now expanded with respect to env-vars and shell ~ camoroso 2024-07-19 15:33:15 +02:00
  • e35d4e3f70 utils.go: added function ExpandPath camoroso 2024-07-19 15:30:26 +02:00
  • b4529499d6 iterator.go: exported some const identifier camoroso 2024-07-18 07:27:02 +02:00
  • 7745dc24e2 dict-type.go: exported NewDataCursor camoroso 2024-07-18 07:25:51 +02:00
  • be25385d02 builtin-iterator: changed status variable from 'it_status' to 'status' camoroso 2024-07-15 06:59:13 +02:00
  • 79889cd8e1 New builtin module 'iterator' v0.24.0 camoroso 2024-07-14 16:53:32 +02:00
  • 234759158c scanner: disabled prefix operator '()' v0.23.0 camoroso 2024-07-13 18:10:04 +02:00
  • 00fda29606 operator-iter-value.go: prefix operator () used to get the current value of an iterator replaced by ^ camoroso 2024-07-13 17:17:16 +02:00
  • 2a2840bdf2 ListIterator now implements next and current command (e.g it.next) camoroso 2024-07-13 17:15:53 +02:00
  • 06373f5126 Impemented Typer interface camoroso 2024-07-13 17:14:25 +02:00
  • e69dad5fb5 Rename priority label priCoalesce as priDefault camoroso 2024-07-13 17:13:16 +02:00
  • 7459057df9 Expr embeds Typer and ast implements it camoroso 2024-07-13 17:11:39 +02:00
  • 176969c956 New iterator tests camoroso 2024-07-13 16:19:04 +02:00
  • cde2efacf1 Test on iterator filter and map camoroso 2024-07-13 15:30:04 +02:00
  • d7a7b3218c Merge branch 'main' into enhance_iterators camoroso 2024-07-13 09:08:16 +02:00
  • be3bb12f28 operator-unset.go: fixed function removal camoroso 2024-07-13 09:07:33 +02:00
  • 032916d4fa New operator unset to delete variables and functions from current context camoroso 2024-07-13 09:01:59 +02:00
  • f3cc0cc7ad operator-include.go: Fixed inclusion of a list of files. Now returns the value of the last evaluated expression. camoroso 2024-07-13 09:00:53 +02:00
  • 905337f963 ExprContext: new functions VarCount(), DeleteVar(), FuncCount(), DeleteFunc() camoroso 2024-07-13 08:59:15 +02:00
  • 9a95a837f6 data-cursor.go: add item mapping support camoroso 2024-07-13 06:44:00 +02:00
  • 8547248ea2 data-cursor.go: fixed filter camoroso 2024-07-13 00:12:08 +02:00
  • a02f998fc6 t_iterator_test.go: Fixed test numbering and add a commentend test that is not yet fulfilled v0.22.0 camoroso 2024-07-11 07:23:35 +02:00
  • e904003e6e minor changes camoroso 2024-07-11 06:53:14 +02:00
  • 990e04f957 operator-assign.go -- Fix: Assigning a functor to a collection's item didn't work camoroso 2024-07-11 06:49:02 +02:00