home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.compilers      Compiler construction, theory, etc. (Mod      2,753 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,489 of 2,753   
   Hans-Peter Diettrich to All   
   Re: Best language for implementing compi   
   09 Mar 19 10:14:01   
   
   From: DrDiettrich1@netscape.net   
      
   Am 09.03.2019 um 07:47 schrieb mertesthomas@gmail.com:   
      
   > For parsing I don't think that pattern matching leads to correct   
   > results in all cases. I have seen too much buggy attempts to do   
   > parsing with pattern matching. Even for such simple things as   
   > lines with key=value I saw "solutions" with pattern matching, that   
   > triggered bugs when the line was not simple. A good approach for   
   > parsing is LL(1), which has nothing to do with pattern matching.   
      
   IMO bottom-up parsers (LR) do pattern matching, in contrast to top-down   
   parsers (LL). Where bottom-up parsers can suffer from shift/reduce   
   conflicts.   
      
   DoDi   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca