mirror of
https://github.com/macocianradu/RosettaHaskellCompiler.git
synced 2026-03-18 13:00:08 +00:00
Parser and type checker almost completely working
Added testing env
This commit is contained in:
@@ -6,12 +6,12 @@ cabal-version: 1.12
|
||||
|
||||
name: RosettaParser
|
||||
version: 0.1.0.0
|
||||
description: Please see the README on GitHub at <https://github.com/githubuser/RosettaParser#readme>
|
||||
homepage: https://github.com/githubuser/RosettaParser#readme
|
||||
bug-reports: https://github.com/githubuser/RosettaParser/issues
|
||||
author: Author name here
|
||||
maintainer: example@example.com
|
||||
copyright: 2021 Author name here
|
||||
description: Please see the README on GitHub at <https://github.com/macocianradu/RosettaParser#readme>
|
||||
homepage: https://github.com/macocianradu/RosettaParser#readme
|
||||
bug-reports: https://github.com/macocianradu/RosettaParser/issues
|
||||
author: Adrian Radu Macocian
|
||||
maintainer: rmacocian@gmail.com
|
||||
copyright: 2021 Adrian Radu Macocian
|
||||
license: BSD3
|
||||
license-file: LICENSE
|
||||
build-type: Simple
|
||||
@@ -21,7 +21,7 @@ extra-source-files:
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: https://github.com/githubuser/RosettaParser
|
||||
location: https://github.com/macocianradu/RosettaParser
|
||||
|
||||
library
|
||||
exposed-modules:
|
||||
@@ -37,6 +37,7 @@ library
|
||||
PrettyPrinter.Function
|
||||
PrettyPrinter.General
|
||||
PrettyPrinter.Type
|
||||
Semantic.ExpressionChecker
|
||||
Semantic.TypeChecker
|
||||
other-modules:
|
||||
Paths_RosettaParser
|
||||
@@ -54,8 +55,6 @@ library
|
||||
|
||||
executable RosettaParser-exe
|
||||
main-is: Main.hs
|
||||
other-modules:
|
||||
Paths_RosettaParser
|
||||
hs-source-dirs:
|
||||
app
|
||||
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
||||
@@ -74,6 +73,9 @@ test-suite RosettaParser-test
|
||||
type: exitcode-stdio-1.0
|
||||
main-is: Spec.hs
|
||||
other-modules:
|
||||
Parser.EnumSpec
|
||||
Parser.ExpressionSpec
|
||||
Parser.TypeSpec
|
||||
Paths_RosettaParser
|
||||
hs-source-dirs:
|
||||
test
|
||||
@@ -81,6 +83,8 @@ test-suite RosettaParser-test
|
||||
build-depends:
|
||||
RosettaParser
|
||||
, base >=4.7 && <5
|
||||
, hspec
|
||||
, hspec-megaparsec
|
||||
, megaparsec
|
||||
, mtl
|
||||
, parser-combinators
|
||||
|
||||
Reference in New Issue
Block a user