7class ExpressionContext;
34 const String& functionName,
43 const String& functionName,
52 const String& functionName,
63 std::unique_ptr<Impl> impl_;
86 std::shared_ptr<CompiledScript>
87 compile(
const String& name,
const String& source, String& error);
Basic attribute, parameter, and node types for Enzo.
A compiled daslang program ready to run.
Definition DasRuntime.h:27
bool evalFloat(const String &functionName, const ExpressionContext *context, floatT &result, String &error)
Evaluates an exported function as a float.
Definition DasRuntime.cpp:73
bool evalString(const String &functionName, const ExpressionContext *context, String &result, String &error)
Evaluates an exported function as a string.
Definition DasRuntime.cpp:101
bool evalInt(const String &functionName, const ExpressionContext *context, intT &result, String &error)
Evaluates an exported function as an integer.
Definition DasRuntime.cpp:87
Shared host for the daslang runtime.
Definition DasRuntime.h:77
std::shared_ptr< CompiledScript > compile(const String &name, const String &source, String &error)
Compiles source text into a reusable script.
Definition DasRuntime.cpp:134
The world a single expression evaluation reads and writes to.
Definition ExpressionContext.h:21
Definition DasRuntime.cpp:17