Commit Graph

12 Commits

Author SHA1 Message Date
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.
2024-12-19 14:48:27 +01:00
f61004fb5d A test added on new implicit boolean cases in selector operator 2024-10-05 05:23:55 +02:00
3c51b8d2ee Changed some function names and param types 2024-07-31 09:11:57 +02:00
9070b5c9cc The function parameter model has been modified to support the passing of named parameters 2024-07-28 18:49:08 +02:00
ffe1fa3aac op-assign expansion now end at ']' and '}' too 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)
2024-07-23 15:35:57 +02:00
c461fd138e Iterator defined by data-source now only requires one method: next() 2024-07-21 05:45:22 +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
7e357eea62 changed to comply new builtin-os-file.go's function names 2024-06-17 09:54:20 +02:00
eb4b17f078 moved all test expression files in the test-resources forlder 2024-06-09 16:02:07 +02:00
9bba40f155 Expr's functions now support parameters with default value 2024-06-01 19:56:40 +02:00
3736214c5a A lot of changes. Main ones are:
- fraction type renamed as FractionType and moved from operator-fraction.go to fraction-type.go
- ListType moved from operator-list.go to list-type.go
- all test file were renamed adding the "t_" prefix
- defined a test template in file t_temple_test.go
- new test file t_relational_test.go where relational tests are collected
- lists can now compared as set using operators <, <=, >, and >= (IMPORTANT: here = menas same content, not same list)
2024-05-28 07:26:05 +02:00