Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UCUM grammar changing to require exponents be pushed down to base names #109

Open
dmcclean opened this issue Dec 1, 2015 · 0 comments
Open
Assignees
Labels
Milestone

Comments

@dmcclean
Copy link
Collaborator

dmcclean commented Dec 1, 2015

The UCUM are changing their grammar to disallow exponents applied to grouped products of unit names, and to instead accept them only on base names. This will require a change to the interchange name machinery which maps our UnitNames to UCUM names.

See http://unitsofmeasure.org/ucum.html#para-10 for details.

Up until revision 1.9 there was a third clause “Since a unit term in parenthesis can be used in place of a simple unit, an exponent may follow on a closing parenthesis which raises the whole term within the parentheses to the power.” However this feature was inconsistent with any BNF or other syntax description ever provided, was never used and seems to have no relevant use case. For this reason this clause has been stricken. This is a tentative change. Users who have used this feature in the past, should please comment on this deprecation. If we receive indication that this feature was used by anyone, we would undo the deprecation. If no comments are received, the deprecation continues to take effect.

@dmcclean dmcclean added the bug label Dec 1, 2015
@dmcclean dmcclean added this to the Version 1.1 milestone Dec 1, 2015
@dmcclean dmcclean self-assigned this Dec 27, 2018
dmcclean added a commit to dmcclean/dimensional that referenced this issue Jan 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant