From 18868128e18d38b706e7df14e8e683e1a9739c17 Mon Sep 17 00:00:00 2001
From: Melodi <62381002+Melodi17@users.noreply.github.com>
Date: Tue, 17 Mar 2026 20:49:22 +1000
Subject: chore: Initial commit
---
Orchestrator/Orchestrator.csproj | 20 -----------
Orchestrator/Program.cs | 74 ----------------------------------------
2 files changed, 94 deletions(-)
delete mode 100644 Orchestrator/Orchestrator.csproj
delete mode 100644 Orchestrator/Program.cs
(limited to 'Orchestrator')
diff --git a/Orchestrator/Orchestrator.csproj b/Orchestrator/Orchestrator.csproj
deleted file mode 100644
index 4701bf4..0000000
--- a/Orchestrator/Orchestrator.csproj
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
- Exe
- net9.0
- enable
- enable
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Orchestrator/Program.cs b/Orchestrator/Program.cs
deleted file mode 100644
index c5d7538..0000000
--- a/Orchestrator/Program.cs
+++ /dev/null
@@ -1,74 +0,0 @@
-namespace Orchestrator;
-
-using CommandLine;
-using Q1.Assembler;
-using Q1.Compiler;
-using Q1.Emulator;
-
-class Program
-{
- static void Main(string[] args)
- {
- Parser p = new(with =>
- {
- with.CaseInsensitiveEnumValues = true;
- });
-
- p.ParseArguments(args).WithParsed(Main);
- }
-
- private static void Main(Options options)
- {
- string compiledFile = Path.ChangeExtension(options.InputFile, "asm");
- string assembledFile = Path.ChangeExtension(options.InputFile, "q1");
-
- if (!options.NoCompile)
- Q1.Compiler.Program.Main(
- new CompilerOptions
- {
- CommentCompilationMode = options.CommentCompilationMode,
- InputFile = options.InputFile,
- OutputFile = compiledFile,
- Verbose = options.Verbose
- });
-
- if (!options.NoAssemble)
- Q1.Assembler.Program.Main(
- new AssemblerOptions
- {
- InputFile = compiledFile,
- OutputFile = assembledFile
- });
-
- if (!options.NoEmulate)
- Q1.Emulator.Program.Main(
- new EmulatorOptions
- {
- InputFile = assembledFile,
- });
- }
-}
-
-class Options
-{
- [Option('i', "input", Required = true, HelpText = "Input file to process.")]
- public string InputFile { get; set; }
-
- [Option(
- 'c', "comment-compilation", Required = false,
- HelpText = "Comments to preserve in the compiled result")]
- public CommentCompilationMode CommentCompilationMode { get; set; } =
- CommentCompilationMode.UserDefined;
-
- [Option("no-compile", HelpText = "Skip compilation")]
- public bool NoCompile { get; set; } = false;
-
- [Option("no-assemble", HelpText = "Skip assembling")]
- public bool NoAssemble { get; set; } = false;
-
- [Option("no-emulate", HelpText = "Skip emulation")]
- public bool NoEmulate { get; set; } = false;
-
- [Option('v', "verbose", HelpText = "Enable verbose output")]
- public bool Verbose { get; set; } = false;
-}
\ No newline at end of file
--
cgit v1.3.1