File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change 1010using System . Collections ;
1111using System . Diagnostics ;
1212using System . Drawing ;
13- //using Microsoft.JScript;
1413using System . CodeDom . Compiler ;
1514
1615namespace 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 ( ) ;
You can’t perform that action at this time.
0 commit comments