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
pulsar
5
{
6
8
namespace
Frontend
9
{
16
int
runScript
(
const
std::string &source,
Phasor::VM
*vm =
nullptr
);
17
22
int
runRepl
(
Phasor::VM
*vm =
nullptr
);
23
}
// namespace Frontend
24
25
}
// namespace pulsar
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
pulsar
The Pulsar Scripting Language.
Definition
Compiler.cpp:13
src
Frontend
Pulsar
Frontend.hpp
Generated by
1.16.1