Phasor 3.1.1
Stack VM based Programming Language
Loading...
Searching...
No Matches
Frontend.hpp
Go to the documentation of this file.
2#include <string>
4namespace pulsar
5{
6
8namespace Frontend
9{
16int runScript(const std::string &source, Phasor::VM *vm = nullptr);
17
22int runRepl(Phasor::VM *vm = nullptr);
23} // namespace Frontend
24
25} // namespace pulsar
Virtual Machine.
Definition VM.hpp:30
Frontend namespace.
Definition Frontend.hpp:9
int runRepl(VM *vm=nullptr, bool verbose=false)
Run an REPL.
Definition Frontend.cpp:87
int runScript(const std::string &source, VM *vm, const std::filesystem::path &path="", bool verbose=false)
Run a script.
Definition Frontend.cpp:17
The Pulsar Scripting Language.
Definition Compiler.cpp:13