165 lines
3.3 KiB
Plaintext
165 lines
3.3 KiB
Plaintext
cabal-version: 3.0
|
|
name: gyehoek
|
|
version: 0.1.0.0
|
|
license: BSD-3-Clause
|
|
license-file: LICENSE
|
|
author: Madeleine Sydney Ślaga
|
|
maintainer: msyds@deertopia.net
|
|
|
|
-- copyright:
|
|
category: Language
|
|
build-type: Simple
|
|
|
|
-- extra-doc-files: CHANGELOG.md
|
|
-- extra-source-files:
|
|
|
|
common ghcstuffs-dev
|
|
ghc-options:
|
|
-Wno-unused-matches -Wno-missing-signatures -Wno-typed-holes
|
|
|
|
common ghcstuffs
|
|
ghc-options:
|
|
-Wall -fdefer-type-errors -fno-show-valid-hole-fits
|
|
-fdefer-out-of-scope-variables -threaded
|
|
|
|
default-extensions:
|
|
BlockArguments
|
|
DeriveGeneric
|
|
DerivingVia
|
|
DuplicateRecordFields
|
|
NoFieldSelectors
|
|
OrPatterns
|
|
OverloadedLabels
|
|
OverloadedRecordDot
|
|
OverloadedStrings
|
|
PartialTypeSignatures
|
|
PatternSynonyms
|
|
QuasiQuotes
|
|
|
|
executable gyehoek
|
|
import: ghcstuffs, ghcstuffs-dev
|
|
main-is: Main.hs
|
|
build-depends:
|
|
, base ^>=4.21.2.0
|
|
, gyehoek
|
|
|
|
hs-source-dirs: app
|
|
default-language: GHC2024
|
|
|
|
library
|
|
import: ghcstuffs, ghcstuffs-dev
|
|
ghc-options: -fplugin=Effectful.Plugin
|
|
|
|
-- cabal-fmt: expand src
|
|
exposed-modules:
|
|
Gyehoek.CPS.Close
|
|
Gyehoek.CPS.Convert
|
|
Gyehoek.CPS.Eval
|
|
Gyehoek.CPS.Lower
|
|
Gyehoek.CPS.Stackify
|
|
Gyehoek.CPS.Syntax
|
|
Gyehoek.Driver
|
|
Gyehoek.GenSym
|
|
Gyehoek.Jalmot
|
|
Gyehoek.Language
|
|
Gyehoek.Options
|
|
Gyehoek.Prelude
|
|
Gyehoek.Scheme.Syntax
|
|
Gyehoek.Sexp
|
|
Gyehoek.Sexp.Grammar
|
|
Gyehoek.Sexp.Grammar.Base
|
|
Gyehoek.Sexp.Print
|
|
Gyehoek.Sexp.Read
|
|
Gyehoek.Sexp.Syntax
|
|
Gyehoek.Stack.Syntax
|
|
Gyehoek.Stack.VM
|
|
Gyehoek.Wasm
|
|
|
|
build-depends:
|
|
, base ^>=4.21.2.0
|
|
, binary
|
|
, bytestring
|
|
, comonad
|
|
, containers
|
|
, data-fix
|
|
, deepseq
|
|
, deriving-compat
|
|
, effectful
|
|
, effectful-core
|
|
, effectful-plugin
|
|
, filepath
|
|
, free
|
|
, generic-lens
|
|
, hashable
|
|
, invertible-grammar
|
|
, lens
|
|
, megaparsec
|
|
, mtl
|
|
, optparse-applicative
|
|
, ordered-containers
|
|
, pretty-simple
|
|
, prettyprinter
|
|
, prettyprinter-ansi-terminal
|
|
, process
|
|
, recursion-schemes
|
|
, scientific
|
|
, sexp-grammar
|
|
, string-interpolate
|
|
, template-haskell
|
|
, text
|
|
, text-short
|
|
, typed-process
|
|
, unordered-containers
|
|
, vector
|
|
|
|
hs-source-dirs: src
|
|
default-language: GHC2024
|
|
|
|
test-suite test
|
|
import: ghcstuffs, ghcstuffs-dev
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: test
|
|
main-is: Main.hs
|
|
build-tool-depends: tasty-discover:tasty-discover
|
|
|
|
-- cabal-fmt: expand test -Main
|
|
other-modules:
|
|
Gyehoek.Test.CPS.Eval
|
|
Gyehoek.Test.CPS.Stackify
|
|
Gyehoek.Test.CPS.Syntax
|
|
Gyehoek.Test.Golden
|
|
Gyehoek.Test.Scheme.Syntax
|
|
Gyehoek.Test.Sexp
|
|
Gyehoek.Test.Sexp.Print
|
|
Gyehoek.Test.Stack.VM
|
|
Root
|
|
|
|
build-depends:
|
|
, base
|
|
, deepseq
|
|
, directory
|
|
, effectful
|
|
, filepath
|
|
, generic-lens
|
|
, gyehoek
|
|
, lens
|
|
, pretty-simple
|
|
, process-extras
|
|
, sexp-grammar
|
|
, tasty
|
|
, tasty-expected-failure
|
|
, tasty-hunit
|
|
, tasty-silver
|
|
, text
|
|
|
|
default-language: GHC2024
|
|
|
|
test-suite doctest
|
|
import: ghcstuffs, ghcstuffs-dev
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: test
|
|
main-is: doctest.hs
|
|
build-depends:
|
|
, base
|
|
, doctest-parallel >=0.1
|