Malachi is a domain specific pattern matching language made mainly for defining bot commands.
There is a tutorial: tutorial.md.
?divine [
<part?: starts("part=")>
<canto?: starts("canto="), /^\d+$/>
<verse?: starts("verse="), /^\d+$/>
]
See the examples directory.