Click here to Skip to main content
15,914,820 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: So this is cool, compositional parsing with a recursive descent parser! Pin
Greg Utas31-Dec-19 4:51
professionalGreg Utas31-Dec-19 4:51 
GeneralRe: So this is cool, compositional parsing with a recursive descent parser! Pin
honey the codewitch31-Dec-19 4:52
mvahoney the codewitch31-Dec-19 4:52 
GeneralRe: So this is cool, compositional parsing with a recursive descent parser! Pin
honey the codewitch30-Dec-19 18:33
mvahoney the codewitch30-Dec-19 18:33 
GeneralRe: So this is cool, compositional parsing with a recursive descent parser! Pin
PIEBALDconsult30-Dec-19 13:48
mvePIEBALDconsult30-Dec-19 13:48 
GeneralRe: So this is cool, compositional parsing with a recursive descent parser! Pin
NeverJustHere30-Dec-19 18:32
NeverJustHere30-Dec-19 18:32 
GeneralRe: So this is cool, compositional parsing with a recursive descent parser! Pin
honey the codewitch30-Dec-19 18:37
mvahoney the codewitch30-Dec-19 18:37 
GeneralRe: So this is cool, compositional parsing with a recursive descent parser! Pin
Member 1298255831-Dec-19 3:58
Member 1298255831-Dec-19 3:58 
GeneralRe: So this is cool, compositional parsing with a recursive descent parser! Pin
honey the codewitch31-Dec-19 4:04
mvahoney the codewitch31-Dec-19 4:04 
A subparser is exactly what you said. The only thing that makes it special is nothing. It's just a parser. But the other parser knows how to call it. That's important, because the other parser delegates to it.

They share the same lexer and symbol table but different parse tables.

And yes, effectively, all a follows does as i'm meaning it here is augment the follows set (in this case for the start production) - this is so the master parser can use the subparser during its own parse. So the follows set addition is so you can stop the subordinate parse when you need to, such as terminating a type declaration on a trailing } so it can appear inside a namespace

As far as why i'm not on usenet i dunno. maybe i should be
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: So this is cool, compositional parsing with a recursive descent parser! Pin
Jörgen Andersson31-Dec-19 9:50
professionalJörgen Andersson31-Dec-19 9:50 
GeneralRemember when your video driver software didn't try to sell you stuff? Pin
honey the codewitch30-Dec-19 8:19
mvahoney the codewitch30-Dec-19 8:19 
GeneralRe: Remember when your video driver software didn't try to sell you stuff? Pin
Greg Utas30-Dec-19 8:42
professionalGreg Utas30-Dec-19 8:42 
GeneralRe: Remember when your video driver software didn't try to sell you stuff? Pin
honey the codewitch30-Dec-19 8:44
mvahoney the codewitch30-Dec-19 8:44 
GeneralRe: Remember when your video driver software didn't try to sell you stuff? Pin
Greg Utas30-Dec-19 8:58
professionalGreg Utas30-Dec-19 8:58 
GeneralRe: Remember when your video driver software didn't try to sell you stuff? Pin
honey the codewitch30-Dec-19 9:00
mvahoney the codewitch30-Dec-19 9:00 
GeneralRe: Remember when your video driver software didn't try to sell you stuff? Pin
Eddy Vluggen30-Dec-19 9:09
professionalEddy Vluggen30-Dec-19 9:09 
GeneralRe: Remember when your video driver software didn't try to sell you stuff? Pin
honey the codewitch30-Dec-19 9:10
mvahoney the codewitch30-Dec-19 9:10 
GeneralRe: Remember when your video driver software didn't try to sell you stuff? Pin
Eddy Vluggen30-Dec-19 9:12
professionalEddy Vluggen30-Dec-19 9:12 
GeneralRe: Remember when your video driver software didn't try to sell you stuff? Pin
pkfox30-Dec-19 10:36
professionalpkfox30-Dec-19 10:36 
GeneralRe: Remember when your video driver software didn't try to sell you stuff? Pin
dandy7230-Dec-19 11:01
dandy7230-Dec-19 11:01 
GeneralAnd now for something completely different... Pin
OriginalGriff30-Dec-19 2:33
mveOriginalGriff30-Dec-19 2:33 
GeneralRe: And now for something completely different... Pin
Mark_Wallace30-Dec-19 2:59
Mark_Wallace30-Dec-19 2:59 
GeneralRe: And now for something completely different... Pin
Richard MacCutchan30-Dec-19 3:08
mveRichard MacCutchan30-Dec-19 3:08 
GeneralRe: And now for something completely different... Pin
Mark_Wallace30-Dec-19 3:52
Mark_Wallace30-Dec-19 3:52 
GeneralRe: And now for something completely different... Pin
g_p_l30-Dec-19 4:02
g_p_l30-Dec-19 4:02 
GeneralRe: And now for something completely different... Pin
Mark_Wallace30-Dec-19 4:42
Mark_Wallace30-Dec-19 4:42 

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.