[][src]Module rfyl::rpn

Provides facilities for parsing and solving reverse Polish notation dice specifications.

Functions

parse_into_rpn

Returns a Vector of Strings with each element containing a token or an operator in postfix (rpn) format.

solve_rpn_formula

Returns an i32 as the result of a postfix (rpn) formula.