diff options
author | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2017-09-11 15:50:10 -0400 |
---|---|---|
committer | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2017-09-11 16:28:54 -0400 |
commit | fbe048df52cf52323086727acfd2861c93e8e913 (patch) | |
tree | ba6efc082b527bc2824cedfb13f201a59eab741d | |
parent | 9368b1c33db290d7c80c93db5c867cdb7fcaf14d (diff) |
Update README
-rw-r--r-- | README.md | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -76,6 +76,7 @@ The parser recognizes the following grammar: Die ::= <an integer> | '(' Die ')' + | '[' Die ']' | Die 'd' Die | 'd' Die | Die ' + ' Die @@ -152,6 +153,8 @@ Semantics are defined in terms of the `pool` function. many times as the value rolled on `E`. The pools generated by `D` are concatenated to generate the new pool. *Note:* if `E` evaluates to a negative number, the behavior is undefined. +* `[D]` collects `D`'s dice pool - the generated dice pool contains a single + element, the result of `roll(D)`. Additionally: |