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

 
AnswerRe: Who here knows what a pull parser or pull parsing is? Pin
PIEBALDconsult24-Dec-20 5:42
mvePIEBALDconsult24-Dec-20 5:42 
GeneralRe: Who here knows what a pull parser or pull parsing is? Pin
honey the codewitch24-Dec-20 9:50
mvahoney the codewitch24-Dec-20 9:50 
GeneralRe: Who here knows what a pull parser or pull parsing is? Pin
PIEBALDconsult24-Dec-20 10:23
mvePIEBALDconsult24-Dec-20 10:23 
GeneralRe: Who here knows what a pull parser or pull parsing is? Pin
honey the codewitch24-Dec-20 10:54
mvahoney the codewitch24-Dec-20 10:54 
GeneralRe: Who here knows what a pull parser or pull parsing is? Pin
PIEBALDconsult24-Dec-20 11:32
mvePIEBALDconsult24-Dec-20 11:32 
GeneralRe: Who here knows what a pull parser or pull parsing is? Pin
honey the codewitch24-Dec-20 11:45
mvahoney the codewitch24-Dec-20 11:45 
GeneralRe: Who here knows what a pull parser or pull parsing is? Pin
PIEBALDconsult24-Dec-20 13:17
mvePIEBALDconsult24-Dec-20 13:17 
GeneralRe: Who here knows what a pull parser or pull parsing is? Pin
honey the codewitch24-Dec-20 13:24
mvahoney the codewitch24-Dec-20 13:24 
Everything you're talking about, because of your abstraction I can tell you you're loading strings into memory and operating on them in memory. Because of your higher level determining these things it's only operating on the strings after the fact. I am not. Now, for .NET that doesn't matter. For an 8kB arduino it does. Point is, our parsers are fundamentally different in that respect.

Also when you said normalization is for a higher level to determine you misunderstand me. I parse no numbers, no strings, nothing, unless you actually request it. That's what I mean by no normalization. Based on what you're telling me of your architecture you are normalizing unconditionally at the parser level i suspect - am almost certain. I do not parse every field or value i encounter. I skip over most of them. they never get turned into anything in value space.

literally most of the time I'm advancing like this:

C++
while(m_source.currentChar()!='{some context sensitive stopping point value}') { m_source.advance(); /* moves one char */} 

Real programmers use butterflies

GeneralRe: Who here knows what a pull parser or pull parsing is? Pin
PIEBALDconsult24-Dec-20 14:23
mvePIEBALDconsult24-Dec-20 14:23 
GeneralRe: Who here knows what a pull parser or pull parsing is? Pin
honey the codewitch24-Dec-20 15:56
mvahoney the codewitch24-Dec-20 15:56 
GeneralRe: Who here knows what a pull parser or pull parsing is? Pin
honey the codewitch24-Dec-20 16:03
mvahoney the codewitch24-Dec-20 16:03 
AnswerRe: Who here knows what a pull parser or pull parsing is? Pin
User 1493685330-Dec-20 10:25
User 1493685330-Dec-20 10:25 
JokeI'm isolating over Christmas, so... Pin
DerekT-P22-Dec-20 10:23
professionalDerekT-P22-Dec-20 10:23 
GeneralRe: I'm isolating over Christmas, so... Pin
DRHuff22-Dec-20 11:18
DRHuff22-Dec-20 11:18 
GeneralRe: I'm isolating over Christmas, so... Pin
Joe Woodbury22-Dec-20 11:28
professionalJoe Woodbury22-Dec-20 11:28 
GeneralDid I fall asleep for a few months, and it's April 1st? Pin
OriginalGriff22-Dec-20 10:18
mveOriginalGriff22-Dec-20 10:18 
GeneralRe: Did I fall asleep for a few months, and it's April 1st? Pin
DerekT-P22-Dec-20 10:25
professionalDerekT-P22-Dec-20 10:25 
GeneralRe: Did I fall asleep for a few months, and it's April 1st? Pin
OriginalGriff22-Dec-20 10:26
mveOriginalGriff22-Dec-20 10:26 
GeneralRe: Did I fall asleep for a few months, and it's April 1st? Pin
RickZeeland22-Dec-20 19:36
mveRickZeeland22-Dec-20 19:36 
GeneralRe: Did I fall asleep for a few months, and it's April 1st? Pin
Mike Hankey23-Dec-20 2:10
mveMike Hankey23-Dec-20 2:10 
GeneralRe: Did I fall asleep for a few months, and it's April 1st? Pin
dandy7223-Dec-20 5:35
dandy7223-Dec-20 5:35 
GeneralThought of the Day PinPopular
OriginalGriff22-Dec-20 4:35
mveOriginalGriff22-Dec-20 4:35 
GeneralRe: Thought of the Day Pin
W Balboos, GHB22-Dec-20 5:01
W Balboos, GHB22-Dec-20 5:01 
GeneralRe: Thought of the Day Pin
jeron122-Dec-20 5:14
jeron122-Dec-20 5:14 
GeneralRe: Thought of the Day Pin
Daniel Pfeffer22-Dec-20 7:25
professionalDaniel Pfeffer22-Dec-20 7:25 

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.