m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2017-08-22 19:04:31 -0400
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2017-08-22 19:04:31 -0400
commitee6ec6a052d0ebc9156038f02927df456c79a5e7 (patch)
tree9f45a98cf0f192cdfa4013b9aed117a66c6f60d6
parent831e19699a8b604c81df999b743ac0ce4853f502 (diff)
Update README
-rw-r--r--README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index e868675..5b7ff49 100644
--- a/README.md
+++ b/README.md
@@ -119,7 +119,9 @@ Semantics are defined in terms of the `pool` function.
Additionally:
* The binary arithmetic operations (` + `, ` - `) are left associative.
+* The bonus operations (`+`, `-`) are left associative. They bind stronger than
+ arithmetic operations.
* The die operations (`d`, `E`, `K`, `k`) are right associative (`1d2d3` is
equivalent to `1d(2d3)`, use explicit parentheses if you need `(1d2)d3`).
-* Die operations bind stronger than the binary arithmetic operations (`1d6+1d4`
- is equivalent to `(1d6) + (1d4)`).
+* Die operations bind stronger than the binary arithmetic operations
+ (`1d6 + 1d4` is equivalent to `(1d6) + (1d4)`) and the bonus operations.