summaryrefslogtreecommitdiff
path: root/Compiler.Testing/TestingHelpers.cs
diff options
context:
space:
mode:
authorMelodi <62381002+Melodi17@users.noreply.github.com>2026-03-17 20:49:22 +1000
committerMelodi <62381002+Melodi17@users.noreply.github.com>2026-03-17 20:49:22 +1000
commit18868128e18d38b706e7df14e8e683e1a9739c17 (patch)
tree6f0e0e5eee646f10cbad9c0c89c24d330bc58cc6 /Compiler.Testing/TestingHelpers.cs
parentd87ab8af4c86a3fc6ee237444e372d87e536e3ef (diff)
chore: Initial commit
Diffstat (limited to 'Compiler.Testing/TestingHelpers.cs')
-rw-r--r--Compiler.Testing/TestingHelpers.cs14
1 files changed, 0 insertions, 14 deletions
diff --git a/Compiler.Testing/TestingHelpers.cs b/Compiler.Testing/TestingHelpers.cs
deleted file mode 100644
index a3d85fe..0000000
--- a/Compiler.Testing/TestingHelpers.cs
+++ /dev/null
@@ -1,14 +0,0 @@
-namespace Compiler.Testing;
-
-using Antlr4.Runtime;
-using Q1.Compiler;
-
-public class TestingHelpers
-{
- public static string CompileString(string input)
- {
- CompilerOptions options = new() { CommentCompilationMode = CommentCompilationMode.None };
- IEnumerable<string> lines = Program.Compile(options, new AntlrInputStream(input));
- return Program.Optimize(lines);
- }
-} \ No newline at end of file