open-i18n / rust-unic

UNIC: Unicode and Internationalization Crates for Rust
https://crates.io/crates/unic
Other
234 stars 24 forks source link

Implement Emoji Component #129

Open behnam opened 7 years ago

behnam commented 7 years ago

The Emoji component will provide access to character properties defined by the Emoji spec, and API for handling Emojis, like API to construct Emojis, parse strings and detect Emojis, and being able to do conversions between emoji-style and text-style.

References

calum commented 7 years ago

This looks really interesting but probably too advanced for me to do it all. Will this be broken down into smaller tasks? I could help with some of the API stuff like detecting if a string contains emojis.

I've just finished the Rust book so I'm ready to be assigned to an issue.

behnam commented 7 years ago

cc @aaronstgeorge

behnam commented 7 years ago

@calum, thanks for interest here and sorry for the delay in getting back to you.

If you've been following up the recent work we've been doing, there's a bunch of core modules that we were working on to make it easier to add new components, like Emoji here. Since the clean up steps had to address various issues, it was hard to explain what needs to be done. Now, we the basic layers being ready, we are ready to get back here.

First we cleaned up the download module, and added emoji to the download step. (#150) Then cleaned up the generation module, and added emoji there, as well. (#159) I'm going to also set up the crates we need here, with the API for 5 Binary character properties. This is going to be for the 0.6 release this week.

Then, we would need to get to the implementation of Emoji algorithms, specially a parser to detect Emojis from the input text, and an API to create Emojis, and conformance tests for them. Are you specifically interested in any of these parts?

behnam commented 6 years ago

unic-emoji-char is published. unic-emoji doesn't have any algorithms (iterators) yet. Let's target v0.8.0.