WebAssembly.jl
WebAssembly.jl copied to clipboard
You're receiving this pull request because the now-deprecated [Julia TagBot GitHub App](https://github.com/apps/julia-tagbot) is installed for this repository. This pull request installs [TagBot as a GitHub Action](https://github.com/marketplace/actions/julia-tagbot). If this PR does...
Add bytecode tooling, some optimisations and updates to Julia version 0.7. Contains work from: #12, #13, #14, #15, #16 and #18
Add support for producing a js library out of a module. Example output: ```js function wtype(i) { var t = typeof(i) if (t == "number") { return Number.isInteger(i) ? 'i32'...
There might be a better way, but just throwing something out there to get started. The idea is to have every `Instruction` have an `opcode` field so we can write...
I was playing around a bit using Mjolnir to construct WebAssembly from Julia code. The conversion from IR to WebAssembly failed during relooping. Here's the code. It's based on similar...
How is this supposed to be used? I found nothing in the documentation on this.
On Loading https://keno.github.io/julia-wasm/website/repl.htm I get the following error on - Mozilla Firefox 74.0a1 (2020-01-09) (64-bit) Nightly build. - Google Chrome Version 78.0.3904.108 (Official Build) (64-bit) ``` Blocked loading mixed active...
[base.wasm](https://github.com/MikeInnes/WebAssembly.jl/blob/8655a5e93dccca71ba9a2e9d0814e4acad01bb47/src/base.wasm) contains a few `arraylen`, `arrayset`, and `arrayref` functions. Were those written in AssemblyScript? Or, was this hand written? Either way, can we include the source file? Is it possible...
Should Void in [wasm.jl#107](https://github.com/MikeInnes/WebAssembly.jl/blob/c7fdf1a5a1514f32721261622e2fdf922300e404/src/wasm.jl#L107) be Nothing?
Ref: https://discourse.julialang.org/t/package-compatibility-caps/15301