-
Notifications
You must be signed in to change notification settings - Fork 2
/
language-oberon.cabal
62 lines (57 loc) · 3.18 KB
/
language-oberon.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
-- Initial language-oberon.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
name: language-oberon
version: 0.3.3.1
synopsis: Parser, pretty-printer, and more for the Oberon programming language
description:
The library and the executable support both the original Oberon and the Oberon-2 programming language, as described
in the respective <http://www.ethoberon.ethz.ch/compiler/index.html#report language reports>.
.
The original purpose for the library was to be a test of the underlying
<http://hackage.haskell.org/package/grammatical-parsers grammatical-parsers> library. The experiment succeeded, so
the package can be used in practice.
homepage: https://github.com/blamario/language-oberon
bug-reports: https://github.com/blamario/language-oberon/issues
license: GPL-3
license-file: LICENSE
author: Mario Blažević
maintainer: blamario@protonmail.com
copyright: (c) 2018 Mario Blažević
category: Language
build-type: Simple
extra-source-files: README.md, ChangeLog.md, examples/AGRS/*.Def, examples/AGRS/*.Mod
cabal-version: >=1.10
library
hs-source-dirs: src
exposed-modules: Language.Oberon,
Language.Oberon.Abstract, Language.Oberon.AST, Language.Oberon.ConstantFolder,
Language.Oberon.Grammar, Language.Oberon.Pretty, Language.Oberon.Reserializer,
Language.Oberon.Resolver, Language.Oberon.TypeChecker
build-depends: base >= 4.16 && < 5, base-orphans >= 0.8.2 && < 1.0,
text < 3, containers >= 0.5 && < 1.0, filepath < 1.6, directory < 1.4,
parsers >= 0.12.7 && < 0.13, input-parsers >= 0.2.2 && < 0.4,
prettyprinter >= 1.2.1 && < 1.8, either == 5.*,
rank2classes >= 1.3 && < 1.6, grammatical-parsers >= 0.7 && < 0.8,
deep-transformations >= 0.2 && < 0.4,
transformers >= 0.5 && < 0.7,
template-haskell >= 2.11 && < 2.23
default-language: Haskell2010
executable parse
main-is: app/Parse.hs
-- other-modules:
other-extensions: RankNTypes, RecordWildCards, ScopedTypeVariables, FlexibleInstances, DeriveDataTypeable
build-depends: base >= 4.12 && < 5, text, either == 5.*, containers >= 0.5 && < 1.0,
repr-tree-syb < 0.2, filepath < 1.6, prettyprinter,
rank2classes, input-parsers, grammatical-parsers, deep-transformations,
language-oberon,
optparse-applicative
default-language: Haskell2010
test-suite examples
type: exitcode-stdio-1.0
build-depends: base >= 4.12 && < 5, text, grammatical-parsers,
either == 5.*, directory < 2, filepath < 1.6, prettyprinter,
deep-transformations,
tasty >= 0.7, tasty-hunit,
language-oberon
main-is: test/Test.hs
default-language: Haskell2010