Click here to Skip to main content
15,916,835 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 6:49
foggles7-Jan-20 6:49 
GeneralRe: Mac: replaced HDD with SSD Pin
dandy722-Jan-20 2:52
dandy722-Jan-20 2:52 
GeneralRe: Mac: replaced HDD with SSD Pin
raddevus2-Jan-20 4:11
mvaraddevus2-Jan-20 4:11 
GeneralRe: Mac: replaced HDD with SSD Pin
dandy723-Jan-20 3:31
dandy723-Jan-20 3:31 
GeneralRe: Mac: replaced HDD with SSD Pin
matblue253-Jan-20 9:31
professionalmatblue253-Jan-20 9:31 
GeneralOuch. I want to get out and push Pin
honey the codewitch1-Jan-20 5:12
mvahoney the codewitch1-Jan-20 5:12 
GeneralRe: Ouch. I want to get out and push Pin
User 110609791-Jan-20 5:37
User 110609791-Jan-20 5:37 
GeneralRe: Ouch. I want to get out and push Pin
honey the codewitch1-Jan-20 5:43
mvahoney the codewitch1-Jan-20 5: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 6:29
professionalGreg Utas1-Jan-20 6:29 
GeneralRe: Ouch. I want to get out and push Pin
honey the codewitch1-Jan-20 6:31
mvahoney the codewitch1-Jan-20 6:31 
GeneralRe: Ouch. I want to get out and push Pin
User 110609791-Jan-20 6:48
User 110609791-Jan-20 6:48 
GeneralRe: Ouch. I want to get out and push Pin
honey the codewitch1-Jan-20 6:50
mvahoney the codewitch1-Jan-20 6:50 
JokeRe: Ouch. I want to get out and push Pin
User 110609791-Jan-20 7:04
User 110609791-Jan-20 7:04 
GeneralRe: Ouch. I want to get out and push Pin
honey the codewitch1-Jan-20 11:29
mvahoney the codewitch1-Jan-20 11:29 
GeneralRe: Ouch. I want to get out and push Pin
User 110609794-Jan-20 3:31
User 110609794-Jan-20 3:31 
GeneralRe: Ouch. I want to get out and push Pin
honey the codewitch4-Jan-20 3:36
mvahoney the codewitch4-Jan-20 3:36 
GeneralRe: Ouch. I want to get out and push Pin
Greg Utas1-Jan-20 6:57
professionalGreg Utas1-Jan-20 6:57 
GeneralRe: Ouch. I want to get out and push Pin
User 110609791-Jan-20 7:46
User 110609791-Jan-20 7:46 
GeneralHappy new year to everyone! PinPopular
OriginalGriff31-Dec-19 23:59
mveOriginalGriff31-Dec-19 23:59 
GeneralRe: Happy new year to everyone! PinPopular
Nelek1-Jan-20 0:07
protectorNelek1-Jan-20 0:07 
GeneralRe: Happy new year to everyone! Pin
Jon McKee1-Jan-20 0:46
professionalJon McKee1-Jan-20 0:46 
GeneralRe: Happy new year to everyone! Pin
Arthur V. Ratz1-Jan-20 1:33
professionalArthur V. Ratz1-Jan-20 1:33 
GeneralRe: Happy new year to everyone! Pin
Cp-Coder1-Jan-20 1:34
Cp-Coder1-Jan-20 1:34 
GeneralRe: Happy new year to everyone! Pin
Eddy Vluggen1-Jan-20 1:39
professionalEddy Vluggen1-Jan-20 1:39 
GeneralRe: Happy new year to everyone! Pin
Slacker0071-Jan-20 1:42
professionalSlacker0071-Jan-20 1: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.