Skip to content

Commit

Permalink
mon mon monke
Browse files Browse the repository at this point in the history
  • Loading branch information
ZizouHuweidi committed Dec 9, 2023
1 parent f874101 commit 028306b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/zizouhuweidi/go-terpreter
module github.com/zizouhuweidi/monke

go 1.20
2 changes: 1 addition & 1 deletion lexer/lexer.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package lexer

import (
"github.com/zizouhuweidi/go-terpreter/token"
"github.com/zizouhuweidi/monke/token"
)

type Lexer struct {
Expand Down
2 changes: 1 addition & 1 deletion lexer/lexer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package lexer
import (
"testing"

"github.com/zizouhuweidi/go-terpreter/token"
"github.com/zizouhuweidi/monke/token"
)

func TestNextToken(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"os/user"

"github.com/zizouhuweidi/go-terpreter/repl"
"github.com/zizouhuweidi/monke/repl"
)

func main() {
Expand Down
5 changes: 2 additions & 3 deletions repl/repl.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"fmt"
"io"

"github.com/zizouhuweidi/go-terpreter/lexer"
"github.com/zizouhuweidi/go-terpreter/token"
"github.com/zizouhuweidi/monke/lexer"
"github.com/zizouhuweidi/monke/token"
)

const PROMPT = ">> "
Expand All @@ -29,5 +29,4 @@ func Start(in io.Reader, out io.Writer) {
fmt.Printf("%+v\n", tok)
}
}

}

0 comments on commit 028306b

Please sign in to comment.