diff options
Diffstat (limited to 'Compiler.Testing/TestingHelpers.cs')
| -rw-r--r-- | Compiler.Testing/TestingHelpers.cs | 14 |
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 |
