diff options
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.yaml | 51 |
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 |
