Website Summary Files Commits Branches @commit @diff @stats
path: root / homework / 81333 / brainfsck / brainfsck.cabal
diff options
context:
space:
mode:
Commitadd56ccba064ed1012a00319834efeee222516a7 (patch)
Author
 Georgi Bojinov <georgi.bojinov@hotmail.com>
2018-11-19 08:57:03 +0200
Committer
 Martin Dobrev <martindobrev0@gmail.com>
2018-11-19 08:57:03 +0200
Files2cd6d694b04451d1d0bd9d222e366844f8c4daa9 /homework/81333/brainfsck/brainfsck.cabal
IPL-add56ccba064ed1012a00319834efeee222516a7.tar
IPL-add56ccba064ed1012a00319834efeee222516a7.tar.gz
IPL-add56ccba064ed1012a00319834efeee222516a7.zip
Parent12232668d931b0f3593807d2096a2c2f26844b0b (diff)
Add homework 3 - brainfsck interpreter (#55)
* Add brainfsck interpreter * Remove unused imports in Main * Add .gitignore * Fix example commands
1 files changed, 74 insertions, 0 deletions
-rw-r--r--homework/81333/brainfsck/brainfsck.cabal74
diff --git a/homework/81333/brainfsck/brainfsck.cabal b/homework/81333/brainfsck/brainfsck.cabal
new file mode 100644
index 0000000..45f2ba4
--- /dev/null
+++ b/homework/81333/brainfsck/brainfsck.cabal
@@ -0,0 +1,74 @@
+cabal-version: 1.12
+
+-- This file has been generated from package.yaml by hpack version 0.31.1.
+--
+-- see: https://github.com/sol/hpack
+--
+-- hash: 6e461fb9377fd9d13efd7b8e322e93ae789d4e0f77c88584498db65aa15f75ea
+
+name: brainfsck
+version: 0.1.0.0
+description: Please see the README on GitHub at <https://github.com/githubuser/brainfsck#readme>
+homepage: https://github.com/githubuser/brainfsck#readme
+bug-reports: https://github.com/githubuser/brainfsck/issues
+author: Author name here
+maintainer: example@example.com
+copyright: 2018 Author name here
+license: BSD3
+license-file: LICENSE
+build-type: Simple
+extra-source-files:
+ README.md
+ ChangeLog.md
+
+source-repository head
+ type: git
+ location: https://github.com/githubuser/brainfsck
+
+library
+ exposed-modules:
+ Lib
+ Text.Brainfsck.Parser
+ Text.Brainfsck.Types
+ Text.Brainfsck.Util
+ other-modules:
+ Paths_brainfsck
+ hs-source-dirs:
+ src
+ build-depends:
+ attoparsec
+ , base >=4.7 && <5
+ , bytestring
+ , haskeline
+ default-language: Haskell2010
+
+executable brainfsck
+ main-is: Main.hs
+ other-modules:
+ Paths_brainfsck
+ hs-source-dirs:
+ app
+ ghc-options: -threaded -rtsopts -with-rtsopts=-N
+ build-depends:
+ attoparsec
+ , base >=4.7 && <5
+ , brainfsck
+ , bytestring
+ , haskeline
+ default-language: Haskell2010
+
+test-suite brainfsck-test
+ type: exitcode-stdio-1.0
+ main-is: Spec.hs
+ other-modules:
+ Paths_brainfsck
+ hs-source-dirs:
+ test
+ ghc-options: -threaded -rtsopts -with-rtsopts=-N
+ build-depends:
+ attoparsec
+ , base >=4.7 && <5
+ , brainfsck
+ , bytestring
+ , haskeline
+ default-language: Haskell2010