Skip to content

Instantly share code, notes, and snippets.

@aadi-bh
aadi-bh / bibauthors.hy
Last active October 12, 2025 10:13
Python and Hylang versions of scripts to generate an ordered list of all authors in a `.bib` file
(import bibtexparser)
(import sys)
(import pprint)
(if (= __name__ "__main__")
(do
; Load the bib file
(with [file (open (get sys.argv 1) "r")]
(setv library
(bibtexparser.load file)))