Skip to content

Commit 8a73cbd

Browse files
committed
Rename all smacker to dougthor42
1 parent 8470bc7 commit 8a73cbd

File tree

113 files changed

+156
-155
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+156
-155
lines changed

BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
22
load("@gazelle//:def.bzl", "gazelle")
33

4-
# gazelle:prefix github.com/smacker/go-tree-sitter
4+
# gazelle:prefix github.com/dougthor42/go-tree-sitter
55
gazelle(name = "gazelle")
66

77
exports_files([
@@ -69,7 +69,7 @@ go_library(
6969
"wasm_store.h",
7070
],
7171
cgo = True,
72-
importpath = "github.com/smacker/go-tree-sitter",
72+
importpath = "github.com/dougthor42/go-tree-sitter",
7373
visibility = ["//visibility:public"],
7474
)
7575

MODULE.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ use_repo(
1313
go_deps,
1414
"com_github_stretchr_testify",
1515
)
16+

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# go tree-sitter
22

3-
[![Build Status](https://github.com/smacker/go-tree-sitter/workflows/Test/badge.svg?branch=master)](https://github.com/smacker/go-tree-sitter/actions/workflows/test.yml?query=branch%3Amaster)
4-
[![GoDoc](https://godoc.org/github.com/smacker/go-tree-sitter?status.svg)](https://godoc.org/github.com/smacker/go-tree-sitter)
3+
[![Build Status](https://github.com/dougthor42/go-tree-sitter/workflows/Test/badge.svg?branch=master)](https://github.com/dougthor42/go-tree-sitter/actions/workflows/test.yml?query=branch%3Amaster)
4+
[![GoDoc](https://godoc.org/github.com/dougthor42/go-tree-sitter?status.svg)](https://godoc.org/github.com/dougthor42/go-tree-sitter)
55

66
Golang bindings for [tree-sitter](https://github.com/tree-sitter/tree-sitter)
77

@@ -14,8 +14,8 @@ import (
1414
"context"
1515
"fmt"
1616

17-
sitter "github.com/smacker/go-tree-sitter"
18-
"github.com/smacker/go-tree-sitter/javascript"
17+
sitter "github.com/dougthor42/go-tree-sitter"
18+
"github.com/dougthor42/go-tree-sitter/javascript"
1919
)
2020

2121
parser := sitter.NewParser()
@@ -48,7 +48,7 @@ This repository provides grammars for many common languages out of the box.
4848

4949
But if you need support for any other language you can keep it inside your own project or publish it as a separate repository to share with the community.
5050

51-
See explanation on how to create a grammar for go-tree-sitter [here](https://github.com/smacker/go-tree-sitter/issues/57).
51+
See explanation on how to create a grammar for go-tree-sitter [here](https://github.com/dougthor42/go-tree-sitter/issues/57).
5252

5353
Known external grammars:
5454

_automation/treesitter_updater/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
33
go_library(
44
name = "treesitter_updater_lib",
55
srcs = ["main.go"],
6-
importpath = "github.com/smacker/go-tree-sitter/_automation/treesitter_updater",
6+
importpath = "github.com/dougthor42/go-tree-sitter/_automation/treesitter_updater",
77
visibility = ["//visibility:private"],
88
)
99

_examples/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
33
go_library(
44
name = "_examples_lib",
55
srcs = ["main.go"],
6-
importpath = "github.com/smacker/go-tree-sitter/_examples",
6+
importpath = "github.com/dougthor42/go-tree-sitter/_examples",
77
visibility = ["//visibility:private"],
88
deps = [
99
"//:go-tree-sitter",

_examples/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package main
33
import (
44
"fmt"
55

6-
sitter "github.com/smacker/go-tree-sitter"
7-
"github.com/smacker/go-tree-sitter/javascript"
6+
sitter "github.com/dougthor42/go-tree-sitter"
7+
"github.com/dougthor42/go-tree-sitter/javascript"
88
)
99

1010
func main() {

_examples/predicates/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
33
go_library(
44
name = "predicates_lib",
55
srcs = ["main.go"],
6-
importpath = "github.com/smacker/go-tree-sitter/_examples/predicates",
6+
importpath = "github.com/dougthor42/go-tree-sitter/_examples/predicates",
77
visibility = ["//visibility:private"],
88
deps = [
99
"//:go-tree-sitter",

_examples/predicates/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"context"
55
"fmt"
66

7-
sitter "github.com/smacker/go-tree-sitter"
8-
"github.com/smacker/go-tree-sitter/javascript"
7+
sitter "github.com/dougthor42/go-tree-sitter"
8+
"github.com/dougthor42/go-tree-sitter/javascript"
99
)
1010

1111
func main() {

bash/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ go_library(
1010
"//:common_libs",
1111
],
1212
cgo = True,
13-
importpath = "github.com/smacker/go-tree-sitter/bash",
13+
importpath = "github.com/dougthor42/go-tree-sitter/bash",
1414
visibility = ["//visibility:public"],
1515
deps = ["//:go-tree-sitter"],
1616
)

bash/binding.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import "C"
66
import (
77
"unsafe"
88

9-
sitter "github.com/smacker/go-tree-sitter"
9+
sitter "github.com/dougthor42/go-tree-sitter"
1010
)
1111

1212
func GetLanguage() *sitter.Language {

bash/binding_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"context"
55
"testing"
66

7-
sitter "github.com/smacker/go-tree-sitter"
8-
"github.com/smacker/go-tree-sitter/bash"
7+
sitter "github.com/dougthor42/go-tree-sitter"
8+
"github.com/dougthor42/go-tree-sitter/bash"
99
"github.com/stretchr/testify/assert"
1010
)
1111

bindings_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ func TestLeakParseInput(t *testing.T) {
597597
assert.Less(t, m.Alloc, uint64(1024*1024))
598598
}
599599

600-
// see https://github.com/smacker/go-tree-sitter/issues/75
600+
// see https://github.com/dougthor42/go-tree-sitter/issues/75
601601
func TestCursorKeepsQuery(t *testing.T) {
602602
source := bytes.Repeat([]byte("1 + 1"), 10000)
603603

c/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ go_library(
88
"parser.h",
99
],
1010
cgo = True,
11-
importpath = "github.com/smacker/go-tree-sitter/c",
11+
importpath = "github.com/dougthor42/go-tree-sitter/c",
1212
visibility = ["//visibility:public"],
1313
deps = ["//:go-tree-sitter"],
1414
)

c/binding.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import "C"
66
import (
77
"unsafe"
88

9-
sitter "github.com/smacker/go-tree-sitter"
9+
sitter "github.com/dougthor42/go-tree-sitter"
1010
)
1111

1212
func GetLanguage() *sitter.Language {

c/binding_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"context"
55
"testing"
66

7-
sitter "github.com/smacker/go-tree-sitter"
8-
"github.com/smacker/go-tree-sitter/c"
7+
sitter "github.com/dougthor42/go-tree-sitter"
8+
"github.com/dougthor42/go-tree-sitter/c"
99
"github.com/stretchr/testify/assert"
1010
)
1111

cpp/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ go_library(
1010
"//:common_libs",
1111
],
1212
cgo = True,
13-
importpath = "github.com/smacker/go-tree-sitter/cpp",
13+
importpath = "github.com/dougthor42/go-tree-sitter/cpp",
1414
visibility = ["//visibility:public"],
1515
deps = ["//:go-tree-sitter"],
1616
)

cpp/binding.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import "C"
66
import (
77
"unsafe"
88

9-
sitter "github.com/smacker/go-tree-sitter"
9+
sitter "github.com/dougthor42/go-tree-sitter"
1010
)
1111

1212
func GetLanguage() *sitter.Language {

cpp/binding_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"context"
55
"testing"
66

7-
sitter "github.com/smacker/go-tree-sitter"
8-
"github.com/smacker/go-tree-sitter/cpp"
7+
sitter "github.com/dougthor42/go-tree-sitter"
8+
"github.com/dougthor42/go-tree-sitter/cpp"
99
"github.com/stretchr/testify/assert"
1010
)
1111

csharp/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ go_library(
1111
],
1212
cgo = True,
1313
copts = ["-Wno-trigraphs"],
14-
importpath = "github.com/smacker/go-tree-sitter/csharp",
14+
importpath = "github.com/dougthor42/go-tree-sitter/csharp",
1515
visibility = ["//visibility:public"],
1616
deps = ["//:go-tree-sitter"],
1717
)

csharp/binding.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import "C"
77
import (
88
"unsafe"
99

10-
sitter "github.com/smacker/go-tree-sitter"
10+
sitter "github.com/dougthor42/go-tree-sitter"
1111
)
1212

1313
// GetLanguage returns a grammar for C# language.

csharp/binding_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"context"
55
"testing"
66

7-
sitter "github.com/smacker/go-tree-sitter"
8-
"github.com/smacker/go-tree-sitter/csharp"
7+
sitter "github.com/dougthor42/go-tree-sitter"
8+
"github.com/dougthor42/go-tree-sitter/csharp"
99
"github.com/stretchr/testify/assert"
1010
)
1111

css/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ go_library(
1010
"//:common_libs",
1111
],
1212
cgo = True,
13-
importpath = "github.com/smacker/go-tree-sitter/css",
13+
importpath = "github.com/dougthor42/go-tree-sitter/css",
1414
visibility = ["//visibility:public"],
1515
deps = ["//:go-tree-sitter"],
1616
)

css/binding.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import "C"
66
import (
77
"unsafe"
88

9-
sitter "github.com/smacker/go-tree-sitter"
9+
sitter "github.com/dougthor42/go-tree-sitter"
1010
)
1111

1212
func GetLanguage() *sitter.Language {

css/binding_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"context"
55
"testing"
66

7-
sitter "github.com/smacker/go-tree-sitter"
8-
"github.com/smacker/go-tree-sitter/css"
7+
sitter "github.com/dougthor42/go-tree-sitter"
8+
"github.com/dougthor42/go-tree-sitter/css"
99
"github.com/stretchr/testify/assert"
1010
)
1111

cue/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ go_library(
1010
"//:common_libs",
1111
],
1212
cgo = True,
13-
importpath = "github.com/smacker/go-tree-sitter/cue",
13+
importpath = "github.com/dougthor42/go-tree-sitter/cue",
1414
visibility = ["//visibility:public"],
1515
deps = ["//:go-tree-sitter"],
1616
)

cue/binding.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import "C"
66
import (
77
"unsafe"
88

9-
sitter "github.com/smacker/go-tree-sitter"
9+
sitter "github.com/dougthor42/go-tree-sitter"
1010
)
1111

1212
func GetLanguage() *sitter.Language {

cue/binding_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"context"
55
"testing"
66

7-
sitter "github.com/smacker/go-tree-sitter"
8-
"github.com/smacker/go-tree-sitter/cue"
7+
sitter "github.com/dougthor42/go-tree-sitter"
8+
"github.com/dougthor42/go-tree-sitter/cue"
99
"github.com/stretchr/testify/assert"
1010
)
1111

dockerfile/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ go_library(
1010
"//:common_libs",
1111
],
1212
cgo = True,
13-
importpath = "github.com/smacker/go-tree-sitter/dockerfile",
13+
importpath = "github.com/dougthor42/go-tree-sitter/dockerfile",
1414
visibility = ["//visibility:public"],
1515
deps = ["//:go-tree-sitter"],
1616
)

dockerfile/binding.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import "C"
66
import (
77
"unsafe"
88

9-
sitter "github.com/smacker/go-tree-sitter"
9+
sitter "github.com/dougthor42/go-tree-sitter"
1010
)
1111

1212
func GetLanguage() *sitter.Language {

dockerfile/binding_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"context"
55
"testing"
66

7-
sitter "github.com/smacker/go-tree-sitter"
8-
"github.com/smacker/go-tree-sitter/dockerfile"
7+
sitter "github.com/dougthor42/go-tree-sitter"
8+
"github.com/dougthor42/go-tree-sitter/dockerfile"
99
"github.com/stretchr/testify/assert"
1010
)
1111

elixir/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ go_library(
1010
"//:common_libs",
1111
],
1212
cgo = True,
13-
importpath = "github.com/smacker/go-tree-sitter/elixir",
13+
importpath = "github.com/dougthor42/go-tree-sitter/elixir",
1414
visibility = ["//visibility:public"],
1515
deps = ["//:go-tree-sitter"],
1616
)

elixir/binding.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import "C"
66
import (
77
"unsafe"
88

9-
sitter "github.com/smacker/go-tree-sitter"
9+
sitter "github.com/dougthor42/go-tree-sitter"
1010
)
1111

1212
func GetLanguage() *sitter.Language {

elixir/binding_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"context"
55
"testing"
66

7-
sitter "github.com/smacker/go-tree-sitter"
8-
"github.com/smacker/go-tree-sitter/elixir"
7+
sitter "github.com/dougthor42/go-tree-sitter"
8+
"github.com/dougthor42/go-tree-sitter/elixir"
99
"github.com/stretchr/testify/assert"
1010
)
1111

elm/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ go_library(
1111
],
1212
cgo = True,
1313
cxxopts = ["-std=gnu++11"],
14-
importpath = "github.com/smacker/go-tree-sitter/elm",
14+
importpath = "github.com/dougthor42/go-tree-sitter/elm",
1515
visibility = ["//visibility:public"],
1616
deps = ["//:go-tree-sitter"],
1717
)

elm/binding.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import "C"
77
import (
88
"unsafe"
99

10-
sitter "github.com/smacker/go-tree-sitter"
10+
sitter "github.com/dougthor42/go-tree-sitter"
1111
)
1212

1313
func GetLanguage() *sitter.Language {

elm/binding_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"context"
55
"testing"
66

7-
sitter "github.com/smacker/go-tree-sitter"
8-
"github.com/smacker/go-tree-sitter/elm"
7+
sitter "github.com/dougthor42/go-tree-sitter"
8+
"github.com/dougthor42/go-tree-sitter/elm"
99
"github.com/stretchr/testify/assert"
1010
)
1111

example_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"log"
99
"strings"
1010

11-
sitter "github.com/smacker/go-tree-sitter"
12-
"github.com/smacker/go-tree-sitter/golang"
11+
sitter "github.com/dougthor42/go-tree-sitter"
12+
"github.com/dougthor42/go-tree-sitter/golang"
1313
)
1414

1515
// ExampleCursorTraversal recursively prints the tree using TreeCursor.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/smacker/go-tree-sitter
1+
module github.com/dougthor42/go-tree-sitter
22

33
go 1.20
44

golang/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ go_library(
88
"parser.h",
99
],
1010
cgo = True,
11-
importpath = "github.com/smacker/go-tree-sitter/golang",
11+
importpath = "github.com/dougthor42/go-tree-sitter/golang",
1212
visibility = ["//visibility:public"],
1313
deps = ["//:go-tree-sitter"],
1414
)

0 commit comments

Comments
 (0)