Click here to Skip to main content
14,549,949 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: I'm stumped and in the worst way. Pin
honey the codewitch20-Feb-20 4:29
mvahoney the codewitch20-Feb-20 4:29 
GeneralRe: I'm stumped and in the worst way. Pin
Jörgen Andersson20-Feb-20 4:38
professionalJörgen Andersson20-Feb-20 4:38 
GeneralRe: I'm stumped and in the worst way. Pin
honey the codewitch20-Feb-20 5:13
mvahoney the codewitch20-Feb-20 5:13 
GeneralRe: I'm stumped and in the worst way. Pin
Marc Clifton20-Feb-20 4:23
mvaMarc Clifton20-Feb-20 4:23 
GeneralRe: I'm stumped and in the worst way. Pin
  Forogar  20-Feb-20 4:26
professional  Forogar  20-Feb-20 4:26 
GeneralRe: I'm stumped and in the worst way. Pin
honey the codewitch20-Feb-20 4:30
mvahoney the codewitch20-Feb-20 4:30 
GeneralRe: I'm stumped and in the worst way. Pin
Member 798912220-Feb-20 4:55
MemberMember 798912220-Feb-20 4:55 
GeneralRe: I'm stumped and in the worst way. Pin
honey the codewitch20-Feb-20 5:12
mvahoney the codewitch20-Feb-20 5:12 
Yeah with LALR(1) is possible to do what recursive descent can't easily do in terms of error continuation.

But it's way more difficult than with an LL class parser, at least in my experience.

And then there's the stack issue, which is separate since it's building process is separate than the parse, but it relies on the parser to return the correct number of items or it fails badly stack-wise.

I implemented an ad-hoc technique where in I stop popping when I encounter an error (better the stack has too many nodes than not enough)
Real programmers use butterflies

GeneralRe: I'm stumped and in the worst way. Pin
0x01AA20-Feb-20 4:25
mve0x01AA20-Feb-20 4:25 
GeneralRe: I'm stumped and in the worst way. Pin
honey the codewitch20-Feb-20 4:31
mvahoney the codewitch20-Feb-20 4:31 
GeneralRe: I'm stumped and in the worst way. Pin
musefan20-Feb-20 4:47
Membermusefan20-Feb-20 4:47 
GeneralRe: I'm stumped and in the worst way. Pin
honey the codewitch20-Feb-20 5:09
mvahoney the codewitch20-Feb-20 5:09 
GeneralRe: I'm stumped and in the worst way. Pin
Member 1298255820-Feb-20 4:19
MemberMember 1298255820-Feb-20 4:19 
GeneralRe: I'm stumped and in the worst way. Pin
honey the codewitch20-Feb-20 4:33
mvahoney the codewitch20-Feb-20 4:33 
GeneralRe: I'm stumped and in the worst way. Pin
Member 1298255820-Feb-20 4:42
MemberMember 1298255820-Feb-20 4:42 
GeneralRe: I'm stumped and in the worst way. Pin
honey the codewitch20-Feb-20 4:54
mvahoney the codewitch20-Feb-20 4:54 
GeneralRe: I'm stumped and in the worst way. Pin
OriginalGriff20-Feb-20 4:21
mveOriginalGriff20-Feb-20 4:21 
GeneralRe: I'm stumped and in the worst way. Pin
honey the codewitch20-Feb-20 4:34
mvahoney the codewitch20-Feb-20 4:34 
GeneralRe: I'm stumped and in the worst way. Pin
OriginalGriff20-Feb-20 5:05
mveOriginalGriff20-Feb-20 5:05 
GeneralRe: I'm stumped and in the worst way. Pin
lopatir20-Feb-20 4:56
Memberlopatir20-Feb-20 4:56 
GeneralRe: I'm stumped and in the worst way. Pin
honey the codewitch20-Feb-20 5:02
mvahoney the codewitch20-Feb-20 5:02 
GeneralRe: I'm stumped and in the worst way. Pin
lopatir20-Feb-20 5:39
Memberlopatir20-Feb-20 5:39 
GeneralRe: I'm stumped and in the worst way. Pin
Gerry Schmitz20-Feb-20 6:17
mveGerry Schmitz20-Feb-20 6:17 
GeneralRe: I'm stumped and in the worst way. Pin
honey the codewitch20-Feb-20 6:30
mvahoney the codewitch20-Feb-20 6:30 
GeneralRe: I'm stumped and in the worst way. Pin
David O'Neil20-Feb-20 6:52
professionalDavid O'Neil20-Feb-20 6:52 

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.