Commit Graph

30 Commits

Author SHA1 Message Date
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
847d85605e removed unused commented code 2024-06-05 05:53:02 +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
d545a35acf local var renamed 2024-05-24 04:23:03 +02:00
1ff5770264 New interface and implementation to model function parameters 2024-05-22 20:52:44 +02:00
4d43ab2c2f context.go: setVar() renamed as UnsafeSetVar() 2024-05-19 01:27:44 +02:00
8138cd2a80 operand-func.go: commented the errors moved to common-errors..go 2024-05-15 22:04:38 +02:00
50e7168214 Since now builtin functions are registared in a new global context. This reduces the effort to copy the whole set of builtin functions in the context of a function call; only the called function will be copied, if it is global. 2024-05-11 10:45:38 +02:00
a9d6a82011 operand-func.go: improved error report when functions reveive less params than expected 2024-05-06 15:26:45 +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
cdbe3dfc22 commented tracing code 2024-05-01 05:57:08 +02:00
70892aa980 removed commented code 2024-04-27 06:14:09 +02:00
d2bab5fd9e context clone & export function moved from operand-func.go to context-helpers.go 2024-04-26 21:03:00 +02:00
a22047e84e operand-func.go: removed commented code 2024-04-26 08:02:52 +02:00
d354102c6a adapted to the new GetFuncInfo() specification 2024-04-26 04:36:03 +02:00
43e631f2e8 enabled passing functions as parameters in function call 2024-04-14 07:38:28 +02:00
8f396a35de ExprContext.SetVar() no longer requires the explicit specification of the type of number 2024-04-09 07:12:22 +02:00
4d94a7ad59 class and kind types removed 2024-04-09 05:32:50 +02:00
9ac88bf446 made some interfaces exportable and fixed/enhaaced some selector operator versions 2024-04-08 23:17:56 +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
088e347c95 Changed SetValue() as SetVar() and GetValue() as GetVar() 2024-04-03 06:29:57 +02:00
072dab4144 Expressions now support function definition 2024-04-02 04:36:03 +02: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