Skip to content

Commit

Permalink
Merge pull request #11 from axone-protocol/refactor/hard-fork
Browse files Browse the repository at this point in the history
  • Loading branch information
amimart authored Oct 6, 2024
2 parents a7e37dc + c5dcae9 commit be8584f
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions cmd/1pl/interpreter.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package main

import (
"fmt"
"github.com/ichiban/prolog"
"github.com/ichiban/prolog/engine"
"github.com/axone-protocol/prolog"
"github.com/axone-protocol/prolog/engine"
"io"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/1pl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import (

"golang.org/x/crypto/ssh/terminal"

"github.com/ichiban/prolog"
"github.com/ichiban/prolog/engine"
"github.com/axone-protocol/prolog"
"github.com/axone-protocol/prolog/engine"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions examples/call_go_from_prolog/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"net/http"

"github.com/ichiban/prolog"
"github.com/ichiban/prolog/engine"
"github.com/axone-protocol/prolog"
"github.com/axone-protocol/prolog/engine"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/dcg/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"flag"
"fmt"

"github.com/ichiban/prolog"
"github.com/axone-protocol/prolog"
)

// This example explains how to parse a simple English sentence with DCG (Definite Clause Grammar).
Expand Down
2 changes: 1 addition & 1 deletion examples/embed_prolog_into_go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"fmt"

"github.com/ichiban/prolog"
"github.com/axone-protocol/prolog"
)

// http://www.cse.unsw.edu.au/~billw/dictionaries/prolog/cut.html
Expand Down
4 changes: 2 additions & 2 deletions examples/hanoi/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"flag"
"fmt"

"github.com/ichiban/prolog"
"github.com/ichiban/prolog/engine"
"github.com/axone-protocol/prolog"
"github.com/axone-protocol/prolog/engine"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/initialization/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
_ "embed"
"os"

"github.com/ichiban/prolog"
"github.com/axone-protocol/prolog"
)

//go:embed hello.pl
Expand Down
4 changes: 2 additions & 2 deletions examples/sandboxing/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package main

import (
"fmt"
"github.com/ichiban/prolog/engine"
"github.com/axone-protocol/prolog/engine"

"github.com/ichiban/prolog"
"github.com/axone-protocol/prolog"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/ichiban/prolog
module github.com/axone-protocol/prolog

go 1.19

Expand Down
2 changes: 1 addition & 1 deletion interpreter.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"os"
"strings"

"github.com/ichiban/prolog/engine"
"github.com/axone-protocol/prolog/engine"
)

//go:embed bootstrap.pl
Expand Down
2 changes: 1 addition & 1 deletion interpreter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"testing"
"time"

"github.com/ichiban/prolog/engine"
"github.com/axone-protocol/prolog/engine"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion solutions.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"reflect"
"strings"

"github.com/ichiban/prolog/engine"
"github.com/axone-protocol/prolog/engine"
)

// ErrClosed indicates the Solutions are already closed and unable to perform the operation.
Expand Down
2 changes: 1 addition & 1 deletion solutions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"testing"

"github.com/ichiban/prolog/engine"
"github.com/axone-protocol/prolog/engine"

"github.com/stretchr/testify/assert"
)
Expand Down

0 comments on commit be8584f

Please sign in to comment.