Skip to content

Commit

Permalink
gotta change the file name back to file path after done importing
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonak-Adipta-Kalita committed Apr 12, 2023
1 parent 951fa67 commit aae1f00
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions repl/repl.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"io"

"github.com/Jonak-Adipta-Kalita/JAK-Programming-Language/evaluator"
"github.com/Jonak-Adipta-Kalita/JAK-Programming-Language/file"
"github.com/Jonak-Adipta-Kalita/JAK-Programming-Language/lexer"
"github.com/Jonak-Adipta-Kalita/JAK-Programming-Language/object"
"github.com/Jonak-Adipta-Kalita/JAK-Programming-Language/parser"
Expand All @@ -14,6 +15,7 @@ import (
const PROMPT = ">>> "

func Start(in io.Reader, out io.Writer) {
file.SetFileName("STDIN")
scanner := bufio.NewScanner(in)
env := object.NewEnvironment()

Expand Down

0 comments on commit aae1f00

Please sign in to comment.