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,295 of 2,753   
   Evangelos Drikos to Hans Aberg   
   Re: LR(1) Parsing : Error Handling & Rec   
   21 Jul 14 15:20:49   
   
   From: drikosev@otenet.gr   
      
   On 7/20/14, 2:38 AM, Hans Aberg wrote:   
   >> A GLR parser splits the parses in face of an ambiguity, which might be   
   >> used instead. Bison supports this, but currently the actions during a   
   >> parse split are not executed, and so cannot set context variables for   
   >> the lexer, until the merge.   
      
   In short, your idea can be applied only as a hack; it might work   
   sometimes, depends on the grammar. If that is what you meant we don't   
   disagree.   
   [In my experience, it's a rare parser that is useful and doesn't depend on   
   some hacks. -John]   
      
   --- 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