malachi

Crates.iomalachi
lib.rsmalachi
version0.9.6
sourcesrc
created_at2021-10-29 15:41:09.938825
updated_at2024-04-07 12:10:50.22861
descriptionA domain specific pattern matching language made for defining bot commands.
homepage
repositoryhttps://github.com/insomnimus/malachi
max_upload_size
id474069
size84,204
(insomnimus)

documentation

README

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.

Commit count: 61

cargo fmt