recursive descent parser

anyone have an RDP program that can handle the following grammar?

1
2
3
4
<elist>  ->  <elist>,<e>|<e>      
<e>      ->   <n>^<e>|<n>
<n>     ->    <n><d>|<d>
<d>    ->    0|1|2|3|4|5|6|7|8|9


in case you were wondering, this grammar says that something like the following can be taken as an input string.

2^2^3,15,20^2

Who tokenizes integers like that?
Topic archived. No new replies allowed.