Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Migrate from ansi-wl-pprint to prettyprinter. #112

Merged
merged 1 commit into from
Nov 6, 2024
Merged
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
6 changes: 4 additions & 2 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ haskell_library(
":parser",
":tree-parser",
"//third_party/haskell:aeson",
"//third_party/haskell:ansi-wl-pprint",
"//third_party/haskell:array",
"//third_party/haskell:base",
"//third_party/haskell:bytestring",
Expand All @@ -191,6 +190,8 @@ haskell_library(
"//third_party/haskell:filepath",
"//third_party/haskell:monad-parallel",
"//third_party/haskell:mtl",
"//third_party/haskell:prettyprinter",
"//third_party/haskell:prettyprinter-ansi-terminal",
"//third_party/haskell:split",
"//third_party/haskell:text",
"//third_party/haskell:transformers-compat",
Expand All @@ -203,11 +204,12 @@ hspec_test(
deps = [
":hs-cimple",
"//third_party/haskell:QuickCheck",
"//third_party/haskell:ansi-wl-pprint",
"//third_party/haskell:base",
"//third_party/haskell:data-fix",
"//third_party/haskell:extra",
"//third_party/haskell:hspec",
"//third_party/haskell:prettyprinter",
"//third_party/haskell:prettyprinter-ansi-terminal",
"//third_party/haskell:text",
"//third_party/haskell:transformers-compat",
],
Expand Down
7 changes: 5 additions & 2 deletions cimple.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ library
Language.Cimple.Lexer
Language.Cimple.Parser
Language.Cimple.ParseResult
Language.Cimple.PrettyColor
Language.Cimple.SemCheck.Includes
Language.Cimple.Tokens
Language.Cimple.TranslationUnit
Language.Cimple.TreeParser

build-depends:
aeson
, ansi-wl-pprint
, array
, base <5
, bytestring
Expand All @@ -59,6 +59,8 @@ library
, filepath
, monad-parallel
, mtl
, prettyprinter
, prettyprinter-ansi-terminal
, split
, text
, transformers-compat
Expand Down Expand Up @@ -121,11 +123,12 @@ test-suite testsuite
build-tool-depends: hspec-discover:hspec-discover
build-depends:
QuickCheck
, ansi-wl-pprint
, base <5
, cimple
, data-fix
, extra
, hspec
, prettyprinter
, prettyprinter-ansi-terminal
, text
, transformers-compat
Loading
Loading