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

Add support for Kotlin/JS and Kotlin/Native #23

Draft
wants to merge 24 commits into
base: main
Choose a base branch
from
Draft

Conversation

DRSchlaubi
Copy link
Member

@DRSchlaubi DRSchlaubi commented Apr 16, 2023

This PR doe:

Copy link
Member

@lukellmann lukellmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you sure that identifiers that don't start with a number are invalid js names? (e.g. smilingFaceWith3Hearts, seems to be a totally valid js name)

@DRSchlaubi
Copy link
Member Author

DRSchlaubi commented Apr 16, 2023

are you sure that identifiers that don't start with a number are invalid js names? (e.g. smilingFaceWith3Hearts, seems to be a totally valid js name)

Yep checked it, ja identifiers cannot contain numbers at all

Just consulted google and it should work unless it's the first character, don't know what I did wrong

@lukellmann
Copy link
Member

Just consulted google and it should work unless it's the first character, don't know what I did wrong

then the js name should probably just be prepended with _ if it starts with a digit, in other cases i would keep the mangling

- Switch CI to macos
- Add native targets
- Update Gradle to 8.2.1
- Update kotlin to 1.9.0
- Update kotlinx.serialization to 1.6.0-RC
- Update kotlinpoet to 1.14.2
@DRSchlaubi DRSchlaubi changed the title Feature/mpp Add support for Kotlin/JS and Kotlin/Native Mar 1, 2024
- Update kotlinx-serialization-json to 1.6.3
- Update kotlin to 1.9.22
- Only add one accessor per emoji instead of alias
- Add DiscordEmoji.findByName and DiscordEmoji.findByUnicode
- Add support for hair styles
- Deprecate Emojis.get
- Make Emojis.all a list
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 this pull request may close these issues.

None yet

2 participants