intlc icon indicating copy to clipboard operation
intlc copied to clipboard

Compile to/from standard ICU

Open samhh opened this issue 3 years ago • 2 comments

We currently support a superset of ICU that includes boolean, doesn't always require other, etc. We could compile this down to something ICU-compliant for better interop with other tools.

The conversion back would be lossy. For example {x, boolean, true {y} false {z}} could be compiled to {x, select, true {y} false {z} other {__NOOP__}}. It could be compiled back to our superset provided the keys aren't renamed and __NOOP__ is left alone.

samhh avatar Jun 22 '22 14:06 samhh

If we do this we may want to consider giving our superset its own name.

samhh avatar Jun 22 '22 14:06 samhh

Note that as the spec is currently written, if we support MF2 (#156), we'll once again be supporting a superset.

samhh avatar Jul 20 '22 16:07 samhh