#parser #expressions #dice-rolling

bin+lib libdice

A package for parsing simple dice-rolling expressions

1 unstable release

new 0.1.0 May 20, 2024

#2 in #dice-rolling

Download history 67/week @ 2024-05-15

67 downloads per month

MIT license

6KB
130 lines

Libdice

Example usage

let text = "10d20 + 5";
let results = libdice::load(text);
println!("{:#?}", results);

Dependencies

~2.2–3MB
~59K SLoC