Skip to content

Commit

Permalink
Move Interpreter to core
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamRagstad committed Aug 5, 2021
1 parent 30c8f09 commit aa4f88e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 2 additions & 0 deletions Bench.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import core.Interpreter;

public class Bench {
public static void main(String[] args) throws Exception {
Interpreter i = new Interpreter();
Expand Down
3 changes: 3 additions & 0 deletions Repl.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import java.util.Scanner;

import core.Interpreter;

import java.util.NoSuchElementException;

/**
Expand Down
2 changes: 2 additions & 0 deletions Runner.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import java.nio.file.Files;
import java.nio.file.Paths;

import core.Interpreter;

/**
* @author William Rågstad <william.ragstad@gmail.com>
* @version 0.1.0
Expand Down
5 changes: 2 additions & 3 deletions Interpreter.java → core/Interpreter.java
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
package core;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Scanner;
import java.util.function.Function;

import core.*;

/**
* @author Mikail Khan <mikail@mikail-khan.com> & William Rågstad
Expand Down

0 comments on commit aa4f88e

Please sign in to comment.