Commit Graph

48 Commits

Author SHA1 Message Date
e5c5920db0 parser_test.go: incompatible type error corrected 2024-05-20 05:32:28 +02:00
d6a1607041 The content of round bracket now returns an expressione term. This way the content is decoupled from external terms. 2024-05-19 01:34:07 +02:00
d2e8aed4f7 parser_test.go: test on divisopn by-zero 2024-05-15 22:05:49 +02:00
aa1338cd51 Fixed special convertion case from decimal 'x.y()' to fraction 2024-05-15 06:45:40 +02:00
4aa0113c6a new string test file 2024-05-10 07:33:59 +02:00
c3198e4c79 parser_test.go: did not show the correct section name 2024-05-10 04:47:34 +02:00
34b7799177 parser_test.go: test added (mixed number types) 2024-05-07 07:23:38 +02:00
7cfb89c25c parser_test.go: removed commented code 2024-05-06 15:32:00 +02:00
b219b55878 parser_test.go: refactored 2024-05-06 10:39:21 +02:00
539a4b44e9 new test files and some refactorings 2024-05-06 05:52:25 +02:00
903f1ae1ce adjusted some error messages and added the section name in logs 2024-05-06 04:21:50 +02:00
1d8569d3a9 the function call procedure now check the number of actual parameters against the numer of formal parameters 2024-05-04 22:35:03 +02:00
2c5f02cc69 list iterators now support start, stop e step 2024-05-04 08:07:49 +02:00
0bca3333aa parser_test.go: added tests from 143 to 159 (global coverage is 74.4%) 2024-05-03 06:38:30 +02:00
7a88449cd1 updated some error messages; add some tests on the dict data-type; Use of reflect.DeepEqual() to compare the test results with the desired results. 2024-04-26 04:43:36 +02:00
b28d6a8f02 commented out a test for a future new operator based on the caret symbol 2024-04-21 07:12:59 +02:00
d1122da566 coalesce operators '??' and '?=' now accepts function definitions too 2024-04-20 09:40:07 +02:00
f198ba47e1 new convert function int() 2024-04-20 07:29:42 +02:00
475ef3c80a parser_test.go: test added on isNil() function 2024-04-20 06:54:51 +02:00
ed973c9b7b fixed all errors in test files 2024-04-20 06:04:35 +02:00
624e3ac0f2 parser_test.go: changed ImportImportFunc(s) 2024-04-15 07:00:40 +02:00
ed6af6603a commented out some test code 2024-04-13 22:15:20 +02:00
70cdb9367e changed the structer of the selector components: now all case are a list value assigned as right operand of the selector operator 2024-04-13 10:10:25 +02:00
7f9fd570b2 parser_test.go: changed the notice message about EXPR_PATH 2024-04-13 04:40:48 +02:00
e493c40c7b builtin-funcs: export import functions (made their names uppercase) 2024-04-13 04:18:14 +02:00
9ac88bf446 made some interfaces exportable and fixed/enhaaced some selector operator versions 2024-04-08 23:17:56 +02:00
d3f388f7e1 Selector operator, multi-operand, added 2024-04-08 22:16:07 +02:00
f74e523617 test on '@@' 2024-04-06 03:09:02 +02:00
7612a59757 Operator '@@' (export-all) added. Experimental include() function also added 2024-04-06 03:06:07 +02:00
0ba96e65a5 Variable reference 2024-04-06 01:00:29 +02:00
d073d11ad3 Variable references belonging to the parent scope added ('@') 2024-04-04 12:54:26 +02:00
fccfd2f971 Operators '??' and '?=' added 2024-04-03 13:15:25 +02:00
088e347c95 Changed SetValue() as SetVar() and GetValue() as GetVar() 2024-04-03 06:29:57 +02:00
4683a08da2 import() function added 2024-04-02 06:49:16 +02:00
072dab4144 Expressions now support function definition 2024-04-02 04:36:03 +02:00
f58ec3ac32 parser: now checks whether the assign operator '=' is preceded by a variable 2024-03-31 06:38:46 +02:00
28e3b2f741 parser: accepts espression forest (multi expressions) 2024-03-31 06:10:27 +02:00
4e361f938e ast: now supports espression forest (multi expressions) 2024-03-31 05:57:02 +02:00
aa705e68bf 'and' and 'or' operators are now evaluated using logic shortcut (this behaviour can be changed setting system var '_bool_shortcut' to false 2024-03-31 05:09:24 +02:00
e3e5ad7da8 Farmatting changes 2024-03-30 08:12:47 +01:00
d0572260c7 New operators 'but' and assignment ('=') 2024-03-30 08:09:41 +01:00
85fb007a2b The plus and minus operators now support lists for join and difference respectively 2024-03-30 07:05:22 +01:00
107484d13c parser_test.go: add test on the list data type 2024-03-28 08:52:54 +01:00
d20027296c New test on the tilde operator. Now it is based on simple-var-store 2024-03-28 06:30:45 +01:00
998580772a added operator '%' (division remainder) and test 2024-03-26 09:27:14 +01:00
594806c999 added operator './' (float division) and test 2024-03-26 09:12:44 +01:00
33841c5861 Added copyrighr note to all sources 2024-03-26 08:45:18 +01:00
522b880ca3 Added all source files 2024-03-26 07:00:53 +01:00