Phasor 3.3.0
Stack VM based Programming Language
Loading...
Searching...
No Matches
Compiler.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4#include <vector>
6namespace pulsar
7{
8
16{
17 public:
18 Compiler(int argc, char *argv[]);
19 int run();
20
21 private:
22 struct Args
23 {
24 std::string inputFile;
25 std::string outputFile;
26 bool verbose = false;
27 bool irMode = false;
28 int scriptArgc = 0;
29 char **scriptArgv = nullptr;
31
32 void parseArguments(int argc, char *argv[]);
33 void showHelp(const std::string &programName);
34
37};
38
39} // namespace pulsar
struct Phasor::Compiler::Args m_args
void parseArguments(int argc, char *argv[])
Compiler(int argc, char *argv[])
void showHelp(const std::string &programName)
The Pulsar Scripting Language.
Definition Compiler.cpp:14
std::string inputFile
Definition Compiler.hpp:24
std::string outputFile
Definition Compiler.hpp:25