command-qq-0.2.0.0: command-qq.cabal
name: command-qq
version: 0.2.0.0
synopsis: Quasiquoters for external commands
description:
Features:
.
* Quasiquotation syntax for external interpreters
.
> >>> [sh_| echo hello world! |]
> hello world!
.
* Custom quasiquoters
.
> ghci = quoter $ callCommand "ghc" ["-ignore-dot-ghci", "-e"]
.
Then you can use @ghci@ in ghci!
.
> >>> [ghci| putStrLn "hello world!" |] :: IO ()
> hello world!
.
For more examples, see @examples/CustomQQ.hs@
.
* Haskell values embedding
.
See README.md for an example
.
* DSLs
.
See @examples/CommandT.hs@
.
homepage: http://biegunka.github.io/command-qq/
license: BSD3
license-file: LICENSE
author: Matvey Aksenov
maintainer: matvey.aksenov@gmail.com
category: System
build-type: Simple
cabal-version: >= 1.10
extra-source-files:
CHANGELOG.md
README.md
examples/CommandT.hs
examples/CustomQQ.hs
library
default-language: Haskell2010
build-depends:
base == 4.*
, process
, template-haskell
, text
hs-source-dirs: src
exposed-modules:
System.Command.QQ
System.Command.QQ.Embed
System.Command.QQ.Eval
test-suite doctests
default-language: Haskell2010
type: exitcode-stdio-1.0
build-depends:
base == 4.*
, doctest
hs-source-dirs: tests
main-is: Doctests.hs
test-suite spec
default-language: Haskell2010
type: exitcode-stdio-1.0
build-depends:
base == 4.*
, hspec
, command-qq
, template-haskell
, text
hs-source-dirs:
tests
, examples
main-is: Spec.hs
other-modules:
System.Command.QQ.EmbedSpec
System.Command.QQ.EvalSpec
source-repository head
type: git
location: https://github.com/biegunka/command-qq