4 releases (stable)

2.0.0 Nov 13, 2019
1.0.1 Jan 7, 2019
1.0.0 Jul 25, 2018
0.1.0 Jul 9, 2018

#477 in Internationalization (i18n)


Used in make_pluralrules

Apache-2.0/MIT

21KB
260 lines

CLDR PluralRules Parser

cldr_pluralrules_parser is a parser library for CLDR PluralRules.

Build Status Coverage Status

The library closely follows LDML Language Plural Rules Syntax and is intended to be used at build time or runtime to construct operations necessary for calculating corret plural rules categories.

Status

The parser is functionally complete and follows the current version of the syntax.

It is lenient and open to contributions in the area of conformance, testing, and rejecting invalid input.

Local Development

cargo build
cargo test

When submitting a PR please use cargo fmt.

Dependencies

~1MB
~17K SLoC