|
Enzo
|
Shared host for the daslang runtime. More...
#include <Runtime.h>
Public Member Functions | |
| std::shared_ptr< CompiledProgram > | compile (const String &name, const String &source, String &error) |
| Compiles source text into a reusable script. | |
| Runtime (const Runtime &)=delete | |
| Runtime & | operator= (const Runtime &)=delete |
Static Public Member Functions | |
| static Runtime & | instance () |
Shared host for the daslang runtime.
Owns the one time setup of the daslang module system and turns source text into reusable compiled scripts.
| std::shared_ptr< CompiledProgram > enzo::daslang::Runtime::compile | ( | const String & | name, |
| const String & | source, | ||
| String & | error ) |
Compiles source text into a reusable script.
error.