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 1,619 of 2,753   
   jamin.hanson@googlemail.com to p...@pk.invalid   
   Re: Advice for recursive descent parser   
   01 Apr 09 14:09:28   
   
   On 31 Mar, 16:32, pk  wrote:   
   > I'm trying to write a recursive descent parser for this grammar   
      
   I use the following grammar for lexertl (http://www.benhanson.net/   
   lexertl.html):   
      
    ->    
    ->  | '|'   
    ->    
    ->  |    
    ->    
    -> charset | macro | '('')' |    
    -> '?' | '*' | '+' | '{n[,[m]]}'   
      
   The rules  and  were only introduced to simplify the   
   processing, as I use a bottom up parser.   
      
   I hope that helps.   
      
   Regards,   
      
   Ben   
      
   --- 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