Commit Graph

444 Commits

Author SHA1 Message Date
8547248ea2 data-cursor.go: fixed filter 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 2024-07-11 07:23:35 +02:00
e904003e6e minor changes 2024-07-11 06:53:14 +02:00
990e04f957 operator-assign.go -- Fix: Assigning a functor to a collection's item didn't work 2024-07-11 06:49:02 +02:00
d8aed9dd7a t_iterator_test.go: added a test to verify the reset command of the list iterator 2024-07-11 05:54:22 +02:00
a73d24b171 iter-list.go -> list-iterator.go
Fix: the reset command set the initial item to the second one in the list
2024-07-11 05:52:47 +02:00
3ebba83bce term.go: replaced self receiver 2024-07-09 07:50:50 +02:00
6b3bfa2a11 self param replaced as opTerm 2024-07-09 07:50:06 +02:00
867806155e scanner.go: replaced self receiver 2024-07-08 07:30:58 +02:00
a711333a2e simple-store.go: commented out an unused function 2024-07-08 07:30:26 +02:00
af3e946bd4 operator-sum.go: replaced self receiver 2024-07-08 07:29:42 +02:00
22a36fa630 context.go renamed as expr-context.go 2024-07-07 16:20:29 +02:00
6d9a379c92 token.go: replaced self receiver 2024-07-07 16:19:58 +02:00
dd6404c786 t_scanner_test.go: replaced t.Log(fmtStringf()) with t.Logf() 2024-07-07 16:18:39 +02:00
34874ef663 plugins.go: replaced stringsIndex()<0 with !strings.Contains() 2024-07-07 16:17:48 +02:00
9bc8e8ca05 operator-sum.go: replaced for-loop with append() 2024-07-07 16:15:56 +02:00
7f367cfc49 parser.go: renamed self receiver 2024-07-07 16:14:52 +02:00
fe999acf2c operator-index.go: removed unused parameter from the function verifyKey() 2024-07-07 16:14:04 +02:00
2ed1a1842b operand-iterator.go: commented out an unused function and replaced self receiver 2024-07-07 16:10:43 +02:00
bb9493d0cc list-type.go: commented out an unused fuction 2024-07-07 16:08:45 +02:00
f279bf163e import-utils.go: commented out unused fuctions 2024-07-07 15:59:23 +02:00
6834d9f47b function.go: removed useless param != nil check 2024-07-07 15:58:29 +02:00
8051faa2bf fraction-type.go: use of strings.TrimSuffix() in place of check suffix and slice 2024-07-07 15:57:17 +02:00
f30e687a79 changed the file name comment 2024-07-07 15:55:51 +02:00
2b6e46576b byte-slider.go: renamed function receiver from self to slider 2024-07-07 15:54:26 +02:00
dc06c03112 builtin-string.go: removed useless err == nil check 2024-07-07 15:53:29 +02:00
e8f5d3e445 builtin-base.go: unused function iteratorFunc() commented out 2024-07-07 15:52:16 +02:00
76ce0945f7 context.go splitted in two files: expr-context.go and expr-function-go.
Expr interface moved from ast.go to the new file expr.go
2024-07-07 15:51:29 +02:00
340b99bad7 list-type.go: use of copy() for copying lists 2024-07-07 07:34:58 +02:00
93dac956fb t_parser_test.go: more tests on ??, ?= and ?! operators 2024-07-06 17:01:23 +02:00
307027d23d t_parser_test.go: changed all error values to string values 2024-07-06 16:47:00 +02:00
896844e772 the common test framework now supports error, string and nil as value of the wantErr field 2024-07-06 16:43:13 +02:00
9fc20077a1 operator-include.go: the include operator did not count the number of files included when its argument was a single string 2024-07-06 16:08:58 +02:00
d2a4adebdd dataCursor implements Typer interface 2024-07-06 16:05:54 +02:00
fd8e32e12b new operator "?!" (alternate value) 2024-07-06 05:54:53 +02:00
1e62a51c15 t_fractions_test.go: added a test on the string() function 2024-07-06 04:56:00 +02:00
0170baa0f5 iter-list.go: implemented the Typer interface 2024-07-06 04:54:42 +02:00
fe5c8e9619 tests improved 2024-06-26 04:29:40 +02:00
7164e8816c operator-bool.go: error messages improved 2024-06-26 04:28:53 +02:00
e0f3b028fc builtin-string.go: replaced ToInt() with ToGoInt() 2024-06-26 04:28:07 +02:00
522b5983bd builtin-base.go: string() function added 2024-06-26 04:27:14 +02:00
f1e2163277 replaced ToInt() with ToGoInt() 2024-06-26 04:25:49 +02:00
bbdf498cf3 function.go: commented out some unused error functions 2024-06-26 04:23:48 +02:00
f75c991ed2 common-errors.go: commented out some unused error functions 2024-06-26 04:23:14 +02:00
a7836143cc utils.go: ToInt() renamed as ToGoInt() 2024-06-26 04:22:29 +02:00
ba9b9cb28f a lot oh changes to the test framework and new test files t_builtin-fmt_test.go and t_plugin_test.go added 2024-06-25 10:59:03 +02:00
ef1baa11a8 builtin-fmt.go: print() and println() can write data to a generic Writer. They fetch the writer from the control variable '_stdout'.
If _stdout is nil, they write to os.Stdout
2024-06-25 10:55:54 +02:00
cfddbd60b9 control.go: use of UnsafeSetVar() in place of SetVar(). SetCtrl() added 2024-06-25 10:53:05 +02:00
0760141caf utils.go: Removed CloneMap(). fromGenericAny(): check v against nil 2024-06-25 10:48:31 +02:00
b9e780e659 ExprContext: removed Merge() method 2024-06-25 10:45:54 +02:00