Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/onsi/ginkgo/v2 v2.33.1
github.com/onsi/gomega v1.44.0
github.com/spf13/cobra v1.10.2
go.yaml.in/yaml/v3 v3.0.5
go.yaml.in/yaml/v4 v4.0.0
)

require (
Expand All @@ -20,6 +20,7 @@ require (
github.com/google/pprof v0.0.0-20260402051712-545e8a4df936 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/spf13/pflag v1.0.9 // indirect
go.yaml.in/yaml/v3 v3.0.5 // indirect
golang.org/x/mod v0.36.0 // indirect
golang.org/x/net v0.56.0 // indirect
golang.org/x/sync v0.21.0 // indirect
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ github.com/tidwall/sjson v1.2.5/go.mod h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6
go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw=
go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg=
go.yaml.in/yaml/v4 v4.0.0 h1:/LG1pNO84Z4l603j/xMn69CcS5OYhMQ/f7l2LoQUGuw=
go.yaml.in/yaml/v4 v4.0.0/go.mod h1:aZqd9kCMsGL7AuUv/m/PvWLdg5sjJsZ4oHDEnfPPfY0=
golang.org/x/mod v0.36.0 h1:JJjpVx6myfUsUdAzZuOSTTmRE0PfZeNWzzvKrP7amb4=
golang.org/x/mod v0.36.0/go.mod h1:moc6ELqsWcOw5Ef3xVprK5ul/MvtVvkIXLziUOICjUQ=
golang.org/x/net v0.56.0 h1:Rw8j/hFzGvJUZwNBXnAtf5sVDVt+65SK2C7IxCxZt5o=
Expand Down
16 changes: 8 additions & 8 deletions ide/vscode/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ide/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"devDependencies": {
"@eslint/js": "^10.0.0",
"@types/mocha": "^10.0.7",
"@types/node": "^24.0.0",
"@types/node": "^26.0.0",
"@types/vscode": "^1.120.0",
"@vscode/test-cli": "^0.0.15",
"@vscode/test-electron": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion internal/parsergen/backend/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"slices"

"go.yaml.in/yaml/v3"
"go.yaml.in/yaml/v4"

"github.com/backbone81/golr/internal/utils"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/parsergen/backend/reduce_action_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"slices"
"strings"

"go.yaml.in/yaml/v3"
"go.yaml.in/yaml/v4"
)

// ReduceActionSet is an ordered set of ReduceAction elements.
Expand Down
2 changes: 1 addition & 1 deletion internal/parsergen/backend/transition_action.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"slices"

"go.yaml.in/yaml/v3"
"go.yaml.in/yaml/v4"

"github.com/backbone81/golr/internal/parsergen/frontend"
"github.com/backbone81/golr/internal/utils"
Expand Down
2 changes: 1 addition & 1 deletion internal/parsergen/backend/yaml/yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"runtime/trace"
"strings"

"go.yaml.in/yaml/v3"
"go.yaml.in/yaml/v4"

"github.com/backbone81/golr/internal/parsergen/backend"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/parsergen/frontend/associativity.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"fmt"

"go.yaml.in/yaml/v3"
"go.yaml.in/yaml/v4"
)

// Associativity describes how terminals associate with each other.
Expand Down
2 changes: 1 addition & 1 deletion internal/parsergen/frontend/symbol_ref.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"slices"

"go.yaml.in/yaml/v3"
"go.yaml.in/yaml/v4"

"github.com/backbone81/golr/internal/utils"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/parsergen/frontend/yaml/yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"runtime/trace"
"strings"

"go.yaml.in/yaml/v3"
"go.yaml.in/yaml/v4"

"github.com/backbone81/golr/internal/parsergen/frontend"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/scannergen/backend/yaml/yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"runtime/trace"
"strings"

"go.yaml.in/yaml/v3"
"go.yaml.in/yaml/v4"

"github.com/backbone81/golr/internal/scannergen/backend"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/scannergen/frontend/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"errors"
"fmt"

"go.yaml.in/yaml/v3"
"go.yaml.in/yaml/v4"
)

// Kind is a type describing the kind of regular expression node.
Expand Down
2 changes: 1 addition & 1 deletion internal/scannergen/frontend/yaml/yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"runtime/trace"
"strings"

"go.yaml.in/yaml/v3"
"go.yaml.in/yaml/v4"

"github.com/backbone81/golr/internal/scannergen/frontend"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/utils/bitset.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"strings"
"unsafe"

"go.yaml.in/yaml/v3"
"go.yaml.in/yaml/v4"
)

// Bitset provides efficient storage for interacting with a set of bits. Each bit is referenced by its index. The bitset
Expand Down
2 changes: 1 addition & 1 deletion internal/utils/ordered_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"unsafe"

"go.yaml.in/yaml/v3"
"go.yaml.in/yaml/v4"
)

// OrderedSet provides an implementation for a set of values. Values are guaranteed to be only present once within the
Expand Down
Loading