Skip to content

Tags: gnames/gnparser

Tags

v1.14.2

Toggle v1.14.2's commit message
fix typo in API, better checkbox tooltips

v1.14.1

Toggle v1.14.1's commit message
compact-authors flag, update docs (close #301)

Rename `--no-spaced-initials` (-N) to `--compact-authors` (-a)
for clarity. Remove `--web-logs` flag. Rename `FlatOutput()`
method to `WithFlatOutput()`.

Update CITATION.cff

v1.14.0

Toggle v1.14.0's commit message
v1.14.0, changelog, nix etc.

v1.12.1

Toggle v1.12.1's commit message
update TOC for tests

v1.12.0

Toggle v1.12.0's commit message
feat(parser): Add parser for ICVCN nomenclature (close #290)

Implements a dedicated parser for names governed by the International
Code of Virus Classification and Nomenclature (ICVCN). This change
allows gnparser to correctly process modern viral names.

The new `ent/icvcn` package uses a PEG grammar to parse:
- Uninomials for ranks from Realm to Genus based on official suffixes.
- Binomials for species names, supporting alphanumeric epithets.

The main parser now attempts to process input using this new module
first, especially when a viral nomenclatural code is specified.

A blacklist is added to prevent misparsing of botanical or
zoological genera that coincidentally match viral name patterns.
The preprocessing logic is adjusted to accommodate this new flow.

v1.11.10

Toggle v1.11.10's commit message
parse 'los' as author prefix in canonical form (fix #291)

This addresses an issue where 'los' was not recognized as a standalone
author prefix, impacting the canonical form generation. The grammar
(AuthorPrefix1 rule) has been updated to include 'los' independently.
New test cases were added to validate

v1.11.9

Toggle v1.11.9's commit message
feat: Modernize build system and update dependencies

This commit introduces several improvements to the project's infrastructure,
tooling, and documentation.

- Build: Replaced the Makefile with a `justfile` for a more modern
  and consistent build automation experience.
- Toolchain: Upgraded Go to version 1.25.1 and updated all Go module
  dependencies to their latest versions.
- Nix: Enhanced the Nix flake to support multiple platforms
  (linux/darwin, amd64/arm64) and updated it to use the
  nixos-unstable channel.
- Quality: Added a `.markdownlint.json` configuration and reformatted
  all Markdown files to enforce consistent styling.
- Docs: Fixed typos and updated build instructions in the README.

v1.11.8

Toggle v1.11.8's commit message
add more authors rules (close #288)

v1.11.7

Toggle v1.11.7's commit message
move nomcode to gnlib