Parser Rewrite #12
No reviewers
Labels
No Label
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: projectmoon/tenebrous-dicebot#12
Loading…
Reference in New Issue
No description provided.
Delete Branch "cofd-parser-rewrite"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
.