nom-bibtex
A nearly feature complete BibTeX zero-copy parser using nom.
nom-bibtex can parse the four different type of entries listed in the BibTeX format description:
- Preamble which allows to call LaTeX command inside your BibTeX.
- String which defines abbreviations in a key-value format.
- Comment
- Entry which defines a bibliography entry.
Code example
extern crate nom_bibtex;
use *;
const BIBFILE_DATA: &str = "
@preamble{
A bibtex preamble
}
@misc{my_citation_key,
author= {Charles Vandevoorde},
title = \"nom-bibtex\"
}
";
TODO
- The string variable are not yet used.