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,043 of 2,753   
   Tony Finch to Thomas Goorden   
   Re: Writing a rules parser in ActionScri   
   30 Aug 07 00:42:13   
   
   From: dot@dotat.at   
      
   "Thomas Goorden"  wrote:   
   >Failing that, what would be the best approach to write a parser like   
   >that from scratch? My guess is to follow a simple design pattern for   
   >it, keeping the target environment in mind. Since I don't want to   
   >reinvent the wheel, a simple but proven idea would be best.   
      
   Have a look at Douglas Crockford's top-down operator precedence   
   parser, in the style invented by Vaugn Pratt.   
   http://javascript.crockford.com/tdop/tdop.html   
      
   Tony.   
   --   
   f.a.n.finch    http://dotat.at/   
      
   --- 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