#parser #dice-rolling #expressions

bin+lib libdice

A package for parsing simple dice-rolling expressions

1 unstable release

0.1.0 May 20, 2024

#5 in #dice-rolling

MIT license

6KB
130 lines

Libdice

Example usage

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

Dependencies

~2.1–2.8MB
~57K SLoC