Click here to Skip to main content
14,550,696 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: Little known fact...believe it or don't Pin
OriginalGriff31-Dec-19 21:55
mveOriginalGriff31-Dec-19 21:55 
GeneralRe: Little known fact...believe it or don't Pin
Daniel Pfeffer1-Jan-20 0:50
professionalDaniel Pfeffer1-Jan-20 0:50 
GeneralRe: Little known fact...believe it or don't Pin
Ravi Bhavnani1-Jan-20 9:07
professionalRavi Bhavnani1-Jan-20 9:07 
GeneralRe: Little known fact...believe it or don't Pin
Mike Hankey1-Jan-20 9:31
professionalMike Hankey1-Jan-20 9:31 
GeneralSecond call, Mr. Cthulhu Pin
PIEBALDconsult31-Dec-19 12:14
professionalPIEBALDconsult31-Dec-19 12:14 
GeneralRe: Second call, Mr. Cthulhu Pin
Super Lloyd31-Dec-19 20:18
MemberSuper Lloyd31-Dec-19 20:18 
GeneralRe: Second call, Mr. Cthulhu Pin
Mark_Wallace31-Dec-19 21:54
MemberMark_Wallace31-Dec-19 21:54 
GeneralI'm finally ready for an article. I'm exhausted Pin
honey the codewitch31-Dec-19 7:21
mvahoney the codewitch31-Dec-19 7:21 
I've spent several days adding a bunch of foundational features to Parsley like composition parsing, lex priorities, additional firsts and follows hints and bugfixing.

The upshot, is it now parses Slang except for directives and comments both of which it currently discards, but i'll fix it shortly. It's not critical. I'm taking a novel approach with comment preservation - or at least I haven't seen it using other parsers and lexers. I have three major states for a terminal - normal, hidden, or skipped. If it's skipped, it still picks it up in the lexer and gives you the skipped tokens in each advance in the parser, as a separate list, so you can get them "out of band" and not interfere with the regular parse. In my hand-rolled slang parser i just checked for comments everywhere, which is buggy and stupid, but sometimes stupid works.

I still have quite a bit to do before it can do all the things the hand rolled parser can do, but at this point it's 80% my grammar that needs to be coded.

The grammar parses, but i'll be putting in => actions to build the codedom tree from the parse tree. That way if i call EvaluateXXXX() on the parser i get a codedom tree back.

At that point it will do what the hand rolled parser does and i can swap it out and pray i got it right Laugh | :laugh:

But for now, an article will have to suffice.
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: I'm finally ready for an article. I'm exhausted Pin
Southmountain31-Dec-19 8:09
MemberSouthmountain31-Dec-19 8:09 
GeneralRe: I'm finally ready for an article. I'm exhausted Pin
honey the codewitch31-Dec-19 8:13
mvahoney the codewitch31-Dec-19 8:13 
GeneralRe: I'm finally ready for an article. I'm exhausted Pin
Greg Utas31-Dec-19 10:19
professionalGreg Utas31-Dec-19 10:19 
GeneralRe: I'm finally ready for an article. I'm exhausted Pin
honey the codewitch31-Dec-19 10:23
mvahoney the codewitch31-Dec-19 10:23 
GeneralRe: I'm finally ready for an article. I'm exhausted Pin
honey the codewitch31-Dec-19 12:24
mvahoney the codewitch31-Dec-19 12:24 
GeneralRe: I'm finally ready for an article. I'm exhausted Pin
Greg Utas31-Dec-19 13:38
professionalGreg Utas31-Dec-19 13:38 
GeneralRe: I'm finally ready for an article. I'm exhausted Pin
honey the codewitch31-Dec-19 17:21
mvahoney the codewitch31-Dec-19 17:21 
GeneralRe: I'm finally ready for an article. I'm exhausted Pin
Greg Utas1-Jan-20 0:39
professionalGreg Utas1-Jan-20 0:39 
GeneralRe: I'm finally ready for an article. I'm exhausted Pin
honey the codewitch1-Jan-20 5:54
mvahoney the codewitch1-Jan-20 5:54 
GeneralRe: I'm finally ready for an article. I'm exhausted Pin
Greg Utas1-Jan-20 6:26
professionalGreg Utas1-Jan-20 6:26 
QuestionRe: I'm finally ready for an article. I'm exhausted Pin
honey the codewitch1-Jan-20 13:45
mvahoney the codewitch1-Jan-20 13:45 
AnswerRe: I'm finally ready for an article. I'm exhausted Pin
Greg Utas1-Jan-20 15:25
professionalGreg Utas1-Jan-20 15:25 
GeneralRe: I'm finally ready for an article. I'm exhausted Pin
honey the codewitch1-Jan-20 15:27
mvahoney the codewitch1-Jan-20 15:27 
Generalat least it's sunny there Pin
honey the codewitch31-Dec-19 5:39
mvahoney the codewitch31-Dec-19 5:39 
GeneralRe: at least it's sunny there Pin
Ron Anders31-Dec-19 5:52
MemberRon Anders31-Dec-19 5:52 
GeneralRe: at least it's sunny there Pin
Cp-Coder31-Dec-19 6:24
MemberCp-Coder31-Dec-19 6:24 
GeneralRe: at least it's sunny there Pin
Ron Anders31-Dec-19 6:29
MemberRon Anders31-Dec-19 6:29 

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.