language-dickinson: A language for generative literature

[ bsd3, compilers-interpreters, language, library, program, text ] [ Propose Tags ] [ Report a vulnerability ]

Dickinson is a language for generative (random) literature


[Skip to Readme]

library language-dickinson

Modules

[Last Documentation]

  • Language
    • Language.Dickinson
      • Language.Dickinson.TH

library language-dickinson:dickinson

Modules

[Last Documentation]

  • Control
    • Exception
      • Control.Exception.Value
  • Data
    • Text
      • Prettyprint
        • Doc
          • Data.Text.Prettyprint.Doc.Ext
    • Tuple
      • Data.Tuple.Ext
  • Language
    • Dickinson
      • Language.Dickinson.Check
        • Language.Dickinson.Check.Duplicate
        • Language.Dickinson.Check.Exhaustive
        • Language.Dickinson.Check.Internal
        • Language.Dickinson.Check.Pattern
        • Language.Dickinson.Check.Scope
      • Language.Dickinson.Error
      • Language.Dickinson.Eval
      • Language.Dickinson.File
      • Language.Dickinson.Import
      • Language.Dickinson.Lexer
      • Language.Dickinson.Lib
      • Language.Dickinson.Name
      • Language.Dickinson.Parser
      • Pattern
        • Language.Dickinson.Pattern.Useless
      • Language.Dickinson.Pipeline
      • Language.Dickinson.Rename
        • Language.Dickinson.Rename.Amalgamate
      • Language.Dickinson.Type
      • Language.Dickinson.TypeCheck
      • Language.Dickinson.Unique

Flags

Manual Flags

NameDescriptionDefault
cross

Enable to ease cross-compiling

Disabled
Automatic Flags
NameDescriptionDefault
zstd

Use zstd to compress saved REPL states

Enabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.1.0, 0.1.1.1, 0.1.1.2, 0.1.2.0, 1.0.0.0, 1.0.0.1, 1.1.0.0, 1.1.0.1, 1.1.0.2, 1.1.0.3, 1.2.0.0, 1.3.0.0, 1.3.0.1, 1.3.0.2, 1.3.0.3, 1.3.0.4, 1.4.0.0, 1.4.1.0, 1.4.1.1, 1.4.1.2, 1.4.2.0, 1.4.3.0, 1.4.3.1
Change log CHANGELOG.md
Dependencies array, base (>=4.19.0.0 && <5), binary (>=0.8.4.0), bytestring, composition-prelude (>=2.0.0.0), containers, deepseq, directory, filepath, haskeline (>=0.8), language-dickinson, microlens, microlens-mtl (>=0.1.8.0), mtl, optparse-applicative (>=0.14.1.0), prettyprinter (>=1.7.0), random, semigroups, split, template-haskell, text (>=1.0.0.0), transformers, zstd [details]
License BSD-3-Clause
Copyright Copyright: (c) 2020, 2022 Vanessa McHale
Author Vanessa McHale
Maintainer vamchale@gmail.com
Category Language, Text, Compilers/Interpreters
Source repo head: git clone https://github.com/vmchale/dickinson
Uploaded by vmchale at 2024-05-29T03:39:07Z
Distributions
Executables emd
Downloads 5664 total (25 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2024-05-29 [all 2 reports]

Readme for language-dickinson-1.4.3.1

[back to package description]

Dickinson

Dickinson is a text-generation language.

Installation

Web

You can try out the language on the web without installing anything.

Binary Releases

Binaries for some platforms are available on the releases page.

Unpack the distribution, then:

make install

Script

There is an install script which will try to download the right release for your computer:

curl -sSl https://raw.githubusercontent.com/vmchale/dickinson/master/bash/install.sh | sh -s

Source

To install, get cabal-install and GHC. Then:

cabal install language-dickinson

Manpages are installed at

emd man

So man $(emd man) will pull them up in bash, for instance.

Editor Integration

Editor integration is available for vim.

Using vim-plug:

Plug 'vmchale/dickinson' , { 'rtp' : 'vim' }

Documentation

A user guide is available in markdown and as a pdf.

See man/emd.1 for man pages.

Examples

A riff on the Unix fortune program is available here. Try

emd run examples/fortune.dck

Other examples are in the examples directory.