![]() |
Phasor 3.1.1
Stack VM based Programming Language
|
Functions | |
| int | runScript (const std::string &source, VM *vm, const std::filesystem::path &path="", bool verbose=false) |
| Run a script. | |
| int | runRepl (VM *vm=nullptr, bool verbose=false) |
| Run an REPL. | |
Frontend namespace.
| int Phasor::Frontend::runRepl | ( | VM * | vm = nullptr, |
| bool | verbose = false ) |
Run an REPL.
| vm | The virtual machine to run the REPL on |
Definition at line 87 of file Frontend.cpp.
| int Phasor::Frontend::runScript | ( | const std::string & | source, |
| VM * | vm, | ||
| const std::filesystem::path & | path = "", | ||
| bool | verbose = false ) |
Run a script.
| source | The source code to run |
| vm | The virtual machine to run the script on |
| path | The optional path of the source file |
Definition at line 17 of file Frontend.cpp.