Click here to Skip to main content
15,851,242 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 18:01
mvahoney the codewitch23-Nov-23 18:01 
GeneralRe: Ruminations on parsing. Pin
Daniel Pfeffer23-Nov-23 21:47
professionalDaniel Pfeffer23-Nov-23 21:47 
GeneralRe: Ruminations on parsing. Pin
honey the codewitch24-Nov-23 0:37
mvahoney the codewitch24-Nov-23 0:37 
GeneralRe: Ruminations on parsing. Pin
Bruno van Dooren23-Nov-23 22:57
mvaBruno van Dooren23-Nov-23 22:57 
GeneralRe: Ruminations on parsing. Pin
honey the codewitch24-Nov-23 0:35
mvahoney the codewitch24-Nov-23 0:35 
GeneralRe: Ruminations on parsing. Pin
Bruno van Dooren24-Nov-23 1:48
mvaBruno van Dooren24-Nov-23 1:48 
GeneralRe: Ruminations on parsing. Pin
honey the codewitch24-Nov-23 5:34
mvahoney the codewitch24-Nov-23 5:34 
GeneralRe: Ruminations on parsing. Pin
jschell24-Nov-23 3:38
jschell24-Nov-23 3: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 5:37
mvahoney the codewitch24-Nov-23 5:37 
GeneralRe: Ruminations on parsing. Pin
Richard Andrew x6424-Nov-23 11:22
professionalRichard Andrew x6424-Nov-23 11:22 
GeneralRe: Ruminations on parsing. Pin
honey the codewitch24-Nov-23 13:00
mvahoney the codewitch24-Nov-23 13:00 
GeneralRe: Ruminations on parsing. Pin
Mircea Neacsu24-Nov-23 14:32
Mircea Neacsu24-Nov-23 14:32 
GeneralRe: Ruminations on parsing. Pin
jschell25-Nov-23 7:52
jschell25-Nov-23 7:52 
GeneralRe: Ruminations on parsing. Pin
honey the codewitch25-Nov-23 8:32
mvahoney the codewitch25-Nov-23 8:32 
GeneralRe: Ruminations on parsing. Pin
jschell27-Nov-23 6:47
jschell27-Nov-23 6:47 
GeneralRe: Ruminations on parsing. Pin
jschell25-Nov-23 7:48
jschell25-Nov-23 7:48 
GeneralRe: Ruminations on parsing. Pin
honey the codewitch25-Nov-23 8:27
mvahoney the codewitch25-Nov-23 8:27 
GeneralRe: Ruminations on parsing. Pin
jschell27-Nov-23 6:49
jschell27-Nov-23 6:49 
GeneralRe: Ruminations on parsing. Pin
Greg Utas24-Nov-23 16:05
professionalGreg Utas24-Nov-23 16:05 
GeneralRe: Ruminations on parsing. Pin
honey the codewitch25-Nov-23 5:49
mvahoney the codewitch25-Nov-23 5:49 
GeneralFarming Pin
trønderen23-Nov-23 14:52
trønderen23-Nov-23 14:52 
GeneralRe: Farming Pin
devenv.exe23-Nov-23 16:06
professionaldevenv.exe23-Nov-23 16:06 
GeneralRe: Farming Pin
Gerry Schmitz23-Nov-23 16:44
mveGerry Schmitz23-Nov-23 16:44 
GeneralRe: Farming Pin
englebart23-Nov-23 17:32
professionalenglebart23-Nov-23 17:32 
GeneralRe: Farming Pin
charlieg25-Nov-23 0:46
charlieg25-Nov-23 0: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.