104 lines
2.2 KiB
Plaintext
104 lines
2.2 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
|
|
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.Convert
|
|
Gyehoek.CPS.Lower
|
|
Gyehoek.CPS.Syntax
|
|
Gyehoek.GenSym
|
|
Gyehoek.Options
|
|
Gyehoek.Scheme.Syntax
|
|
Gyehoek.Sexp
|
|
Gyehoek.Wasm
|
|
Gyehoek.Driver
|
|
|
|
build-depends:
|
|
, base ^>=4.21.2.0
|
|
, binary
|
|
, containers
|
|
, cradle
|
|
, effectful
|
|
, effectful-core
|
|
, effectful-plugin
|
|
, filepath
|
|
, generic-lens
|
|
, hashable
|
|
, invertible-grammar
|
|
, lens
|
|
, megaparsec
|
|
, mtl
|
|
, optparse-applicative
|
|
, prettyprinter
|
|
, process
|
|
, recursion-schemes
|
|
, sexp-grammar
|
|
, template-haskell
|
|
, text
|
|
, text-short
|
|
, unordered-containers
|
|
, vector
|
|
, string-interpolate
|
|
, pretty-simple
|
|
|
|
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-depends: base
|
|
, gyehoek
|
|
, filepath
|
|
, tasty
|
|
, tasty-silver
|
|
, directory
|
|
default-language: GHC2024
|