Skip to content

Andersgee/WebAssemblyText.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebAssemblyText.jl

Documentation Build Status

Convert Julia to WebAssembly text.

@code_wat expr

jl2wat(path)

jlstring2wat(str)

Example

julia> using WebAssemblyText
julia> hello(x) = 3.1*x
julia> @code_wat hello(1.2)
(func $hello (export "hello") (param $x f32) (result f32)
(return (f32.mul (f32.const 3.1) (local.get $x))))

Documentation

About

Translate .jl to .wat

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published