Rewrite of the CofD dice pool parser and core command parsing to use combine instead of nom. The dice pool parser has been rewritten in preparation for use of variables and more complicated expressions to allow bonuses/penalties. The command parser was rewritten to use combine simply because I find it less confusing than nom. The only thing that uses nom is the original dice rolling code. The legacy code boundary is contained in the parse_roll function in src/commands/parser.rs.
Rewrite of the CofD dice pool parser and core command parsing to use
combine
instead ofnom
. The dice pool parser has been rewritten in preparation for use of variables and more complicated expressions to allow bonuses/penalties. The command parser was rewritten to usecombine
simply because I find it less confusing thannom
. The only thing that usesnom
is the original dice rolling code. The legacy code boundary is contained in theparse_roll
function insrc/commands/parser.rs
.