madlang-2.4.2.2: man/madlang.1
.\" Automatically generated by Pandoc 1.19.2.4
.\"
.TH "madlang (1)" "" "" "" ""
.hy
.SH NAME
.PP
madlang \- a text templating language for generative literature
.SH SYNOPSIS
.PP
madlang run <file>
.PP
madlang debug <file>
.PP
madlang lint <file>
.SH DESCRIPTION
.PP
\f[B]madlang\f[] is an interpreted language for generative literature
and computational creativity.
.SH OPTIONS
.TP
.B \f[B]\-h\f[] \f[B]\-\-help\f[]
Display help
.RS
.RE
.TP
.B \f[B]\-r\f[] \f[B]\-\-rep\f[]
Generate output more than once
.RS
.RE
.TP
.B \f[B]\-i\f[]
Set an input to the template
.RS
.RE
.SH CONFIGURATION
.PP
Place files in $HOME/.madlang for them to be available globally as
libraries.
You can also download prebundled packages using
.PP
madlang install
.SH EDITOR INTEGRATION
.PP
A vim plugin is available from
.PP
https://github.com/vmchale/madlang\-vim
.SH MODIFIERS
.PP
Strings in madlang can be followed by modifiers, for instance
.PP
1.0 "evil".oulipo
.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 \[aq]e\[aq])
.SH EXAMPLES
.PP
You can examine an example using the bundled libraries at
https://hub.darcs.net/vmchale/madlang\-insults.
.SH AUTHORS
Vanessa McHale<vanessa.mchale@reconfigure.io>.