Phasor
2.2.0
Stack VM based Programming Language
Loading...
Searching...
No Matches
Repl_main.cpp
Go to the documentation of this file.
1
#include "
../../CLI/Repl/Repl.hpp
"
2
#include "
../../Frontend/Frontend.hpp
"
3
#include <iostream>
4
5
int
main
(
int
argc,
char
*argv[],
char
*envp[])
6
{
7
try
8
{
9
Phasor::Repl
Repl(argc, argv, envp);
10
return
Repl.
run
();
11
}
12
catch
(
const
std::exception &e)
13
{
14
std::cerr <<
"Error: "
<< e.what() <<
"\n"
;
15
return
1;
16
}
17
18
return
0;
19
}
Frontend.hpp
Repl.hpp
main
fn main()
The main execution loop of the Phasor Shell.
Definition
Shell.dox:38
Phasor::Repl
Read-Eval-Print Loop for Phasor Programming Language.
Definition
Repl.hpp:27
Phasor::Repl::run
int run()
Definition
Repl.cpp:25
src
App
Repl
Repl_main.cpp
Generated by
1.16.1