50 lines
1.1 KiB
Plaintext
50 lines
1.1 KiB
Plaintext
cabal-version: 3.0
|
|
name: elna
|
|
version: 1.0
|
|
synopsis:
|
|
Elna programming language compiles simple mathematical operations to RISC-V code
|
|
-- description:
|
|
license: MPL-2.0
|
|
license-file: LICENSE
|
|
author: Eugen Wissner
|
|
maintainer: belka@caraus.de
|
|
-- copyright:
|
|
category: Language
|
|
build-type: Simple
|
|
extra-doc-files: CHANGELOG.md
|
|
extra-source-files: TODO README
|
|
|
|
common warnings
|
|
build-depends:
|
|
base ^>=4.19.1.0,
|
|
bytestring ^>= 0.12.1,
|
|
megaparsec ^>= 9.6,
|
|
vector ^>= 0.13.1,
|
|
text ^>= 2.0
|
|
ghc-options: -Wall
|
|
default-extensions:
|
|
DataKinds,
|
|
ExplicitForAll,
|
|
LambdaCase,
|
|
OverloadedStrings,
|
|
RecordWildCards
|
|
default-language: GHC2021
|
|
|
|
library elna-internal
|
|
import: warnings
|
|
exposed-modules:
|
|
Language.Elna.Object.Elf
|
|
build-depends:
|
|
hashable ^>= 1.4.3,
|
|
parser-combinators ^>= 1.3,
|
|
transformers ^>= 0.6.1,
|
|
unordered-containers ^>= 0.2.20
|
|
hs-source-dirs: lib
|
|
|
|
executable elna
|
|
import: warnings
|
|
main-is: Main.hs
|
|
build-depends:
|
|
elna:elna-internal
|
|
hs-source-dirs: src
|