Click here to Skip to main content
15,895,142 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Somebody stop me Pin
Super Lloyd17-May-19 16:02
Super Lloyd17-May-19 16:02 
GeneralRe: Somebody stop me Pin
honey the codewitch17-May-19 16:06
mvahoney the codewitch17-May-19 16:06 
GeneralRe: Somebody stop me Pin
Super Lloyd17-May-19 16:11
Super Lloyd17-May-19 16:11 
GeneralRe: Somebody stop me Pin
honey the codewitch17-May-19 16:16
mvahoney the codewitch17-May-19 16:16 
GeneralRe: Somebody stop me Pin
Super Lloyd17-May-19 16:24
Super Lloyd17-May-19 16:24 
GeneralRe: Somebody stop me Pin
honey the codewitch17-May-19 16:15
mvahoney the codewitch17-May-19 16:15 
GeneralRe: Somebody stop me Pin
Super Lloyd17-May-19 16:27
Super Lloyd17-May-19 16:27 
GeneralRe: Somebody stop me Pin
honey the codewitch17-May-19 16:32
mvahoney the codewitch17-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
Super Lloyd17-May-19 18:41 
GeneralRe: Somebody stop me Pin
honey the codewitch17-May-19 18:44
mvahoney the codewitch17-May-19 18:44 
GeneralRe: Somebody stop me Pin
Super Lloyd17-May-19 19:03
Super Lloyd17-May-19 19:03 
GeneralRe: Somebody stop me Pin
honey the codewitch17-May-19 19:06
mvahoney the codewitch17-May-19 19:06 
GeneralRe: Somebody stop me Pin
Super Lloyd17-May-19 20:30
Super Lloyd17-May-19 20:30 
GeneralRe: Somebody stop me Pin
Super Lloyd17-May-19 22:18
Super Lloyd17-May-19 22:18 
GeneralRe: Somebody stop me Pin
honey the codewitch18-May-19 1:49
mvahoney the codewitch18-May-19 1:49 
GeneralRe: Somebody stop me Pin
honey the codewitch17-May-19 18:45
mvahoney the codewitch17-May-19 18:45 
GeneralRe: Somebody stop me Pin
honey the codewitch17-May-19 16:38
mvahoney the codewitch17-May-19 16:38 
GeneralRe: Somebody stop me Pin
Super Lloyd17-May-19 18:40
Super Lloyd17-May-19 18:40 
GeneralRe: Somebody stop me Pin
honey the codewitch17-May-19 18:42
mvahoney the codewitch17-May-19 18:42 
GeneralAI: Threat or panacea? Pin
MikeTheFid17-May-19 4:59
MikeTheFid17-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
mveOriginalGriff17-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
User 842017-May-19 5:50
User 842017-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.