aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 2 insertions, 6 deletions
diff --git a/README.md b/README.md
index a0031a6..1aeb49e 100644
--- a/README.md
+++ b/README.md
@@ -10,19 +10,15 @@ Rolisteam Dice Parser
## Grammar
The grammar is something like this:
+```
Command =: Expression
-
Expression =: number | number Dice | ScalarOperator Expression
-
Dice =: DiceOperator Number(faces)
-
DiceOperator =: D
-
ScalarOperator =: [x,-,*,x,/]
-
number =: [0-9]+
-
Validator =: number | [operator number] | [ number - number ]
+```
## Example: