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

Use emojilib #8

Open
3 tasks
spenserblack opened this issue Aug 11, 2022 · 3 comments · May be fixed by #9
Open
3 tasks

Use emojilib #8

spenserblack opened this issue Aug 11, 2022 · 3 comments · May be fixed by #9

Comments

@spenserblack
Copy link
Owner

spenserblack commented Aug 11, 2022

emojilib has extensive emoji data that can be used to build out the emoji data. Seems like the first keyword is the emoji name, and following keywords are search keywords.

Resolves #1

To do

  • Make tool to generate Emojicode (write said tool in emojicode?)
  • Update CONTRIBUTING.md
  • Mark generated Emojicode as linguist-generated

Reference

@spenserblack spenserblack linked a pull request Aug 11, 2022 that will close this issue
@srideviabhirami
Copy link
Contributor

Is this issue solved ?

@spenserblack
Copy link
Owner Author

No, it's still a WIP.
To give more information, I wanted to use either npm, yarn, or a git submodule to fetch emojilib. A benefit of this is that dependabot can update the dependencies automatically. Right now, I'm thinking that a git submodule would be best.

An important thing is that I want the emoji definitions to continue to exist at compile time, not runtime. This means that the "main" code can't read JSON. Instead, we'll need some builder code (written in Emojicode to keep the Emojicode spirit 🙂) that will generate a data file. Basically, it would work like this:

  1. build.🍇 reads emojilib/dist/emoji-en-US.json and writes definitions.🍇
  2. main.🍇 imports definitions.🍇

@srideviabhirami
Copy link
Contributor

Sounds cool , thanks for the updates

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

Successfully merging a pull request may close this issue.

2 participants