Skip to content

Commit 05d83a7

Browse files
authored
Update Program.cs
1 parent c6113bd commit 05d83a7

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

Onion/SourceCode/ownLang/Program.cs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
using System.Collections;
1111
using System.Diagnostics;
1212
using System.Drawing;
13-
//using Microsoft.JScript;
1413
using System.CodeDom.Compiler;
1514

1615
namespace OwnLang.ast
@@ -27,18 +26,6 @@ public static void execute(string file)
2726
{
2827
string input = File.ReadAllText(file);
2928
List<Token> tokens = new Lexer(input).tokenize();
30-
//foreach (Token tok in tokens)
31-
//{
32-
// Console.WriteLine(tok);
33-
//}
34-
Statement program = new Parser(tokens).parse();
35-
program.execute();
36-
Console.WriteLine();
37-
}
38-
39-
public static void execute_onionos(string file)
40-
{
41-
List<Token> tokens = new Lexer(file).tokenize();
4229
Statement program = new Parser(tokens).parse();
4330
program.execute();
4431
Console.WriteLine();

0 commit comments

Comments
 (0)