summaryrefslogtreecommitdiff
path: root/src/Main.java
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2024-06-04 14:11:32 +0200
committerGitHub <noreply@github.com>2024-06-04 14:11:32 +0200
commit1c8761901b26c0be4d61f3aed5ec0495a558a0e7 (patch)
treebe3177edeaf93cbd57e49f7067418bc8ef0dfdd3 /src/Main.java
parent663b99a971f8dd7f7776fe3647f24ce728b3d434 (diff)
Refactor using package `com.clp.project` (#1)
Co-authored-by: geno <gabriele.genovese2@studio.unibo.it>
Diffstat (limited to 'src/Main.java')
-rw-r--r--src/Main.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Main.java b/src/Main.java
index 02bc8f6..e773b07 100644
--- a/src/Main.java
+++ b/src/Main.java
@@ -1,3 +1,5 @@
+package com.clp.project;
+
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
@@ -9,11 +11,14 @@ import org.antlr.v4.gui.TreeViewer;
import org.antlr.v4.runtime.*;
import org.antlr.v4.runtime.tree.*;
+import com.clp.project.parser.*;
+
public class Main {
public static void main(String[] args) {
for (File file : Objects.requireNonNull(new File("./progs/").listFiles())) {
try {
String fileStr = file.getPath();
+ // FIXME: use the fileStr above
fileStr = "./progs/test.py";
System.out.println(fileStr);