52 lines
1.7 KiB
Plaintext
52 lines
1.7 KiB
Plaintext
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,
|
|
filepath
|
|
default-language: Haskell2010
|
|
hs-source-dirs: src
|
|
build-tool-depends: alex:alex, happy:happy
|
|
other-modules: Parser.Lexer,
|
|
Parser.JavaParser,
|
|
Ast,
|
|
Example,
|
|
Typecheck,
|
|
ByteCode.Util,
|
|
ByteCode.ByteUtil,
|
|
ByteCode.ClassFile,
|
|
ByteCode.Assembler,
|
|
ByteCode.Builder,
|
|
ByteCode.Constants
|
|
|
|
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,
|
|
filepath
|
|
build-tool-depends: alex:alex, happy:happy
|
|
other-modules: Parser.Lexer,
|
|
Parser.JavaParser,
|
|
Ast,
|
|
TestLexer,
|
|
TestParser,
|
|
ByteCode.Util,
|
|
ByteCode.ByteUtil,
|
|
ByteCode.ClassFile,
|
|
ByteCode.Assembler,
|
|
ByteCode.Builder,
|
|
ByteCode.Constants
|