b9e780e659
ExprContext: removed Merge() method
2024-06-25 10:45:54 +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
703ecf6829
Added utility function GetLast() to context
2024-06-17 06:56:32 +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
56d6d06d15
simple-store.go: newline removed after context last brace in ToString()
2024-06-10 20:58:38 +02:00
f347b15146
Control vars are now stored in the globalCtx only.
...
However, it is still allowed to store control var in a local context in special situation
2024-06-08 05:49:28 +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
847d85605e
removed unused commented code
2024-06-05 05:53:02 +02:00
9307473d08
Call() implementation can invoke varaibles holding functors
2024-06-04 11:03:24 +02:00
c04678c426
simple-store.go: duplicated name removed from funcs list
2024-06-02 11:12:53 +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
e4275e2cb6
simple-var-store.go and simple-func-store.go merged in a single file named simple-store.go
2024-05-23 07:46:31 +02:00