From: David Vallner Date: 2006-02-14T09:47:24+09:00 Subject: Re: Writing parsers? Dňa Utorok 14 Február 2006 00:59 Paatsch, Bernd napísal: > Hello, > > I got this great task assigned to write a parser and looking at the files > to parse is not very trivial. Does anybody know where to find a website > that would explain steps and pitfalls to avoid writing a parser? > Any suggestion/help in is appreciated. > > Thanks, > Bernd http://epaperpress.com/lexandyacc/ seems to be a useful resource, provided you already know some theory behind formal grammars and such. The two tools and their derivatives are pretty much the open source standard for writing parsers. I believe there are Ruby bindings / variants of both. ANTLR is also somewhat used, but you're probably looking at Java there. David Vallner