Commit Graph

16 Commits

Author SHA1 Message Date
dceb31f542 CallFunction() has been replaced by three new functions:
CallFunctionByTerm(), CallFunctionByArgs() and CallFunctionByParams()
2024-08-02 06:39:33 +02:00
a46753f453 Function buildActualParams moved from data-cursor.go ro function.go 2024-07-31 09:08:58 +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
6834d9f47b function.go: removed useless param != nil check 2024-07-07 15:58:29 +02:00
bbdf498cf3 function.go: commented out some unused error functions 2024-06-26 04:23:48 +02:00
e41ddc664c Improved closure context persistence. Now it is possibile to define counters like this func(base){func(){@base=base+1}} 2024-06-24 07:20:17 +02:00
ba479a1b99 Function call moved from operand-func.go to function.go 2024-06-17 06:54:50 +02:00
9fb611aa20 Formatter option is now composed of two data: flags (lower 16 bits) and indentation size (higher 16 bits).
DictType and ListType formatter use both indent and flag options.
Simple-store now makes a DictType from its data and its ToString() function returns dict.ToString()
2024-06-11 16:32:01 +02:00
33d70d6d1a splitted go and expr function bindings in dedicated source files 2024-06-09 10:41:06 +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
e4b4b4fb79 function.go: if the right most parameter is repeteable (pfRepeat), then it does not increment the min-arg count 2024-06-02 11:30:24 +02:00
9bba40f155 Expr's functions now support parameters with default value 2024-06-01 19:56:40 +02:00
f66cd1fdb1 New test file for specific code section or data type 2024-06-01 16:31:50 +02:00
f41ea96d17 Expr functions now act as closures 2024-05-30 07:13:26 +02:00
e5f63c3d9d function definition and usage rationalized 2024-05-24 06:28:48 +02:00