From fbe048df52cf52323086727acfd2861c93e8e913 Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Mon, 11 Sep 2017 15:50:10 -0400 Subject: Update README --- README.md | 3 +++ 1 file changed, 3 insertions(+) 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 ::= | '(' 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: -- cgit v1.2.3