Replaced all occurences of github.com with git.tebibyte.media
This commit is contained in:
parent
09170e390d
commit
81b47f7734
@ -2,7 +2,7 @@ package arfc
|
||||
|
||||
import "os"
|
||||
import "fmt"
|
||||
import "github.com/sashakoshka/arf"
|
||||
import "git.tebibyte.media/sashakoshka/arf"
|
||||
|
||||
func main () {
|
||||
if len(os.Args) != 2 {
|
||||
|
2
go.mod
2
go.mod
@ -1,3 +1,3 @@
|
||||
module github.com/sashakoshka/arf
|
||||
module git.tebibyte.media/sashakoshka/arf
|
||||
|
||||
go 1.18
|
||||
|
@ -1,8 +1,8 @@
|
||||
package lexer
|
||||
|
||||
import "io"
|
||||
import "github.com/sashakoshka/arf/file"
|
||||
import "github.com/sashakoshka/arf/types"
|
||||
import "git.tebibyte.media/sashakoshka/arf/file"
|
||||
import "git.tebibyte.media/sashakoshka/arf/types"
|
||||
|
||||
// LexingOperation holds information about an ongoing lexing operataion.
|
||||
type LexingOperation struct {
|
||||
|
@ -1,8 +1,8 @@
|
||||
package lexer
|
||||
|
||||
import "testing"
|
||||
import "github.com/sashakoshka/arf/file"
|
||||
import "github.com/sashakoshka/arf/types"
|
||||
import "git.tebibyte.media/sashakoshka/arf/file"
|
||||
import "git.tebibyte.media/sashakoshka/arf/types"
|
||||
|
||||
func checkTokenSlice (filePath string, correct []Token, test *testing.T) {
|
||||
file, err := file.Open(filePath)
|
||||
|
@ -1,6 +1,6 @@
|
||||
package lexer
|
||||
|
||||
import "github.com/sashakoshka/arf/file"
|
||||
import "git.tebibyte.media/sashakoshka/arf/file"
|
||||
|
||||
// tokenizeSymbolBeginning lexes a token that starts with a number.
|
||||
func (lexer *LexingOperation) tokenizeNumberBeginning (negative bool) (err error) {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package lexer
|
||||
|
||||
import "strconv"
|
||||
import "github.com/sashakoshka/arf/file"
|
||||
import "git.tebibyte.media/sashakoshka/arf/file"
|
||||
|
||||
// tokenizeString tokenizes a string or rune literal.
|
||||
func (lexer *LexingOperation) tokenizeString (isRuneLiteral bool) (err error) {
|
||||
|
@ -1,7 +1,7 @@
|
||||
package lexer
|
||||
|
||||
import "fmt"
|
||||
import "github.com/sashakoshka/arf/file"
|
||||
import "git.tebibyte.media/sashakoshka/arf/file"
|
||||
|
||||
// TokenKind is an enum represzenting what role a token has.
|
||||
type TokenKind int
|
||||
|
2
main.go
2
main.go
@ -1,7 +1,7 @@
|
||||
package arf
|
||||
|
||||
import "io"
|
||||
import "github.com/sashakoshka/arf/parser"
|
||||
import "git.tebibyte.media/sashakoshka/arf/parser"
|
||||
|
||||
func CompileModule (modulePath string, output io.Writer) (err error) {
|
||||
_, err = parser.Parse(modulePath)
|
||||
|
@ -2,8 +2,8 @@ package parser
|
||||
|
||||
import "os"
|
||||
import "path/filepath"
|
||||
import "github.com/sashakoshka/arf/file"
|
||||
import "github.com/sashakoshka/arf/lexer"
|
||||
import "git.tebibyte.media/sashakoshka/arf/file"
|
||||
import "git.tebibyte.media/sashakoshka/arf/lexer"
|
||||
|
||||
// ParsingOperation holds information about an ongoing parsing operation.
|
||||
type ParsingOperation struct {
|
||||
|
Reference in New Issue
Block a user