packages feed

intcode-0.3.0.0: intcode.cabal

cabal-version:       2.4

name:                intcode
version:             0.3.0.0
synopsis:            Advent of Code 2019 intcode interpreter
category:            Compilers/Interpreters
license:             ISC
license-file:        LICENSE
author:              Eric Mertens
maintainer:          emertens@gmail.com
copyright:           2019 Eric Mertens
build-type:          Simple
homepage:            https://github.com/glguy/intcode
bug-reports:         https://github.com/glguy/intcode/issues
tested-with:         GHC ==8.6.5, GHC ==8.8.2

description:
  Implementation of the Intcode virtual machine as defined by
  Advent of Code <https://adventofcode.com/2019>.
  .
  This implementation provides an efficient, pure implementation
  of the interpreter and exposes multiple levels of abstraction
  to make it easy to use in a variety of situations.

extra-source-files:
  CHANGELOG.md
  README.md

source-repository head
  type:              git
  location:          https://github.com/glguy/intcode

library
  hs-source-dirs:    src
  default-language:  Haskell2010

  exposed-modules:
    Intcode
    Intcode.Machine
    Intcode.Opcode
    Intcode.Parse

  build-depends:
    base         >= 4.12 && < 4.14,
    containers   ^>= 0.6,
    primitive    ^>= 0.7,

test-suite doctests
  type:              exitcode-stdio-1.0
  main-is:           doctests.hs
  default-language:  Haskell2010
  ghc-options:       -threaded
  build-depends:
    base,
    containers,
    primitive,
    doctest ^>= 0.16,