Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.compilers > #868
| From | glen herrmannsfeldt <gah@ugcs.caltech.edu> |
|---|---|
| Newsgroups | comp.compilers |
| Subject | Re: parsing bibtex file with flex/bison |
| Date | 2013-03-08 03:59 +0000 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <13-03-007@comp.compilers> (permalink) |
| References | <13-03-003@comp.compilers> |
bnrj.rudra@gmail.com wrote:
> I want to parse bibtex file using flex/bison. A sample bibtex is:
> @Book{a1,
> author="amook",
> Title="ASR",
> Publisher="oxf",
> Year="2010",
> Add="UK",
> Edition="1",
> }
(snip)
You might try writing bibtex macros that would parse them, then
write them out in an easier to parse by you form.
If you are only doing it once, you don't need the full syntax that
bibtex allows, but only what yours use. That might allow for a
simpler parser.
I presume, for example, that TeX macros could be used in the
bibtex file, which you would otherwise have to parse.
-- glen
Back to comp.compilers | Previous | Next — Previous in thread | Find similar | Unroll thread
parsing bibtex file with flex/bison bnrj.rudra@gmail.com - 2013-03-04 15:48 -0800
Re: parsing bibtex file with flex/bison Evangelos Drikos <drikosev@otenet.gr> - 2013-03-06 13:45 +0200
Re: parsing bibtex file with flex/bison Rudra Banerjee <bnrj.rudra@gmail.com> - 2013-03-07 11:20 +0000
Re: parsing bibtex file with flex/bison Rudra Banerjee <bnrj.rudra@gmail.com> - 2013-03-17 00:18 +0000
Re: parsing bibtex file with flex/bison Torsten Eichstädt <torsten.eichstaedt@FernUni-Hagen.de> - 2013-03-25 13:41 +0100
Re: parsing bibtex file with flex/bison glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2013-03-08 03:59 +0000
csiph-web