We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93b2a74 commit 2acf0ebCopy full SHA for 2acf0eb
Compiler.java
@@ -1,13 +1,16 @@
1
-import parser.*;
2
-import lexer.*;
3
-import node.*;
+import lexer.Lexer;
+import lexer.LexerException;
+import node.Start;
4
+import parser.Parser;
5
+import parser.ParserException;
6
+
7
import java.io.*;
8
9
public class Compiler {
10
11
public static void main(String[] args) throws LexerException, IOException, ParserException {
12
String input = "";
- String zeile = "";
13
+ String zeile;
14
FileReader fr = new FileReader(args[0]);
15
BufferedReader br = new BufferedReader(fr);
16
@@ -33,5 +36,4 @@ private static void parse(String input) throws ParserException, LexerException,
33
36
ASTPrinter printer = new ASTPrinter();
34
37
start.apply(printer);
35
38
}
-
39
0 commit comments