|parsing bibtex file with flex/bison email@example.com (2013-03-04)|
|Re: parsing bibtex file with flex/bison firstname.lastname@example.org (Evangelos Drikos) (2013-03-06)|
|Re: parsing bibtex file with flex/bison email@example.com (Rudra Banerjee) (2013-03-07)|
|Re: parsing bibtex file with flex/bison firstname.lastname@example.org (glen herrmannsfeldt) (2013-03-08)|
|Re: parsing bibtex file with flex/bison email@example.com (Rudra Banerjee) (2013-03-17)|
|Re: parsing bibtex file with flex/bison torsten.eichstaedt@FernUni-Hagen.de (Torsten =?UTF-8?B?RWljaHN0w6RkdA==?=) (2013-03-25)|
|From:||Rudra Banerjee <firstname.lastname@example.org>|
|Date:||Thu, 07 Mar 2013 11:20:11 +0000|
|Organization:||A noiseless patient Spider|
|Posted-Date:||07 Mar 2013 21:57:21 EST|
> [Quite right. The lexer would recognize them in chunks and the
> parser, which uses a pushdown automaton, puts them together. Or the
> other usual approach is a kludge with code in the lexer to count the
> braces and set start states that control what's returned. -John]
Hi John and Evangelos,
Thanks for your comments.
I am new in this parsing business, and may not ever need it once this
project is over(personal project, for fun).
According to your comments, can you kindly help me in one thing:
I *NEED* to parse the bibtex file. So, is flex+bison is the best option
I have or am I already in a wrong way?
If I am in right path, I don't mind learning, but if there is any
alternative, please suggest(oh...its not btparse I am looking for)
[I see perl BibTeX::Parser, python https://launchpad.net/pybtex/,
and java https://code.google.com/p/javabib/. Unless you really really
need your parser to be written in C, I'd start with one of those. -John]
Return to the
Search the comp.compilers archives again.