Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2acf0eb

Browse filesBrowse files
committed
Optimizing Compiler.java
1 parent 93b2a74 commit 2acf0eb
Copy full SHA for 2acf0eb

File tree

Expand file treeCollapse file tree

1 file changed

+7
-5
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-5
lines changed

‎Compiler.java

Copy file name to clipboardExpand all lines: Compiler.java
+7-5Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1-
import parser.*;
2-
import lexer.*;
3-
import node.*;
1+
import lexer.Lexer;
2+
import lexer.LexerException;
3+
import node.Start;
4+
import parser.Parser;
5+
import parser.ParserException;
6+
47
import java.io.*;
58

69
public class Compiler {
710

811
public static void main(String[] args) throws LexerException, IOException, ParserException {
912
String input = "";
10-
String zeile = "";
13+
String zeile;
1114
FileReader fr = new FileReader(args[0]);
1215
BufferedReader br = new BufferedReader(fr);
1316

@@ -33,5 +36,4 @@ private static void parse(String input) throws ParserException, LexerException,
3336
ASTPrinter printer = new ASTPrinter();
3437
start.apply(printer);
3538
}
36-
3739
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.