Click here to Skip to main content
15,887,328 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.

 
GeneralRuminations on parsing. Pin
honey the codewitch23-Nov-23 17:01
mvahoney the codewitch23-Nov-23 17:01 
GeneralRe: Ruminations on parsing. Pin
Daniel Pfeffer23-Nov-23 20:47
professionalDaniel Pfeffer23-Nov-23 20:47 
GeneralRe: Ruminations on parsing. Pin
honey the codewitch23-Nov-23 23:37
mvahoney the codewitch23-Nov-23 23:37 
GeneralRe: Ruminations on parsing. Pin
Bruno van Dooren23-Nov-23 21:57
mvaBruno van Dooren23-Nov-23 21:57 
GeneralRe: Ruminations on parsing. Pin
honey the codewitch23-Nov-23 23:35
mvahoney the codewitch23-Nov-23 23:35 
GeneralRe: Ruminations on parsing. Pin
Bruno van Dooren24-Nov-23 0:48
mvaBruno van Dooren24-Nov-23 0:48 
GeneralRe: Ruminations on parsing. Pin
honey the codewitch24-Nov-23 4:34
mvahoney the codewitch24-Nov-23 4:34 
GeneralRe: Ruminations on parsing. Pin
jschell24-Nov-23 2:38
jschell24-Nov-23 2:38 
honey the codewitch wrote:
it is virtually always worth it to hand roll your own parser


Of course 'worth' is relative.

But I am rather sure that most experienced compiler/interpretive writers, those that do it for reasons besides just a toy, always hand modify the results.

honey the codewitch wrote:
and to create a context free grammar to describe that language anyway.


If you are going to call it a language then you probably really must do that.

honey the codewitch wrote:
I spent a long time to come up with the above 3 little points


I worked on an internal company product years ago where the original developer didn't understand any of that.

He, literally, did not even write a real parser. Rather the interpreter read the source code every time. So a loop would re-process the 'while' text each time through the loop. No surprise that the users constantly complained about the speed.


honey the codewitch wrote:
I didn't get saddled financially for it though, so yay for tha


The only post college degree class I ever took was an introduction to Compiler Theory. I consider that the best class I ever took. Also the most fun.
GeneralRe: Ruminations on parsing. Pin
honey the codewitch24-Nov-23 4:37
mvahoney the codewitch24-Nov-23 4:37 
GeneralRe: Ruminations on parsing. Pin
Richard Andrew x6424-Nov-23 10:22
professionalRichard Andrew x6424-Nov-23 10:22 
GeneralRe: Ruminations on parsing. Pin
honey the codewitch24-Nov-23 12:00
mvahoney the codewitch24-Nov-23 12:00 
GeneralRe: Ruminations on parsing. Pin
Mircea Neacsu24-Nov-23 13:32
Mircea Neacsu24-Nov-23 13:32 
GeneralRe: Ruminations on parsing. Pin
jschell25-Nov-23 6:52
jschell25-Nov-23 6:52 
GeneralRe: Ruminations on parsing. Pin
honey the codewitch25-Nov-23 7:32
mvahoney the codewitch25-Nov-23 7:32 
GeneralRe: Ruminations on parsing. Pin
jschell27-Nov-23 5:47
jschell27-Nov-23 5:47 
GeneralRe: Ruminations on parsing. Pin
jschell25-Nov-23 6:48
jschell25-Nov-23 6:48 
GeneralRe: Ruminations on parsing. Pin
honey the codewitch25-Nov-23 7:27
mvahoney the codewitch25-Nov-23 7:27 
GeneralRe: Ruminations on parsing. Pin
jschell27-Nov-23 5:49
jschell27-Nov-23 5:49 
GeneralRe: Ruminations on parsing. Pin
Greg Utas24-Nov-23 15:05
professionalGreg Utas24-Nov-23 15:05 
GeneralRe: Ruminations on parsing. Pin
honey the codewitch25-Nov-23 4:49
mvahoney the codewitch25-Nov-23 4:49 
GeneralFarming Pin
trønderen23-Nov-23 13:52
trønderen23-Nov-23 13:52 
GeneralRe: Farming Pin
devenv.exe23-Nov-23 15:06
professionaldevenv.exe23-Nov-23 15:06 
GeneralRe: Farming Pin
Gerry Schmitz23-Nov-23 15:44
mveGerry Schmitz23-Nov-23 15:44 
GeneralRe: Farming Pin
englebart23-Nov-23 16:32
professionalenglebart23-Nov-23 16:32 
GeneralRe: Farming Pin
charlieg24-Nov-23 23:46
charlieg24-Nov-23 23:46 

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.