Click here to Skip to main content
14,243,279 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life. Technical discussions are encouraged, but click here to ask your programming questions.

The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct, no programming questions and please don't post ads.
 
GeneralRe: Somebody stop me Pin
Super Lloyd17-May-19 16:02
memberSuper Lloyd17-May-19 16:02 
GeneralRe: Somebody stop me Pin
codewitch honey crisis17-May-19 16:06
membercodewitch honey crisis17-May-19 16:06 
GeneralRe: Somebody stop me Pin
Super Lloyd17-May-19 16:11
memberSuper Lloyd17-May-19 16:11 
GeneralRe: Somebody stop me Pin
codewitch honey crisis17-May-19 16:16
membercodewitch honey crisis17-May-19 16:16 
GeneralRe: Somebody stop me Pin
Super Lloyd17-May-19 16:24
memberSuper Lloyd17-May-19 16:24 
GeneralRe: Somebody stop me Pin
codewitch honey crisis17-May-19 16:15
membercodewitch honey crisis17-May-19 16:15 
GeneralRe: Somebody stop me Pin
Super Lloyd17-May-19 16:27
memberSuper Lloyd17-May-19 16:27 
GeneralRe: Somebody stop me Pin
codewitch honey crisis17-May-19 16:32
membercodewitch honey crisis17-May-19 16:32 
If your goal is to make it work, I strongly suggest a simple recursive descent parse (hand rolled)

Your grammar is tiny, man. And dice roll syntax is not going to change. It's not a programming language - there's nothing to evolve. So maintenance wise, as a former software architect by trade, I'd advise against employing said tool.

The rationale being it's at least as, if not easier to write the parser by hand rather than complicate your build process (even slightly)

But if your goal is to learn how to use a parser generator than keep going this route.

Either way, I'll continue to help. But i could have written that recursive descent dice parser 6 times over by now. =)

Your dice grammar is a keeper in any case, as i like things that break my code.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

GeneralRe: Somebody stop me Pin
Super Lloyd17-May-19 18:41
memberSuper Lloyd17-May-19 18:41 
GeneralRe: Somebody stop me Pin
codewitch honey crisis17-May-19 18:44
membercodewitch honey crisis17-May-19 18:44 
GeneralRe: Somebody stop me Pin
Super Lloyd17-May-19 19:03
memberSuper Lloyd17-May-19 19:03 
GeneralRe: Somebody stop me Pin
codewitch honey crisis17-May-19 19:06
membercodewitch honey crisis17-May-19 19:06 
GeneralRe: Somebody stop me Pin
Super Lloyd17-May-19 20:30
memberSuper Lloyd17-May-19 20:30 
GeneralRe: Somebody stop me Pin
Super Lloyd17-May-19 22:18
memberSuper Lloyd17-May-19 22:18 
GeneralRe: Somebody stop me Pin
codewitch honey crisis18-May-19 1:49
membercodewitch honey crisis18-May-19 1:49 
GeneralRe: Somebody stop me Pin
codewitch honey crisis17-May-19 18:45
membercodewitch honey crisis17-May-19 18:45 
GeneralRe: Somebody stop me Pin
codewitch honey crisis17-May-19 16:38
membercodewitch honey crisis17-May-19 16:38 
GeneralRe: Somebody stop me Pin
Super Lloyd17-May-19 18:40
memberSuper Lloyd17-May-19 18:40 
GeneralRe: Somebody stop me Pin
codewitch honey crisis17-May-19 18:42
membercodewitch honey crisis17-May-19 18:42 
GeneralAI: Threat or panacea? Pin
MikeTheFid17-May-19 4:59
memberMikeTheFid17-May-19 4:59 
GeneralRe: AI: Threat or panacea? Pin
  Forogar  17-May-19 5:10
professional  Forogar  17-May-19 5:10 
GeneralRe: AI: Threat or panacea? Pin
OriginalGriff17-May-19 5:13
protectorOriginalGriff17-May-19 5:13 
GeneralRe: AI: Threat or panacea? Pin
ZurdoDev17-May-19 5:59
professionalZurdoDev17-May-19 5:59 
GeneralRe: AI: Threat or panacea? Pin
Mike Mullikin17-May-19 5:50
professionalMike Mullikin17-May-19 5:50 
GeneralRe: AI: Threat or panacea? Pin
  Forogar  17-May-19 7:25
professional  Forogar  17-May-19 7:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.