On 02/18/2013 11:15 AM, Rudra Banerjee wrote: > On Mon, 2013-02-18 at 19:02 +0100, David Nečas wrote: >> The best approach to parse a grammar is, you know, using a parser. > So anything better then bison?
You can write your own parser if you want. Maybe a recursive-descent parser. You will want to study up on parsers. There are different kinds of parsers (recursive-descent, table-driven which bison is) for different kinds of grammars. You might not want to use a grammar at all. Why not use a dedicated bibtex-parsing library: https://www.google.com/search?q=bibtex+c+library _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list