Website Summary Files Commits Branches @commit @diff @stats
path: root / homework / 81333 / brainfsck / package.yaml
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/package.yaml
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, 51 insertions, 0 deletions
-rw-r--r--homework/81333/brainfsck/package.yaml51
diff --git a/homework/81333/brainfsck/package.yaml b/homework/81333/brainfsck/package.yaml
new file mode 100644
index 0000000..44043aa
--- /dev/null
+++ b/homework/81333/brainfsck/package.yaml
@@ -0,0 +1,51 @@
+name: brainfsck
+version: 0.1.0.0
+github: "githubuser/brainfsck"
+license: BSD3
+author: "Author name here"
+maintainer: "example@example.com"
+copyright: "2018 Author name here"
+
+extra-source-files:
+- README.md
+- ChangeLog.md
+
+# Metadata used when publishing your package
+# synopsis: Short description of your package
+# category: Web
+
+# To avoid duplicated efforts in documentation and dealing with the
+# complications of embedding Haddock markup inside cabal files, it is
+# common to point users to the README.md file.
+description: Please see the README on GitHub at <https://github.com/githubuser/brainfsck#readme>
+
+dependencies:
+- base >= 4.7 && < 5
+- attoparsec
+- bytestring
+- haskeline
+
+library:
+ source-dirs: src
+
+executables:
+ brainfsck:
+ main: Main.hs
+ source-dirs: app
+ ghc-options:
+ - -threaded
+ - -rtsopts
+ - -with-rtsopts=-N
+ dependencies:
+ - brainfsck
+
+tests:
+ brainfsck-test:
+ main: Spec.hs
+ source-dirs: test
+ ghc-options:
+ - -threaded
+ - -rtsopts
+ - -with-rtsopts=-N
+ dependencies:
+ - brainfsck