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

[FEATURE] Add compiler to IntelliJ plugin and add unicode category support #81

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Tigermouthbear
Copy link
Contributor

Description

I added a built-in compiler to the IntelliJ plugin, and added the ability to see the regex of the file while editing. I also added support for unicode categories. The compiler is compatible with all current melody features, however it does not have any specific error messages. Heres a screenshot of it working:

Type of change

  • 💔 Breaking
  • 🚀 Feature
  • 🐛 Fix
  • 🛠️ Tooling
  • 🧪 Test
  • 📦 Dependency
  • 📖 Requires documentation update

@yoav-lavi
Copy link
Owner

yoav-lavi commented Apr 29, 2022

Awesome work @Tigermouthbear!

Regarding the compiler - I really appreciate you doing this and it's awesome, but wouldn't it be better long term to use the actual compiler to avoid incompatibility?

Thanks!

@Tigermouthbear
Copy link
Contributor Author

I'll see if its feasible to use the JNI to load the binary. The biggest challenge is that I'll have to compile the library for each supported platform and package it into the jar. Also, I need to check if intellij plugins are allowed to load into the JNI.

@yoav-lavi
Copy link
Owner

Does Java / Kotlin support WASM? That may work

@Tigermouthbear
Copy link
Contributor Author

not natively, but I might be able to use this Gradle plugin I found to transpile it into java code https://github.com/renatoathaydes/wasm-on-jvm

@yoav-lavi
Copy link
Owner

yoav-lavi commented Jun 5, 2022

Hey @Tigermouthbear, is this still relevant?

@Tigermouthbear
Copy link
Contributor Author

sorry, I haven't been able to work much on this recently, but there is no native support for WASM on the JVM. I have tried a couple of WASM to JVM compilers, but I couldn't ever get them to work.

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.

2 participants