Phasor 3.1.1
Stack VM based Programming Language
Loading...
Searching...
No Matches
Assembler.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4#include <filesystem>
6namespace Phasor
7{
8
14{
15 public:
16 Assembler(int argc, char *argv[]);
17 int run();
18
19 private:
20 struct Args
21 {
22 std::filesystem::path inputFile;
23 std::filesystem::path outputFile;
24 std::filesystem::path program;
25 bool noLogo = false;
26 bool showHelp = false;
27 bool silent = false;
29
30 bool parseArguments(int argc, char *argv[]);
31 void showHelp();
32 bool assembleBinary();
33};
34
35} // namespace Phasor
struct Phasor::Assembler::Args m_args
Assembler(int argc, char *argv[])
Definition Assembler.cpp:15
bool parseArguments(int argc, char *argv[])
Definition Assembler.cpp:40
The Phasor Programming Language and Runtime.
Definition AST.hpp:11
std::filesystem::path program
Definition Assembler.hpp:24
std::filesystem::path inputFile
Definition Assembler.hpp:22
std::filesystem::path outputFile
Definition Assembler.hpp:23