aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index 6fec4a8..b085529 100644
--- a/README.md
+++ b/README.md
@@ -2,3 +2,12 @@ DiceParser
==========
Rolisteam Dice Parser
+
+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]+