@hackage / language-dickinson

A language for generative literature

Latest1.4.3.1

About

Metadata

  • Last updated , by vmchale
  • License BSD-3-Clause
  • Categories Compilers and Interpreters, Text Processing
  • Maintained by: vamchale@gmail.com

  • Lottery factor: 1

Links

Installation

Package Flags

Use the -f option with cabal commands to enable flags

    cross (off by default)

    Enable to ease cross-compiling

    zstd (on by default)

    Use zstd to compress saved REPL states

Readme

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.