dice-notation-java icon indicating copy to clipboard operation
dice-notation-java copied to clipboard

Add support for complex value generation rules

Open Bernardo-MG opened this issue 5 years ago • 6 comments

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.

Bernardo-MG avatar Jan 22 '19 10:01 Bernardo-MG