version-fox / version-fox/vfox
[Feature]: Add vfox plugin impl of `WebAssembly/binaryen`
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Go
- Stars
- 4k
- Forks
- 157
- Avg merge
- 1h 3m
- Merged PRs (30d)
- 5
Description
1. Your usage scenarios?
- Okay, I'm not sure if I should file this issue at https://github.com/version-fox/vfox-plugins or https://github.com/version-fox/vfox .
- Starting with
Oracle GraalVM Early Access Builds For JDK 25.0.0-ea.24, GraalVM Native Image can be compiled to a.wasmfile instead of a.exefile on Windows. Although I can installOracle GraalVM Early Access Builds For JDK 25.0.0-ea.24via vfox,
vfox add java
vfox install java@25.ea.24-graal
vfox use --global java@25.ea.24-graal
winget install --id Microsoft.VisualStudio.2022.Community
# Install the native toolchain in the `Visual Studio Installer` application according to the GraalVM CE doc
- But according to https://github.com/graalvm/graalvm-demos/tree/master/native-image/wasm-javac and https://github.com/oracle/graal/issues/3391 , I also have to download the compiled product of
WebAssembly/binaryenand put itsbindirectory on the Windows PATH. It sounds like after I downloaded the compiled product of binaryen from https://github.com/WebAssembly/binaryen/releases/download/version_123/binaryen-version_123-x86_64-windows.tar.gz , I had to do something like this in PowerShell 7,
$Env:PATH += ';C:\Users\lingh\Downloads\binaryen-version_123-x86_64-windows\binaryen-version_123\bin'
- Considering the update frequency of
WebAssembly/binaryenat https://github.com/WebAssembly/binaryen/releases, it is troublesome to maintain different versions of binaryen in PATH. If there is a vfox plugin implementation ofWebAssembly/binaryen, it will obviously simplify the process of switching different versions ofWebAssembly/binaryen.
2. What is your expected outcome?
- Add vfox plugin impl of
WebAssembly/binaryen. - I actually have no experience with lua, so I'm not sure how much I can help. It seems that Lua does not have official IntelliJ IDEA plugin support, and vfox does not provide Lua plugin impl?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the vfox plugin implementation guidance and the linked GraalVM wasm-javac example, then inspect the WebAssembly/binaryen release archive layout. The work is done when vfox can install and switch binaryen versions and make the release's bin directory available for the documented workflow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, wasm
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100