Basic parser for bibtex
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd/prettybib
example
.gitignore
.travis.yml
LICENSE
README.md
bibtex.go
bibtex.y
bibtex.y.go
bibtex_test.go
docs.go
error.go
lexer.go
scanner.go
token.go

README.md

bibtex Build Status GoDoc

nickng/bibtex is a bibtex parser and library for Go.

The bibtex format is not standardised, this parser follows the descriptions found here. Please file any issues with a minimal working example.

To get:

go get -u github.com/nickng/bibtex/...

This will also install prettybib, a bibtex pretty printer. To parse and pretty print a bibtex file, for example:

cd $GOPATH/src/github.com/nickng/bibtex
prettybib -in example/simple.bib