Click here to Skip to main content
15,919,749 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
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 
This leads to some interesting thoughts.

This enables a kind of language extension capability, or even a level of language integration.

Think of something like LINQ, an extension to C# that added the Query capability and the syntactic sugar to make it easy to read/write. Imagine being able to integrate your own libraries to C# in the same way.

We also see something similar happening in the Web space, where a single source file contains CSS, Javascript and HTML to make a component. This is a parsing strategy that allows this level of plugin-ness at a source level.

In this space, the transition between languages is indicated through tags whereas in the LINQ example it is instead integrated into the grammar definition of C# explicitly.

Interesting to see where this goes. (As someone who wrestles too often with Python Pandas and it's lack of expressive integrated syntactic sugar to avoid writing function calls for everything)
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 
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 

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.