@hackage language-dickinson1.4.3.0

A language for generative literature

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.