@hackage language-dickinson1.4.3.1
A language for generative literature
Categories
License
BSD-3-Clause
Maintainer
vamchale@gmail.com
Links
Versions
Installation
Dependencies (22)
- base >=4.19.0.0 && <5
- language-dickinson
- template-haskell
- text Show all…
Dependents (0)
Package Flags
cross
(off by default)
Enable to ease cross-compiling
zstd
(on by default)
Use zstd to compress saved REPL states
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.