A parser for dice strings such as 1d20+2 .