packages feed

madlang-4.0.2.16: man/madlang.1

.\" Automatically generated by Pandoc 2.7.3
.\"
.TH "madlang (1)" "" "" "" ""
.hy
.SH NAME
.PP
madlang - a text templating language for generative literature
.SH SYNOPSIS
.PP
madlang run <file>
.PP
madlang tree <file>
.PP
madlang check <file>
.PP
madlang get <repo>
.PP
madlang sample <repo>
.SH DESCRIPTION
.PP
\f[B]madlang\f[R] is an interpreted language for generative literature
and computational creativity.
.SH OPTIONS
.TP
.B \f[B]-h\f[R] \f[B]--help\f[R]
Display help
.TP
.B \f[B]-r\f[R] \f[B]--rep\f[R]
Generate output more than once
.TP
.B \f[B]-i\f[R]
Set an input to the template
.SH CONFIGURATION
.PP
Place files in $HOME/.madlang for them to be available globally as
libraries.
You can also download prebundled packages using
.IP
.nf
\f[C]
madlang install
\f[R]
.fi
.SH EDITOR INTEGRATION
.PP
You can install a vim plugin for Madlang using
.IP
.nf
\f[C]
madlang vim
\f[R]
.fi
.PP
Alternately, it is available from
.PP
https://github.com/vmchale/madlang-vim
.SH LIBRARIES
.PP
You can install third-party libraries with
.IP
.nf
\f[C]
madlang get user/repo
\f[R]
.fi
.PP
The library will then be installed to $HOME/.madlang/repo
.SH MODIFIERS
.PP
Strings in madlang can be followed by modifiers, for instance
.IP
.nf
\f[C]
1.0 \[dq]evil\[dq].oulipo
\f[R]
.fi
.PP
Currently supported modifiers are:
.IP \[bu] 2
to_lower
.IP \[bu] 2
to_upper
.IP \[bu] 2
capitalize
.IP \[bu] 2
reverse
.IP \[bu] 2
oulipo (removes all instances of the letter `e')
.SH EXAMPLES
.PP
You can examine an example using the bundled libraries at
https://hub.darcs.net/vmchale/madlang-insults.
.SH COPYRIGHT
.PP
Copyright 2017-2019.
Vanessa McHale.
All Rights Reserved.
.SH AUTHORS
Vanessa McHale<vamchale@gmail.com>.