m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: