-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhabs-parser.cabal
70 lines (63 loc) · 1.89 KB
/
habs-parser.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
name: habs-parser
version: 0.0.1
license: BSD3
license-file: LICENSE
author: Nikolaos Bezirgiannis
maintainer: Nikolaos Bezirgiannis <[email protected]>
copyright: Copyright (c) 2013-2016, Envisage Consortium
homepage: http://abs-models.org
bug-reports: https://github.com/abstools/habs-parser/issues
stability: provisional
tested-with: GHC == 8.0.1, GHC == 8.0.2
build-type: Simple
cabal-version: >= 1.8
category: Concurrency, Distributed Computing
synopsis: The parser of the Haskell-ABS (habs) backend
description:
A transcompiler from the ABS language to Haskell.
This Haskell package includes both the ABS stdlib & ABS runtime expressed in Haskell,
as well as the transcompiler to translate ABS code to Haskell code.
.
ABS developers are advised to check the online documentation of the <http://abstools.github.io/habs-parser/DocABS.html BNF grammar for ABS>
extra-source-files:
README.md
source-repository head
type: git
location: git://github.com/abstools/habs-parser.git
branch: master
library
build-depends:
-- base==4.8 has a bug on PartialTypeSignatures, so we allow base>=4.9, i.e. GHC>=8
-- other habs components require base>=4.8, i.e. GHC>=7.10
base >= 4.9 && < 5,
-- array needed by the BNFC-generated parser
array,
filepath,
directory
exposed-modules:
ABS.AST,
ABS.Parser
other-modules:
-- the generated AST tree
BNFC_Gen.AbsABS,
-- the generated lexer
BNFC_Gen.LexABS,
-- the generated parser
BNFC_Gen.ParABS,
-- the generated pretty-printer
BNFC_Gen.PrintABS,
-- an accompanying Error monad, used for parsing errors
BNFC_Gen.ErrM
ghc-options: -Wall -fno-warn-orphans -fno-warn-name-shadowing
hs-source-dirs: src, gen-hs
test-suite unit
type: exitcode-stdio-1.0
main-is: unit.hs
build-depends:
base,
habs-parser,
tasty,
tasty-hunit,
tasty-html,
directory
hs-source-dirs: tests