Phasor 3.1.1
Stack VM based Programming Language
Loading...
Searching...
No Matches
Disassembler.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 Disassembler(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 decompileBinary();
33};
34
35} // namespace Phasor
struct Phasor::Disassembler::Args m_args
bool parseArguments(int argc, char *argv[])
Disassembler(int argc, char *argv[])
The Phasor Programming Language and Runtime.
Definition AST.hpp:11
std::filesystem::path inputFile
std::filesystem::path outputFile
std::filesystem::path program