dice-command-parser 0.8.0

A library for parsing basic dice roll commands like 2d20 + 2a
Documentation
1
2
3
4
5
# 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`.