소스 검색

dependency fix

kpmy 10 년 전
부모
커밋
d5c58e838a

+ 1 - 1
cp/constant/operation/operation.go

@@ -1,7 +1,7 @@
 package operation
 
 import (
-	"ypk/assert"
+	"github.com/kpmy/ypk/assert"
 )
 
 type Operation int

+ 1 - 1
cp/constant/statement/statement.go

@@ -1,8 +1,8 @@
 package statement
 
 import (
+	"github.com/kpmy/ypk/assert"
 	"strconv"
-	"ypk/assert"
 )
 
 type Statement int

+ 2 - 2
cp/module/module.go

@@ -5,10 +5,10 @@ import (
 	"fw/cp/constant/enter"
 	"fw/cp/node"
 	"fw/cp/object"
+	"github.com/kpmy/ypk/assert"
+	"github.com/kpmy/ypk/halt"
 	"reflect"
 	"strconv"
-	"ypk/assert"
-	"ypk/halt"
 )
 
 type Import struct {

+ 1 - 1
cp/node/class.go

@@ -8,7 +8,7 @@ import (
 	"fw/cp/constant/operation"
 	"fw/cp/constant/statement"
 	"fw/cp/object"
-	"ypk/assert"
+	"github.com/kpmy/ypk/assert"
 )
 
 const INIT constant.Class = -1

+ 1 - 1
cp/object/comp.go

@@ -5,7 +5,7 @@ import (
 )
 
 import (
-	"ypk/halt"
+	"github.com/kpmy/ypk/halt"
 )
 
 func (a *basic) Equals(x ComplexType) bool {

+ 1 - 1
cp/object/object.go

@@ -2,8 +2,8 @@ package object
 
 import (
 	"fw/cp"
+	"github.com/kpmy/ypk/assert"
 	"strconv"
-	"ypk/assert"
 )
 
 type Mode int

+ 1 - 1
cp/object/type.go

@@ -3,7 +3,7 @@ package object
 import (
 	"fmt"
 	"fw/cp"
-	"ypk/assert"
+	"github.com/kpmy/ypk/assert"
 )
 
 type Type int

+ 1 - 1
domain.go

@@ -2,7 +2,7 @@ package main
 
 import (
 	"fw/rt2/context"
-	"ypk/assert"
+	"github.com/kpmy/ypk/assert"
 )
 
 type stdDomain struct {

+ 1 - 1
fw.go

@@ -10,9 +10,9 @@ import (
 	_ "fw/rt2/rules2"
 	"fw/rt2/scope"
 	"fw/utils"
+	"github.com/kpmy/ypk/assert"
 	"log"
 	"time"
-	"ypk/assert"
 )
 
 var name string

+ 2 - 2
rt2/frame/std/sf.go

@@ -5,9 +5,9 @@ import (
 	"fw/rt2/context"
 	"fw/rt2/frame"
 	"fw/utils"
+	"github.com/kpmy/ypk/assert"
+	"github.com/kpmy/ypk/halt"
 	"reflect"
-	"ypk/assert"
-	"ypk/halt"
 )
 
 type FlowFrame interface {

+ 2 - 2
rt2/module/ml.go

@@ -8,10 +8,10 @@ import (
 	"fw/cp/object"
 	"fw/rt2/context"
 	"fw/xev"
+	"github.com/kpmy/ypk/assert"
+	"github.com/kpmy/ypk/halt"
 	"os"
 	"reflect"
-	"ypk/assert"
-	"ypk/halt"
 )
 
 type Loader func(*mod.Module)

+ 1 - 1
rt2/nodeframe/frame.go

@@ -9,8 +9,8 @@ import (
 	"fw/rt2/frame"
 	"fw/rt2/scope"
 	"fw/utils"
+	"github.com/kpmy/ypk/assert"
 	"reflect"
-	"ypk/assert"
 )
 
 var count int64

+ 1 - 1
rt2/rules2/table.go

@@ -14,9 +14,9 @@ import (
 	"fw/rt2/rules2/wrap/eval"
 	"fw/rt2/scope"
 	"fw/utils"
+	"github.com/kpmy/ypk/assert"
 	"log"
 	"time"
-	"ypk/assert"
 )
 
 type flow struct {

+ 1 - 1
rt2/rules2/wrap/data/items/items.go

@@ -1,7 +1,7 @@
 package items
 
 import (
-	"ypk/assert"
+	"github.com/kpmy/ypk/assert"
 )
 
 type ID struct {

+ 2 - 2
rt2/rules2/wrap/data/stack.go

@@ -14,10 +14,10 @@ import (
 	"fw/rt2/rules2/wrap/eval"
 	"fw/rt2/scope"
 	"fw/utils"
+	"github.com/kpmy/ypk/assert"
+	"github.com/kpmy/ypk/halt"
 	"reflect"
 	"runtime"
-	"ypk/assert"
-	"ypk/halt"
 )
 
 type area struct {

+ 2 - 2
rt2/rules2/wrap/data/val.go

@@ -10,12 +10,12 @@ import (
 	"fw/rt2/rules2/wrap/data/items"
 	"fw/rt2/scope"
 	"fw/utils"
+	"github.com/kpmy/ypk/assert"
+	"github.com/kpmy/ypk/halt"
 	"math"
 	"math/big"
 	"reflect"
 	"strings"
-	"ypk/assert"
-	"ypk/halt"
 )
 
 type data struct {

+ 3 - 3
rt2/rules2/wrap/eval/call.go

@@ -11,12 +11,12 @@ import (
 	"fw/rt2/frame"
 	rtm "fw/rt2/module"
 	"fw/rt2/scope"
+	"github.com/kpmy/ypk/assert"
+	"github.com/kpmy/ypk/halt"
+	"github.com/kpmy/ypk/mathe"
 	"log"
 	"math"
 	"reflect"
-	"ypk/assert"
-	"ypk/halt"
-	"ypk/mathe"
 )
 
 var sys map[string]func(IN, node.Node) OUT

+ 2 - 5
rt2/rules2/wrap/eval/do.go

@@ -8,12 +8,9 @@ import (
 	"fw/rt2/context"
 	"fw/rt2/frame"
 	"fw/rt2/scope"
+	"github.com/kpmy/ypk/assert"
+	"github.com/kpmy/ypk/halt"
 	"reflect"
-	"ypk/assert"
-)
-
-import (
-	"ypk/halt"
 )
 
 func BeginExpression(in IN) (out OUT) {

+ 2 - 2
rt2/rules2/wrap/eval/expr.go

@@ -9,10 +9,10 @@ import (
 	"fw/rt2/context"
 	rtm "fw/rt2/module"
 	"fw/rt2/scope"
+	"github.com/kpmy/ypk/assert"
+	"github.com/kpmy/ypk/halt"
 	"math/big"
 	"reflect"
-	"ypk/assert"
-	"ypk/halt"
 )
 
 func getConst(in IN) OUT {

+ 2 - 2
rt2/rules2/wrap/eval/stmt.go

@@ -15,11 +15,11 @@ import (
 	rtm "fw/rt2/module"
 	"fw/rt2/scope"
 	"fw/utils"
+	"github.com/kpmy/ypk/assert"
+	"github.com/kpmy/ypk/halt"
 	"log"
 	"math/big"
 	"reflect"
-	"ypk/assert"
-	"ypk/halt"
 )
 
 func makeTrap(f frame.Frame, err traps.TRAP) (out OUT) {

+ 1 - 1
rt2/rules2/wrap/eval/utils.go

@@ -4,7 +4,7 @@ import (
 	"fw/cp"
 	"fw/rt2"
 	"fw/rt2/context"
-	"ypk/assert"
+	"github.com/kpmy/ypk/assert"
 )
 
 func KeyOf(in IN, key interface{}) cp.ID {

+ 1 - 1
rt2/rules2/wrap/nodes.go

@@ -7,8 +7,8 @@ import (
 	"fw/rt2/decision"
 	"fw/rt2/frame"
 	"fw/rt2/rules2/wrap/eval"
+	"github.com/kpmy/ypk/halt"
 	"reflect"
-	"ypk/halt"
 )
 
 func init() {

+ 1 - 1
rt2/utils.go

@@ -7,7 +7,7 @@ import (
 	"fw/rt2/frame"
 	"fw/rt2/nodeframe"
 	"fw/rt2/scope"
-	"ypk/assert"
+	"github.com/kpmy/ypk/assert"
 )
 
 var utils nodeframe.NodeFrameUtils

+ 1 - 1
xev/cmds.go

@@ -3,9 +3,9 @@ package xev
 import (
 	"archive/zip"
 	"fw/cp/module"
+	"github.com/kpmy/ypk/assert"
 	"io"
 	"path/filepath"
-	"ypk/assert"
 )
 
 const CODE = "code"

+ 1 - 1
xev/converter.go

@@ -9,12 +9,12 @@ import (
 	"fw/cp/module"
 	"fw/cp/node"
 	"fw/cp/object"
+	"github.com/kpmy/ypk/assert"
 	"log"
 	"math/big"
 	"strconv"
 	"unicode/utf16"
 	"unicode/utf8"
-	"ypk/assert"
 )
 
 var ncache map[int]*Node