Re: parsing bibtex using gscanner
- From: Michael Torrie <torriem gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Re: parsing bibtex using gscanner
- Date: Thu, 21 Feb 2013 10:04:18 -0700
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]