From b2cc17cf26e4ee5e327fcbc92fd597ecb15cb75b Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Fri, 9 Sep 2022 17:04:00 +0100 Subject: Officially calling it just micro --- micro.cabal | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 micro.cabal (limited to 'micro.cabal') diff --git a/micro.cabal b/micro.cabal new file mode 100644 index 0000000..b62f751 --- /dev/null +++ b/micro.cabal @@ -0,0 +1,61 @@ +cabal-version: 2.4 +name: micro +version: 0.1.0.0 + +synopsis: Micro toy programming language +homepage: https://git.usebox.net/micro2-lang/about/ + +license: GPL-3.0-or-later +author: Juan J. Martinez +maintainer: jjm@usebox.net + +copyright: (c) 2022 Juan J. Martinez +extra-source-files: + CHANGELOG.md + , README.md + , COPYING + +library + exposed-modules: + Micro + Micro.Ast + Micro.Lexer + Micro.Parser + Micro.Error + Micro.Env + Micro.Compiler + Micro.Asm.Sdcc + build-depends: + base ^>= 4.16.1.0 + , parsec ^>= 3.1.15.1 + , mtl ^>= 2.2.2 + , containers ^>= 0.6.5.1 + hs-source-dirs: src + ghc-options: -Wall -Wno-name-shadowing + default-language: Haskell2010 + +test-suite tests + type: exitcode-stdio-1.0 + main-is: Main.hs + other-modules: + Language + build-depends: + base ^>= 4.16.1.0 + , parsec ^>= 3.1.15.1 + , mtl ^>= 2.2.2 + , containers ^>= 0.6.5.1 + , HUnit + , micro + hs-source-dirs: test + default-language: Haskell2010 + +executable micro + main-is: Main.hs + build-depends: + base ^>= 4.16.1.0 + , containers ^>= 0.6.5.1 + , mtl ^>= 2.2.2 + , micro + hs-source-dirs: app + default-language: Haskell2010 + -- cgit v1.2.3