Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

recursive descent parser

770474Mar 20 2010 — edited Mar 21 2010
anyone have and RDP that can handle the following grammar?
<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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 18 2010
Added on Mar 20 2010
12 comments
647 views