Skip to content

Add optional CODATA constants and unit parser - #9

Merged
nodivbyzero merged 1 commit into
mainfrom
CODATA-constants-unit-parser
Oct 16, 2026
Merged

nodivbyzero merged 1 commit into
mainfrom
CODATA-constants-unit-parser

Conversation

@nodivbyzero

Copy link
Copy Markdown
Owner

Summary

  • Add the codata subpackage with selected 2022 CODATA constants.
  • Add the opt-in parse subpackage for parsing values such as 5 km and 10lb.
  • Support built-in unit registries and custom parser registries.
  • Add tests for constants, built-in parsing, and custom dimensions.
  • Document both optional packages in the README.

Design

String parsing remains outside the core package, preserving the zero-registry core API. CODATA values are exposed as documented float64 constants without uncertainty or correlation modeling.

@nodivbyzero
nodivbyzero merged commit 093fa3c into main Oct 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant