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,
|
2024-05-08 09:04:43 +00:00
|
|
|
HUnit,
|
|
|
|
utf8-string,
|
2024-06-14 05:57:38 +00:00
|
|
|
bytestring,
|
|
|
|
filepath
|
2024-05-01 19:07:04 +00:00
|
|
|
default-language: Haskell2010
|
2024-05-16 08:39:27 +00:00
|
|
|
hs-source-dirs: src
|
2024-05-01 19:07:04 +00:00
|
|
|
build-tool-depends: alex:alex, happy:happy
|
2024-05-08 09:04:43 +00:00
|
|
|
other-modules: Parser.Lexer,
|
2024-05-16 08:39:27 +00:00
|
|
|
Parser.JavaParser,
|
2024-05-08 09:04:43 +00:00
|
|
|
Ast,
|
|
|
|
Typecheck,
|
2024-06-14 06:47:45 +00:00
|
|
|
ByteCode.Util,
|
2024-05-08 09:04:43 +00:00
|
|
|
ByteCode.ByteUtil,
|
|
|
|
ByteCode.ClassFile,
|
2024-06-14 06:47:45 +00:00
|
|
|
ByteCode.Assembler,
|
2024-06-14 06:52:06 +00:00
|
|
|
ByteCode.Builder,
|
2024-05-08 09:04:43 +00:00
|
|
|
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,
|
2024-05-08 09:04:43 +00:00
|
|
|
HUnit,
|
|
|
|
utf8-string,
|
2024-06-14 05:57:38 +00:00
|
|
|
bytestring,
|
|
|
|
filepath
|
2024-05-01 19:07:04 +00:00
|
|
|
build-tool-depends: alex:alex, happy:happy
|
2024-05-02 20:33:35 +00:00
|
|
|
other-modules: Parser.Lexer,
|
|
|
|
Parser.JavaParser,
|
|
|
|
Ast,
|
2024-05-08 09:04:43 +00:00
|
|
|
TestLexer,
|
2024-06-27 06:33:41 +00:00
|
|
|
TestParser
|