Click here to Skip to main content
15,899,314 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: 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 
Ever thought about writing an article about the fundamental concepts of these topics like PDA, FA, etc? I've been doing some reading because I feel like I only partially understand this and I'm having an issue understanding this particular part:
honey the codewitch wrote:
An LR parser is a PDA (push down automaton) that uses FA (finite automaton) to help its PDA process. FA is where the regex similarities come in.
With LL (aside from certain implementations of LL(k)) there's not even a corollary there because no regex style matching is used. Instead it's entirely driven top down using a decision table and a stack. Yes, it's a state machine itself, but it works so much differently than a regex thing, there's no FA involved, just a PDA.

From what I can gather, a PDA still has state transitions, so I'm at a bit of a loss here since state transitions seem to be basically what FAs are. I feel like I'm missing something important about the definition of state and/or state transitions that the articles I'm reading gloss over.

I really like the use of the term "reduce" when describing LR parsing btw. For me at least that really made your point about the difference between regex and LR parsing click in my head. At least I think it clicked D'Oh! | :doh:

EDIT: To be more clear, I'm confused as to why an LR parser is a PDA + FA but LL is just PDA. How can you have a PDA without FA, and what significance does that hold?

modified 12-Nov-21 23:06pm.

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 
GeneralRe: What is Azure? Pin
Kevin Marois12-Nov-21 6:46
professionalKevin Marois12-Nov-21 6:46 
GeneralRe: What is Azure? Pin
Gary R. Wheeler13-Nov-21 5:53
Gary R. Wheeler13-Nov-21 5:53 
GeneralRe: What is Azure? Pin
dandy7212-Nov-21 8:30
dandy7212-Nov-21 8:30 
GeneralRe: What is Azure? Pin
OriginalGriff12-Nov-21 6:01
mveOriginalGriff12-Nov-21 6:01 
GeneralRe: What is Azure? Pin
Richard MacCutchan12-Nov-21 6:09
mveRichard MacCutchan12-Nov-21 6:09 
GeneralRe: What is Azure? Pin
RickZeeland12-Nov-21 6:17
mveRickZeeland12-Nov-21 6:17 
GeneralRe: What is Azure? Pin
k505412-Nov-21 6:37
mvek505412-Nov-21 6:37 
GeneralRe: What is Azure? PinPopular
kmoorevs12-Nov-21 6:34
kmoorevs12-Nov-21 6:34 
GeneralRe: What is Azure? Pin
Kevin Marois12-Nov-21 6:53
professionalKevin Marois12-Nov-21 6:53 
GeneralRe: What is Azure? Pin
Member 1532961312-Nov-21 7:10
Member 1532961312-Nov-21 7:10 

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   452 votes