dice-notation-java
dice-notation-java copied to clipboard
Add support for complex value generation rules
For example:
- Repeat the highest value (every 6 in any d6)
- Ignore the lowest/highest value
- Keep the lowest/highest value
These rules are applied to the parsed expression. So they should be applied with transformers.
But maybe they can be activated through special keywords in the grammar, which would require an extension of the basic grammar.