packages feed

oplang-0.2.0.0: oplang.cabal

cabal-version: 3.0

name: oplang
version: 0.2.0.0
synopsis: Compiler for OpLang, an esoteric programming language
description: Please see the README on GitHub at <https://github.com/aionescu/oplang#readme>
homepage: https://github.com/aionescu/oplang#readme
bug-reports: https://github.com/aionescu/oplang/issues
license: GPL-3.0-only
license-file: LICENSE.txt
author: Alex Ionescu
maintainer: alxi.2001@gmail.com
copyright: Copyright (C) 2019-2022 Alex Ionescu
category: Compiler
build-type: Simple

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

source-repository head
  type: git
  location: https://github.com/aionescu/oplang

executable oplang
  main-is: Main.hs

  other-modules:
    Control.Monad.Comp
    Data.Opts
    Language.OpLang.Checker
    Language.OpLang.Codegen
    Language.OpLang.Optimizer
    Language.OpLang.Parser
    Language.OpLang.Syntax

  hs-source-dirs: src

  build-depends:
    base >=4.14 && <5
    , containers ^>= 0.6.2
    , directory ^>= 1.3.6
    , filepath ^>= 1.4.2
    , megaparsec ^>= 9.2
    , mtl ^>= 2.2.2
    , optparse-applicative ^>= 0.16
    , process ^>= 1.6.9
    , text ^>= 1.2.4
    , text-builder ^>= 0.6.6
    , transformers ^>= 0.5.6

  ghc-options:
    -threaded
    -rtsopts
    -with-rtsopts=-N
    -Wall
    -Wincomplete-uni-patterns
    -Wprepositive-qualified-module
    -Wmissing-deriving-strategies
    -Wunused-packages

  default-extensions:
    ApplicativeDo
    BangPatterns
    BlockArguments
    ConstraintKinds
    DataKinds
    DefaultSignatures
    DeriveAnyClass
    DeriveFoldable
    DeriveFunctor
    DeriveGeneric
    DeriveLift
    DeriveTraversable
    DerivingStrategies
    EmptyCase
    ExistentialQuantification
    FlexibleContexts
    FlexibleInstances
    FunctionalDependencies
    GADTs
    GeneralizedNewtypeDeriving
    ImportQualifiedPost
    InstanceSigs
    KindSignatures
    LambdaCase
    MultiParamTypeClasses
    MultiWayIf
    NamedFieldPuns
    OverloadedStrings
    PatternSynonyms
    RankNTypes
    RecordWildCards
    RecursiveDo
    ScopedTypeVariables
    StandaloneDeriving
    TupleSections
    TypeApplications
    TypeFamilies
    TypeFamilyDependencies
    TypeOperators
    ViewPatterns

  default-language: Haskell2010