BibParser handles the actual source parsing, but Bibliography.jl exposes the same functionality through read_bibliography and write_bibliography.

This page is intentionally short because the package is meant to feel like a single entry point rather than a parser zoo.

    BibParser.BibParserModule

    BibParser converts bibliography source formats into BibInternal data.

    The package focuses on parsing only. Use parse_entry and parse_file for the legacy entry dictionary workflow, or parse_bibliography when you want a lossless BibInternal.BibliographyDocument.

    source
    BibParser.is_zeroMethod
    is_zero(t::Tuple)

    Extends iszero as is_zero to Tuple types. Return true iff all elements of t are equal to zero.

    source
    BibParser.occurs_inMethod
    occurs_in(re, char::Char)

    Extends occursin as occurs_in to test if a regular expression re is a match with a Char.

    source
    BibParser.parse_bibliographyMethod
    parse_bibliography(input; format::Symbol = :auto, check = :error)

    Parse a bibliography and return a BibInternal.BibliographyDocument preserving raw source blocks where the parser supports lossless mode.

    source
    BibParser.parse_entryMethod
    parse_entry(entry::String; parser::Symbol = :BibTeX, check = :error)

    Parse a single BibTeX entry string using the legacy parser.

    For bibliography formats with validation rules, the check keyword argument can be set to :none, nothing, :warn, or :error.

    source
    BibParser.parse_fileMethod
    parse_file(path::String, parser::Symbol = :BibTeX; check=:error)

    Parse a bibliography file and return the legacy entry representation.

    The default parser is :BibTeX. Use :BibLaTeX or :RIS directly in the core package, and install the relevant extensions to enable the other formats. For bibliography formats with validation rules, check can be :none, nothing, :warn, or :error.

    source
    BibParser.parse_stringMethod
    parse_string(input::String; format::Symbol = :BibTeX, check = :error)

    Parse bibliography content from a string and return entries in the legacy format. Prefer parse_bibliography when source preservation and diagnostics are needed.

    source