Click here to Skip to main content
14,453,311 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: Mac: replaced HDD with SSD Pin
foggles7-Jan-20 7:49
Memberfoggles7-Jan-20 7:49 
GeneralRe: Mac: replaced HDD with SSD Pin
dandy722-Jan-20 3:52
Memberdandy722-Jan-20 3:52 
GeneralRe: Mac: replaced HDD with SSD Pin
raddevus2-Jan-20 5:11
communityengineerraddevus2-Jan-20 5:11 
GeneralRe: Mac: replaced HDD with SSD Pin
dandy723-Jan-20 4:31
Memberdandy723-Jan-20 4:31 
GeneralRe: Mac: replaced HDD with SSD Pin
matblue253-Jan-20 10:31
Membermatblue253-Jan-20 10:31 
GeneralOuch. I want to get out and push Pin
honey the codewitch1-Jan-20 6:12
mvahoney the codewitch1-Jan-20 6:12 
GeneralRe: Ouch. I want to get out and push Pin
0x01AA1-Jan-20 6:37
professional0x01AA1-Jan-20 6:37 
GeneralRe: Ouch. I want to get out and push Pin
honey the codewitch1-Jan-20 6:43
mvahoney the codewitch1-Jan-20 6:43 
I mean, it's not so much feeling bad, but knowing I can improve it, seeing as how i think my hand written parser is faster right now too thought it really should be *at least* as slow.

Or maybe i'm just expecting too much of it. Unlike PCK it can't stream - because it's recursive descent!, so it has to parse the entire stream into memory before you can have it.

The lag time sucks for large documents. With PCK i was never sure how "fast" it was, because it would start spitting nodes at me instantaneously - it streamed - it was a pull parser generator so it made parsers like Microsoft's XmlReader interface. When building the tree there was lag though, but it was a separate process in PCK. In Parsley it's integrated to the parse. Hard to profile each individually but not impossible.

Unfortunately, I can't generate FIRSTS(k) and FOLLOWS(k) sets for k>1 - I just don't know how and can't figure it out though i read a research paper that gave me an idea, i have yet to try it.

Then *maybe* with a table driven parser i could parse C#, but so far what i've seen of antlr, it can't do it.
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.

GeneralRe: Ouch. I want to get out and push Pin
Greg Utas1-Jan-20 7:29
professionalGreg Utas1-Jan-20 7:29 
GeneralRe: Ouch. I want to get out and push Pin
honey the codewitch1-Jan-20 7:31
mvahoney the codewitch1-Jan-20 7:31 
GeneralRe: Ouch. I want to get out and push Pin
0x01AA1-Jan-20 7:48
professional0x01AA1-Jan-20 7:48 
GeneralRe: Ouch. I want to get out and push Pin
honey the codewitch1-Jan-20 7:50
mvahoney the codewitch1-Jan-20 7:50 
JokeRe: Ouch. I want to get out and push Pin
0x01AA1-Jan-20 8:04
professional0x01AA1-Jan-20 8:04 
GeneralRe: Ouch. I want to get out and push Pin
honey the codewitch1-Jan-20 12:29
mvahoney the codewitch1-Jan-20 12:29 
GeneralRe: Ouch. I want to get out and push Pin
0x01AA4-Jan-20 4:31
professional0x01AA4-Jan-20 4:31 
GeneralRe: Ouch. I want to get out and push Pin
honey the codewitch4-Jan-20 4:36
mvahoney the codewitch4-Jan-20 4:36 
GeneralRe: Ouch. I want to get out and push Pin
Greg Utas1-Jan-20 7:57
professionalGreg Utas1-Jan-20 7:57 
GeneralRe: Ouch. I want to get out and push Pin
0x01AA1-Jan-20 8:46
professional0x01AA1-Jan-20 8:46 
GeneralHappy new year to everyone! Pin
OriginalGriff1-Jan-20 0:59
communityengineerOriginalGriff1-Jan-20 0:59 
GeneralRe: Happy new year to everyone! PinPopular
Nelek1-Jan-20 1:07
protectorNelek1-Jan-20 1:07 
GeneralRe: Happy new year to everyone! Pin
Jon McKee1-Jan-20 1:46
professionalJon McKee1-Jan-20 1:46 
GeneralRe: Happy new year to everyone! Pin
Arthur V. Ratz1-Jan-20 2:33
mvaArthur V. Ratz1-Jan-20 2:33 
GeneralRe: Happy new year to everyone! Pin
Cp-Coder1-Jan-20 2:34
MemberCp-Coder1-Jan-20 2:34 
GeneralRe: Happy new year to everyone! Pin
Eddy Vluggen1-Jan-20 2:39
professionalEddy Vluggen1-Jan-20 2:39 
GeneralRe: Happy new year to everyone! Pin
Slacker0071-Jan-20 2:42
professionalSlacker0071-Jan-20 2:42 

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.