Skip to content

Commit

Permalink
Replace old imports
Browse files Browse the repository at this point in the history
  • Loading branch information
hugolgst committed Sep 27, 2020
1 parent a2ceec8 commit 5d5c7d3
Show file tree
Hide file tree
Showing 16 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions generator/assignment.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package generator
import (
"fmt"

"github.com/hugolgst/paco/log"
"github.com/hugolgst/paco/parser"
"github.com/pacolang/paco/log"
"github.com/pacolang/paco/parser"
)

// generateAssignment translates a variable assignment to C
Expand Down
4 changes: 2 additions & 2 deletions generator/call.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package generator

import (
"fmt"
"github.com/hugolgst/paco/log"
"github.com/hugolgst/paco/parser"
"github.com/pacolang/paco/log"
"github.com/pacolang/paco/parser"
"strings"
)

Expand Down
2 changes: 1 addition & 1 deletion generator/condition.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package generator

import (
"fmt"
"github.com/hugolgst/paco/parser"
"github.com/pacolang/paco/parser"
)

// generateCondition generates the differents booleans and put them together with the body
Expand Down
2 changes: 1 addition & 1 deletion generator/function.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package generator

import (
"fmt"
"github.com/hugolgst/paco/parser"
"github.com/pacolang/paco/parser"
"strings"
)

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

"github.com/hugolgst/paco/parser"
"github.com/pacolang/paco/parser"
)

// The Generator will take the parsers's nodes to generate the C code with it
Expand Down
2 changes: 1 addition & 1 deletion generator/generators.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package generator

import (
"github.com/hugolgst/paco/parser"
"github.com/pacolang/paco/parser"
)

// generateInstruction returns the translated string for the given node
Expand Down
2 changes: 1 addition & 1 deletion generator/translations.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package generator

import "github.com/hugolgst/paco/parser"
import "github.com/pacolang/paco/parser"

var (
cTypes = map[parser.NodeType]string{
Expand Down
4 changes: 2 additions & 2 deletions parser/conditions.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package parser

import (
"github.com/hugolgst/paco/lexer"
"github.com/hugolgst/paco/log"
"github.com/pacolang/paco/lexer"
"github.com/pacolang/paco/log"
)

// parseCondition parses a condition and its body and returns the node
Expand Down
4 changes: 2 additions & 2 deletions parser/function.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package parser

import (
"github.com/hugolgst/paco/lexer"
"github.com/hugolgst/paco/log"
"github.com/pacolang/paco/lexer"
"github.com/pacolang/paco/log"
"strings"
)

Expand Down
4 changes: 2 additions & 2 deletions parser/module.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package parser

import (
"github.com/hugolgst/paco/lexer"
"github.com/hugolgst/paco/log"
"github.com/pacolang/paco/lexer"
"github.com/pacolang/paco/log"
"strings"
)

Expand Down
2 changes: 1 addition & 1 deletion parser/modules.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package parser

import (
"github.com/hugolgst/paco/log"
"github.com/pacolang/paco/log"
"io/ioutil"
"os"
"path/filepath"
Expand Down
2 changes: 1 addition & 1 deletion parser/node.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package parser

import "github.com/hugolgst/paco/lexer"
import "github.com/pacolang/paco/lexer"

type NodeType int

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

import (
"github.com/hugolgst/paco/lexer"
"github.com/pacolang/paco/lexer"
)

// A Parser receives the items from the lexer, parses them to get nodes and push them
Expand Down
4 changes: 2 additions & 2 deletions parser/parsers.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package parser

import (
"github.com/hugolgst/paco/log"
"github.com/pacolang/paco/log"
"strings"

"github.com/hugolgst/paco/lexer"
"github.com/pacolang/paco/lexer"
)

// parseItem returns the parsed node from the given Item
Expand Down
2 changes: 1 addition & 1 deletion parser/variable.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package parser

import (
"github.com/hugolgst/paco/lexer"
"github.com/pacolang/paco/lexer"
)

var variables = map[string]NodeType{}
Expand Down
2 changes: 1 addition & 1 deletion runtime/runtime.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package runtime

import (
"github.com/hugolgst/paco/generator"
"github.com/pacolang/paco/generator"
"io"
"log"
"os"
Expand Down

0 comments on commit 5d5c7d3

Please sign in to comment.