Click here to Skip to main content
15,900,725 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 will call it a day... Pin
Slacker00731-Dec-19 5:28
professionalSlacker00731-Dec-19 5:28 
GeneralHahahahaha *cry* Pin
honey the codewitch30-Dec-19 22:00
mvahoney the codewitch30-Dec-19 22:00 
GeneralRe: Hahahahaha *cry* Pin
Marc Clifton31-Dec-19 2:39
mvaMarc Clifton31-Dec-19 2:39 
GeneralRe: Hahahahaha *cry* Pin
honey the codewitch31-Dec-19 3:46
mvahoney the codewitch31-Dec-19 3:46 
GeneralRe: Hahahahaha *cry* Pin
Jörgen Andersson31-Dec-19 3:54
professionalJörgen Andersson31-Dec-19 3:54 
GeneralRe: Hahahahaha *cry* Pin
honey the codewitch31-Dec-19 3:55
mvahoney the codewitch31-Dec-19 3:55 
GeneralRe: Hahahahaha *cry* Pin
Jörgen Andersson31-Dec-19 3:47
professionalJörgen Andersson31-Dec-19 3:47 
GeneralSo this is cool, compositional parsing with a recursive descent parser! Pin
honey the codewitch30-Dec-19 8:41
mvahoney the codewitch30-Dec-19 8:41 
So now with Parsley parsers can call other parsers. You can import several grammars and delegate different parts of parse to them, like a compositional/composing parser would.

But unlike a compositional setup, it doesn't force you to use it, meaning that rather than forcing you to define your entire grammar like legos, you can just factor where you need to.

For example, I have slang's parsing broken up into expressions, statements, members/typedecls, and namespace/compile units.

This is awesome. For starters it allows you to use it such that you can parse individual statements and expressions as well as whole compile inits.

Second, and perhaps most importantly, this allows you to break your parse up into several different "parse tables"

This means that rules from expressions will not interfere or conflict with rules from statements, nor members and such.

This is super important for LL(1) parsing where it's easy to run into conflicts as soon as things get at all non-trivial.

I'm excited about this. I'm not sure if it's a totally new idea or not but I've never seen a parser generator that could do this.
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
pkfox30-Dec-19 10:21
professionalpkfox30-Dec-19 10:21 
GeneralRe: So this is cool, compositional parsing with a recursive descent parser! Pin
honey the codewitch30-Dec-19 10:22
mvahoney the codewitch30-Dec-19 10:22 
GeneralRe: So this is cool, compositional parsing with a recursive descent parser! Pin
pkfox30-Dec-19 10:33
professionalpkfox30-Dec-19 10:33 
GeneralRe: So this is cool, compositional parsing with a recursive descent parser! Pin
honey the codewitch30-Dec-19 10:35
mvahoney the codewitch30-Dec-19 10:35 
GeneralRe: So this is cool, compositional parsing with a recursive descent parser! Pin
Richard Andrew x6430-Dec-19 11:41
professionalRichard Andrew x6430-Dec-19 11:41 
GeneralRe: So this is cool, compositional parsing with a recursive descent parser! Pin
Greg Utas30-Dec-19 15:16
professionalGreg Utas30-Dec-19 15:16 
GeneralRe: So this is cool, compositional parsing with a recursive descent parser! Pin
honey the codewitch30-Dec-19 18:35
mvahoney the codewitch30-Dec-19 18:35 
GeneralRe: So this is cool, compositional parsing with a recursive descent parser! Pin
Greg Utas31-Dec-19 0:43
professionalGreg Utas31-Dec-19 0:43 
GeneralRe: So this is cool, compositional parsing with a recursive descent parser! Pin
honey the codewitch31-Dec-19 3:52
mvahoney the codewitch31-Dec-19 3:52 
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 

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.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   494 votes