Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vmchale/dickinson
Text generation language
https://github.com/vmchale/dickinson
dickinson generative-literature haskell language literature repl text-generation
Last synced: 4 days ago
JSON representation
Text generation language
- Host: GitHub
- URL: https://github.com/vmchale/dickinson
- Owner: vmchale
- License: bsd-3-clause
- Created: 2020-04-19T18:30:23.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-17T23:26:19.000Z (28 days ago)
- Last Synced: 2024-10-20T10:45:16.227Z (26 days ago)
- Topics: dickinson, generative-literature, haskell, language, literature, repl, text-generation
- Language: Haskell
- Homepage:
- Size: 5.31 MB
- Stars: 32
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Dickinson
Dickinson is a text-generation language.
## Installation
### Web
You can try out the language [on the web](http://vmchale.com/static/dickinson-web/) without installing anything.
### Binary Releases
Binaries for some platforms are available on the [releases
page](https://github.com/vmchale/dickinson/releases).Unpack the distribution, then:
```
make install
```### Script
There is an install script which will try to download the right release for your
computer:```bash
curl -sSl https://raw.githubusercontent.com/vmchale/dickinson/master/bash/install.sh | sh -s
```### Source
To install, get [cabal-install](https://www.haskell.org/cabal/) and
[GHC](https://www.haskell.org/ghc/download.html). 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](https://github.com/junegunn/vim-plug):
```vimscript
Plug 'vmchale/dickinson' , { 'rtp' : 'vim' }
```## Documentation
A user guide is available in
[markdown](https://github.com/vmchale/dickinson/blob/master/doc/user-guide.md)
and as
a [pdf](https://github.com/vmchale/dickinson/blob/master/doc/user-guide.pdf).See `man/emd.1` for man pages.
### Examples
A riff on the Unix fortune program is available
[here](https://github.com/vmchale/dickinson/blob/master/examples/fortune.dck).
Try```
emd run examples/fortune.dck
```Other examples are in the
[`examples`](https://github.com/vmchale/dickinson/tree/master/examples)
directory.