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

Compile to/from standard ICU #130

Open
samhh opened this issue Jun 22, 2022 · 2 comments
Open

Compile to/from standard ICU #130

samhh opened this issue Jun 22, 2022 · 2 comments

Comments

@samhh
Copy link
Member

samhh commented Jun 22, 2022

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 samhh changed the title Compile to ICU Compile to/from standard ICU Jun 22, 2022
@samhh
Copy link
Member Author

samhh commented Jun 22, 2022

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

@samhh
Copy link
Member Author

samhh commented Jul 20, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant