language-dickinson: A language for generative literature

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

Dickinson is a language for generative (random) literature


[Skip to Readme]

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
Change log CHANGELOG.md
Dependencies array, base (>=4.9 && <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 2022-09-10T14:10:39Z
Distributions NixOS:1.4.3.0
Executables emd
Downloads 4708 total (29 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for language-dickinson-1.4.3.0

[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.