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