34dc828ead
exported some identifier
2024-06-09 10:13:37 +02:00
115ce26ce9
IsOptional() function of ExprFuncParam renamed as IdDefault(). A new IsOptional() function created to check if a param is optional without requiring a default value
2024-06-07 09:45:02 +02:00
c100cf349d
some identier exported; new file import-utils.go
2024-06-06 05:31:35 +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
e5f63c3d9d
function definition and usage rationalized
2024-05-24 06:28:48 +02:00
1ff5770264
New interface and implementation to model function parameters
2024-05-22 20:52:44 +02:00
8ee0bb5701
Some data-type check functions (e.g. IsInteger()) exported
2024-05-08 07:53:01 +02:00
9c66056c18
func-math.go: improved error messages reporting wrong datatype of items
2024-05-06 04:18:04 +02:00
2c5f02cc69
list iterators now support start, stop e step
2024-05-04 08:07:49 +02:00
5cf0bfbad4
func-math.go: use of ExtIterator to perform clean operation
2024-05-04 00:33:38 +02:00
360ebce015
improved usability of the list iterator
2024-05-03 06:26:17 +02:00
4db015e4b1
func-math.go: Fixed mul() error: the previous version recursively called doAdd() instead of doMul()
2024-05-02 10:58:05 +02:00
5809de419f
func-math.go: mul() and add() now support fractions
2024-05-01 21:53:54 +02:00
7aabd068ed
func-math.go: add() now supports general iterators. TODO: do the same thing to mul()
2024-05-01 05:55:37 +02:00
aa66d07caa
Iterators now support generic operation interface based on methods HasOperation() and CallOperation().
...
Also fixed mul() function that called doAdd() instead of doMul().
2024-04-28 06:45:39 +02:00
bf8f1a175f
modules are now represented by a struct that holds import-function, module description and importa status.
...
It is also available the new function IterateModules() to explore all modules.
2024-04-28 05:41:13 +02:00
62e16219f7
func-math.go/add: now supports the general iterator interface
2024-04-26 04:47:59 +02:00
4f05e5c90a
funcs-math.go registered as 'math.arith'
2024-04-19 00:18:23 +02:00
f03ae555fc
added the copywrite comment header in source files that lacked it
2024-04-13 06:00:22 +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
4683a08da2
import() function added
2024-04-02 06:49:16 +02:00
6aada9f7e4
funcs-math.go -> func-math.go
2024-04-02 05:18:30 +02:00