Adds "compiler" and CLI argument handling

This commit is contained in:
2024-12-29 21:49:57 -06:00
committed by James Eversole
parent c578d780e9
commit 95b1e07dd9
7 changed files with 69 additions and 12 deletions

View File

@ -19,6 +19,7 @@ executable tricu
default-extensions:
ConstraintKinds
DataKinds
DeriveDataTypeable
DeriveGeneric
FlexibleContexts
FlexibleInstances
@ -28,11 +29,13 @@ executable tricu
ghc-options: -threaded -rtsopts -with-rtsopts=-N -optl-pthread -fPIC
build-depends:
base >=4.7
, cmdargs
, containers
, haskeline
, megaparsec
, mtl
other-modules:
Compiler
Eval
Lexer
Library
@ -47,6 +50,7 @@ test-suite tricu-tests
hs-source-dirs: test, src
build-depends:
base
, cmdargs
, containers
, haskeline
, megaparsec
@ -56,6 +60,7 @@ test-suite tricu-tests
, tasty-quickcheck
default-language: Haskell2010
other-modules:
Compiler
Eval
Lexer
Library