MiniJavaCompiler/project.cabal

32 lines
1.1 KiB
Plaintext
Raw Normal View History

2024-05-01 19:07:04 +00:00
name: MiniJavaCompiler
version: 0.1.0.0
build-type: Simple
cabal-version: >= 1.10
Synopsis: A compiler for a minimal version of Java with watered down syntax.
executable compiler
main-is: Main.hs
build-depends: base,
array,
HUnit,
utf8-string,
bytestring
2024-05-01 19:07:04 +00:00
default-language: Haskell2010
hs-source-dirs: src,
src/ByteCode,
src/ByteCode/ClassFile
2024-05-01 19:07:04 +00:00
build-tool-depends: alex:alex, happy:happy
other-modules: Ast, Example, Typecheck, ByteCode.ByteUtil, ByteCode.ClassFile, ByteCode.ClassFile.Generator, ByteCode.Constants
2024-05-01 19:07:04 +00:00
test-suite tests
type: exitcode-stdio-1.0
main-is: TestSuite.hs
hs-source-dirs: src,Test
build-depends: base,
array,
HUnit,
utf8-string,
bytestring
2024-05-01 19:07:04 +00:00
build-tool-depends: alex:alex, happy:happy
other-modules: TestLexer