m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2017-09-11 15:50:10 -0400
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2017-09-11 16:28:54 -0400
commitfbe048df52cf52323086727acfd2861c93e8e913 (patch)
treeba6efc082b527bc2824cedfb13f201a59eab741d
parent9368b1c33db290d7c80c93db5c867cdb7fcaf14d (diff)
Update README
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index 326a826..d6a6c32 100644
--- a/README.md
+++ b/README.md
@@ -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: