Click here to Skip to main content
15,898,924 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: It's not my fault, but since November is call Microsoft names month... Pin
Eddy Vluggen12-Nov-21 13:43
professionalEddy Vluggen12-Nov-21 13:43 
GeneralRe: It's not my fault, but since November is call Microsoft names month... Pin
charlieg15-Nov-21 10:19
charlieg15-Nov-21 10:19 
GeneralRIP: Graeme Edge, 'The Moody Blues' :( Pin
0x01AA12-Nov-21 7:01
mve0x01AA12-Nov-21 7:01 
GeneralRe: RIP: Graeme Edge, 'The Moody Blues' :( Pin
OriginalGriff12-Nov-21 6:40
mveOriginalGriff12-Nov-21 6:40 
GeneralRe: RIP: Graeme Edge, 'The Moody Blues' :( Pin
Mike Hankey12-Nov-21 6:43
mveMike Hankey12-Nov-21 6:43 
GeneralRe: RIP: Graeme Edge, 'The Moody Blues' :( Pin
Mike Hankey12-Nov-21 6:42
mveMike Hankey12-Nov-21 6:42 
GeneralRe: RIP: Graeme Edge, 'The Moody Blues' :( Pin
Slow Eddie13-Nov-21 2:39
professionalSlow Eddie13-Nov-21 2:39 
PraiseEureka! I was stewing on a rant I made here and it clicked! Pin
honey the codewitch12-Nov-21 5:47
mvahoney the codewitch12-Nov-21 5:47 
Earlier I said I had trouble understanding the family of bottom up parse table building algorithms.

I don't want to claim I suddenly know it all but I just figured out something that I think ANTLR did based off of it.

Regular Expression engines work by matching characters in text using state machines.

These bottom up parsers work by matching tokens rules (like Foobar -> "bar" "baz") and tokens that it gathers into a stack. I crossed out tokens because that's how i sort of figured it worked before.

Anyway, I don't really care that I understand say, LALR table building a bit better now. But regarding ANTLR, the gentleman who invented it used state machines to recognize and match possible dysjunctions for LL(k) parsing in an incoming token rule stream. Like when a grammar is ambiguous where k=1 but not where k=3 the difference can be made up using recognizer state machines for the additional lookahead. These would be built in a very similar way as my existing code that builds LR(1) parsers.

LL(k) has always been an elusive beast for me where k>1. I don't understand the math, nor did I get the concepts as they were presented to me.

But perhaps I have something here, after all this time now.

If I can get to LL(k) it opens up the possibility of being able to write grammars to parse languages like C# without resorting to custom parsing code for parts of the grammar, or resorting to GLR which is awful to use in practice.

Anyway, woo! I have so much work in front of me now between upcoming CP contributions and actual work that I won't be able to get to this for a bit, but it gives me time for it to sort of crystalize in my head before I start writing code.
Real programmers use butterflies

GeneralRe: Eureka! I was stewing on a rant I made here and it clicked! Pin
0x01AA12-Nov-21 5:53
mve0x01AA12-Nov-21 5:53 
GeneralRe: Eureka! I was stewing on a rant I made here and it clicked! Pin
honey the codewitch12-Nov-21 6:06
mvahoney the codewitch12-Nov-21 6:06 
GeneralRe: Eureka! I was stewing on a rant I made here and it clicked! Pin
0x01AA12-Nov-21 7:00
mve0x01AA12-Nov-21 7:00 
GeneralRe: Eureka! I was stewing on a rant I made here and it clicked! Pin
honey the codewitch12-Nov-21 7:23
mvahoney the codewitch12-Nov-21 7:23 
GeneralRe: Eureka! I was stewing on a rant I made here and it clicked! Pin
Jon McKee12-Nov-21 10:38
professionalJon McKee12-Nov-21 10:38 
GeneralRe: Eureka! I was stewing on a rant I made here and it clicked! Pin
honey the codewitch12-Nov-21 11:11
mvahoney the codewitch12-Nov-21 11:11 
GeneralRe: Eureka! I was stewing on a rant I made here and it clicked! Pin
Jon McKee12-Nov-21 11:34
professionalJon McKee12-Nov-21 11:34 
GeneralRe: Eureka! I was stewing on a rant I made here and it clicked! Pin
honey the codewitch12-Nov-21 11:40
mvahoney the codewitch12-Nov-21 11:40 
GeneralRe: Eureka! I was stewing on a rant I made here and it clicked! Pin
honey the codewitch12-Nov-21 11:49
mvahoney the codewitch12-Nov-21 11:49 
GeneralRe: Eureka! I was stewing on a rant I made here and it clicked! Pin
Jon McKee12-Nov-21 16:14
professionalJon McKee12-Nov-21 16:14 
GeneralRe: Eureka! I was stewing on a rant I made here and it clicked! Pin
honey the codewitch12-Nov-21 17:11
mvahoney the codewitch12-Nov-21 17:11 
GeneralRe: Eureka! I was stewing on a rant I made here and it clicked! Pin
BernardIE531712-Nov-21 13:23
BernardIE531712-Nov-21 13:23 
GeneralRe: Eureka! I was stewing on a rant I made here and it clicked! Pin
honey the codewitch12-Nov-21 13:50
mvahoney the codewitch12-Nov-21 13:50 
GeneralWhat is Azure? Pin
Kevin Marois12-Nov-21 5:34
professionalKevin Marois12-Nov-21 5:34 
GeneralRe: What is Azure? PinPopular
Richard Deeming12-Nov-21 5:52
mveRichard Deeming12-Nov-21 5:52 
GeneralRe: What is Azure? Pin
Kevin Marois12-Nov-21 6:10
professionalKevin Marois12-Nov-21 6:10 
GeneralRe: What is Azure? Pin
Richard Deeming12-Nov-21 6:23
mveRichard Deeming12-Nov-21 6:23 

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.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   440 votes