Commit Graph

18 Commits

Author SHA1 Message Date
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
703ecf6829 Added utility function GetLast() to context 2024-06-17 06:56:32 +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
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
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
ebb2811ed3 context.go: added exists return value to the GetFuncInfo() 2024-04-26 04:28:50 +02:00
8f396a35de ExprContext.SetVar() no longer requires the explicit specification of the type of number 2024-04-09 07:12:22 +02:00
9ac88bf446 made some interfaces exportable and fixed/enhaaced some selector operator versions 2024-04-08 23:17:56 +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
e012afa691 Added the RegisterFunc() interface to the expression context 2024-03-30 06:54:43 +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