Click here to Skip to main content
14,360,061 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: This is kind of an ethical question. Pin
Chris Maunder28-Jul-19 15:41
adminChris Maunder28-Jul-19 15:41 
GeneralRe: This is kind of an ethical question. Pin
OriginalGriff28-Jul-19 21:23
protectorOriginalGriff28-Jul-19 21:23 
AnswerRe: This is kind of an ethical question. Pin
Asday29-Jul-19 3:05
memberAsday29-Jul-19 3:05 
GeneralRe: This is kind of an ethical question. Pin
honey the codewitch29-Jul-19 3:31
memberhoney the codewitch29-Jul-19 3:31 
AnswerRe: This is kind of an ethical question. Pin
Stuart Dootson29-Jul-19 6:03
professionalStuart Dootson29-Jul-19 6:03 
GeneralRe: This is kind of an ethical question. Pin
honey the codewitch29-Jul-19 6:43
memberhoney the codewitch29-Jul-19 6:43 
GeneralRe: This is kind of an ethical question. Pin
Stuart Dootson29-Jul-19 11:13
professionalStuart Dootson29-Jul-19 11:13 
GeneralRe: This is kind of an ethical question. Pin
honey the codewitch29-Jul-19 11:17
memberhoney the codewitch29-Jul-19 11:17 
I'm familiar with PEG. Some of it is quite nice, but my main issue with it is it's far too easy to introduce ambiguities into the grammar, which makes it fine for parsing say, JSON or even xml or something, but maybe not javascript or something else where there's a lot of unseen ambiguity that must be accounted for (trailing else on a nested if being one example)

PEG doesn't really have grammar conflicts. For really complicated grammars, you want conflict detection.

I've considered implementing one, as it would be if nothing else, in the interest of completeness. It doesn't use the CFG model like the main major parsing algos do, so it would take some doing. I don't have good material to show me how they work (the memoization techniques they use for example)

I could make one now, but it wouldn't be efficient without that stuff.
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.

Questioncan i borrow your brain? Pin
honey the codewitch27-Jul-19 9:20
memberhoney the codewitch27-Jul-19 9:20 
AnswerRe: can i borrow your brain? Pin
BillWoodruff27-Jul-19 10:38
mveBillWoodruff27-Jul-19 10:38 
GeneralRe: can i borrow your brain? Pin
honey the codewitch27-Jul-19 10:40
memberhoney the codewitch27-Jul-19 10:40 
GeneralRe: can i borrow your brain? Pin
BillWoodruff27-Jul-19 10:47
mveBillWoodruff27-Jul-19 10:47 
GeneralRe: can i borrow your brain? Pin
honey the codewitch27-Jul-19 10:52
memberhoney the codewitch27-Jul-19 10:52 
AnswerRe: can i borrow your brain? Pin
PIEBALDconsult27-Jul-19 11:30
protectorPIEBALDconsult27-Jul-19 11:30 
GeneralRe: can i borrow your brain? Pin
honey the codewitch27-Jul-19 11:46
memberhoney the codewitch27-Jul-19 11:46 
AnswerRe: can i borrow your brain? Pin
Stuart Dootson29-Jul-19 11:16
professionalStuart Dootson29-Jul-19 11:16 
GeneralRe: can i borrow your brain? Pin
honey the codewitch29-Jul-19 11:20
memberhoney the codewitch29-Jul-19 11:20 
GeneralGetting back into it Pin
Eaststander27-Jul-19 4:50
memberEaststander27-Jul-19 4:50 
GeneralRe: Getting back into it Pin
OriginalGriff27-Jul-19 5:16
protectorOriginalGriff27-Jul-19 5:16 
GeneralRe: Getting back into it Pin
honey the codewitch27-Jul-19 8:21
memberhoney the codewitch27-Jul-19 8:21 
GeneralRe: Getting back into it Pin
OriginalGriff27-Jul-19 9:18
protectorOriginalGriff27-Jul-19 9:18 
GeneralRe: Getting back into it Pin
honey the codewitch27-Jul-19 9:26
memberhoney the codewitch27-Jul-19 9:26 
GeneralRe: Getting back into it Pin
OriginalGriff27-Jul-19 9:44
protectorOriginalGriff27-Jul-19 9:44 
GeneralRe: Getting back into it Pin
David O'Neil27-Jul-19 9:18
professionalDavid O'Neil27-Jul-19 9:18 
GeneralRe: Getting back into it Pin
honey the codewitch27-Jul-19 9:30
memberhoney the codewitch27-Jul-19 9:30 

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.