malachi

Crates.iomalachi
lib.rsmalachi
version0.9.8
sourcesrc
created_at2021-10-29 15:41:09.938825
updated_at2024-08-27 12:36:11.145086
descriptionA domain specific pattern matching language made for defining bot commands.
homepage
repositoryhttps://github.com/insomnimus/malachi
max_upload_size
id474069
size84,417
(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