mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-13 03:42:35 -06:00
db030e0b14
This commit replaces the existing PEG generated parser with a parser
implemented by hand. The new parser is more efficient (avoiding old
problems with pathological input cases like {{{{{{{{{}}}}}}}} and
deeply-nested composites in general) and offers better opportunities
for improved error reporting (which has been improved already but
there is still room to grow.)
During the test process of implementing the new parser, we identified
a few issues that were present in the old parser. Those issues are
fixed by this commit.
Fixes #1251
Fixes #501
Fixes #2198
Fixes #2199
Fixes #2200
Fixes #2201
Fixes #2202
Fixes #2203
Co-authored-by: Torin Sandall <torinsandall@gmail.com>
Co-authored-by: Patrick East <east.patrick@gmail.com>
Signed-off-by: Torin Sandall <torinsandall@gmail.com>
Signed-off-by: Patrick East <east.patrick@gmail.com>
35 lines
1.7 KiB
Modula-2
35 lines
1.7 KiB
Modula-2
module github.com/open-policy-agent/opa
|
|
|
|
go 1.12
|
|
|
|
require (
|
|
github.com/OneOfOne/xxhash v1.2.7
|
|
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973 // indirect
|
|
github.com/fsnotify/fsnotify v1.4.7 // indirect
|
|
github.com/ghodss/yaml v0.0.0-20180820084758-c7ce16629ff4
|
|
github.com/gobwas/glob v0.2.3
|
|
github.com/gogo/protobuf v1.3.0 // indirect
|
|
github.com/golang/protobuf v0.0.0-20181025225059-d3de96c4c28e // indirect
|
|
github.com/gorilla/mux v0.0.0-20181024020800-521ea7b17d02
|
|
github.com/inconshreveable/mousetrap v1.0.0 // indirect
|
|
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
|
|
github.com/mattn/go-runewidth v0.0.0-20181025052659-b20a3daf6a39 // indirect
|
|
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
|
|
github.com/olekukonko/tablewriter v0.0.1
|
|
github.com/peterh/liner v0.0.0-20170211195444-bf27d3ba8e1d
|
|
github.com/pkg/errors v0.0.0-20181023235946-059132a15dd0
|
|
github.com/prometheus/client_golang v0.0.0-20181025174421-f30f42803563
|
|
github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910 // indirect
|
|
github.com/prometheus/common v0.0.0-20181020173914-7e9e6cabbd39 // indirect
|
|
github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d // indirect
|
|
github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a
|
|
github.com/sirupsen/logrus v1.4.1
|
|
github.com/spf13/cobra v0.0.0-20181021141114-fe5e611709b0
|
|
github.com/spf13/pflag v0.0.0-20181024212040-082b515c9490
|
|
github.com/yashtewari/glob-intersection v0.0.0-20180916065949-5c77d914dd0b
|
|
golang.org/x/lint v0.0.0-20181023182221-1baf3a9d7d67
|
|
golang.org/x/tools v0.0.0-20190920225731-5eefd052ad72
|
|
gopkg.in/fsnotify.v1 v1.4.7
|
|
gopkg.in/yaml.v2 v2.2.1
|
|
)
|