Seddryck / Expressif

Expressif is the variable substitution syntax combined with a library of predicates and functions. Initially designed for NBi.io, Expressif allows you to define variables, transformations of these variables (with expressions and functions), in plain text, which can then be interpreted by the engine. Same can be done with predicates.
Apache License 2.0
1 stars 0 forks source link

Variables should also be able to support functions #256

Closed Seddryck closed 8 months ago

Seddryck commented 8 months ago

Currently a variable is value but it should also be able to provide a function such as:

var context = new Context();
context.Variables.Add<decimal>
(
     "myVar"
     , () => new GlobalVariable(new LiteralScalarResolver<decimal>(2)).GetValue()
);