summaryrefslogtreecommitdiff
path: root/src/ParseAll.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/ParseAll.java')
-rw-r--r--src/ParseAll.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ParseAll.java b/src/ParseAll.java
index 0d6f0d1..37de220 100644
--- a/src/ParseAll.java
+++ b/src/ParseAll.java
@@ -1,3 +1,5 @@
+package com.clp.project;
+
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
@@ -8,8 +10,11 @@ import javax.swing.*;
import org.antlr.v4.gui.TreeViewer;
import org.antlr.v4.runtime.*;
+import com.clp.project.parser.*;
+
public class ParseAll {
public static void main(String[] args) {
+ new File("./trees/").mkdirs();
for (File file : Objects.requireNonNull(new File("./progs").listFiles())) {
String fileStr = file.getPath();
// fileStr = "./progs/wrong.py";