aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/README.md
blob: b085529c3403ecfef92d3cb0f33f68317454da8c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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]+