Replaced all occurences of github.com with git.tebibyte.media

pull/6/head
Sasha Koshka 4 months ago
parent 09170e390d
commit 81b47f7734
  1. 2
      arfc/main.go
  2. 2
      go.mod
  3. 4
      lexer/lexer.go
  4. 4
      lexer/lexer_test.go
  5. 2
      lexer/numbers.go
  6. 2
      lexer/text.go
  7. 2
      lexer/token.go
  8. 2
      main.go
  9. 4
      parser/parser.go

@ -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 {

@ -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

@ -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 {