dice-command-parser

Crates.iodice-command-parser
lib.rsdice-command-parser
version0.8.0
sourcesrc
created_at2020-03-22 08:47:38.402831
updated_at2024-01-05 09:36:39.340175
descriptionA library for parsing basic dice roll commands like 2d20 + 2a
homepage
repositoryhttps://github.com/arranf/dice-command-parser
max_upload_size
id221352
size34,493
Arran France (arranf)

documentation

README

Dice Command Parser

This library parses a simple dice roll command and produces a representation of the dice that should be rolled and its modifier.

Example input: d6, 3d20, d6 + 5, or 2d20 - 4, d20+4d, d100, d100, d100.

Commit count: 17

cargo fmt