23 releases
0.9.8 | Aug 27, 2024 |
---|---|
0.9.6 | Apr 7, 2024 |
0.9.4 | Jan 9, 2024 |
0.9.1 | May 23, 2022 |
0.6.2 | Nov 22, 2021 |
#623 in Text processing
55 downloads per month
55KB
2K
SLoC
Malachi
Malachi is a domain specific pattern matching language made mainly for defining bot commands.
There is a tutorial: tutorial.md.
Syntax Example
?divine [
<part?: starts("part=")>
<canto?: starts("canto="), /^\d+$/>
<verse?: starts("verse="), /^\d+$/>
]
Usage Examples
See the examples directory.
Dependencies
~2.9–4MB
~72K SLoC