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