Phasor
3.1.1
Stack VM based Programming Language
Loading...
Searching...
No Matches
Compiler_main.cpp
Go to the documentation of this file.
1
#include "
../../../Compiler/Phasor/Compiler.hpp
"
2
#include "
../../../Frontend/Phasor/Frontend.hpp
"
3
#include <
nativeerror.h
>
4
5
int
main
(
int
argc,
char
*argv[],
char
*envp[])
6
{
7
try
8
{
9
Phasor::Compiler
compiler(argc, argv, envp);
10
return
compiler.
run
();
11
}
12
catch
(
const
std::exception &e)
13
{
14
error
(e.what());
15
return
1;
16
}
17
18
return
0;
19
}
main
int main()
Definition
LSP_main.cpp:121
Compiler.hpp
Frontend.hpp
Phasor::Compiler
CLI wrapper for bytecode generation from Phasor source.
Definition
Compiler.hpp:16
Phasor::Compiler::run
int run()
Definition
Compiler.cpp:22
nativeerror.h
error
#define error(msg)
Definition
nativeerror.h:11
src
Executable
Compiler
Phasor
Compiler_main.cpp
Generated by
1.16.1