endoli / message-format.rs

A MessageFormat implementation for Rust.
https://endoli.github.io/message-format.rs/
Apache License 2.0
12 stars 7 forks source link

Finish implementing parsing `PluralFormat`. #6

Open waywardmonkeys opened 8 years ago

waywardmonkeys commented 8 years ago

This should be implemented according to http://userguide.icu-project.org/formatparse/messages

The key things are:

There's a PEG parser for this in https://github.com/messageformat/parser/blob/master/parser.pegjs if guidance is needed.

The existing code for this is in src/icu/parse.rs and would be using the existing AST nodes from src/icu/ast/plural_format.rs.

waywardmonkeys commented 8 years ago

@micrypt ?