Phasor
3.1.1
Stack VM based Programming Language
Loading...
Searching...
No Matches
Repl_main.cpp
Go to the documentation of this file.
1
#include "
../../../Frontend/Phasor/Frontend.hpp
"
2
#include <
nativeerror.h
>
3
4
int
main
(
int
argc,
char
*argv[],
char
*envp[])
5
{
6
try
7
{
8
return
Phasor::Frontend::runRepl
();
9
}
10
catch
(
const
std::exception &e)
11
{
12
error
(e.what());
13
return
1;
14
}
15
}
main
int main()
Definition
LSP_main.cpp:121
Frontend.hpp
Phasor::Frontend::runRepl
int runRepl(VM *vm=nullptr, bool verbose=false)
Run an REPL.
Definition
Frontend.cpp:87
nativeerror.h
error
#define error(msg)
Definition
nativeerror.h:11
src
Executable
Repl
Phasor
Repl_main.cpp
Generated by
1.16.1