On 6 September 2012 13:01, Rudra Banerjee <bnrj.ru...@yahoo.com> wrote: > I am thinking of possibility of parsing a bibtex file with gkeyfile > parser. bibtex has the structure like: > @Book{a, > Author="b and q and r, s ", > Editor="c", > Title="d", > }
GKeyFile syntax is not much like that. You could probably use GScanner to do the lexing and some sort of simple driver function for the syntax, but I've not tried. flex and bison would be the standard C way of making something like this. Alternatively, google reveals a huge number of bibtex parsers for every language you can think of, perhaps one of those could be reused. John _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list