This commit is contained in:
2026-07-11 16:25:58 -06:00
parent 475f0a7f68
commit d71d78c68f
24 changed files with 458 additions and 120 deletions
+30 -4
View File
@@ -20,7 +20,7 @@ common ghcstuffs-dev
common ghcstuffs
ghc-options:
-Wall -fdefer-type-errors -fno-show-valid-hole-fits
-fdefer-out-of-scope-variables -fplugin=Effectful.Plugin -threaded
-fdefer-out-of-scope-variables -threaded
default-extensions:
BlockArguments
@@ -35,8 +35,19 @@ executable gyehoek
import: ghcstuffs, ghcstuffs-dev
main-is: Main.hs
-- cabal-fmt: expand app -Main
other-modules:
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
@@ -45,6 +56,7 @@ executable gyehoek
Gyehoek.Scheme.Syntax
Gyehoek.Sexp
Gyehoek.Wasm
Gyehoek.Driver
build-depends:
, base ^>=4.21.2.0
@@ -72,6 +84,20 @@ executable gyehoek
, unordered-containers
, vector
, string-interpolate
, pretty-simple
hs-source-dirs: app
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