NAME

Wasm::Wasmtime::Wat2Wasm - Convert WebAssembly Text to Wasm

VERSION

version 0.23

SYNOPSIS

use Wasm::Wasmtime::Wat2Wasm;

my $wasm = wat2wasm('(module)');

DESCRIPTION

WARNING: WebAssembly and Wasmtime are a moving target and the interface for these modules is under active development. Use with caution.

This module provides wat2wasm, a function for converting WebAssembly Text to WebAssembly binary format (Wasm). It is exported by default.

FUNCTIONS

wat2wasm

my $wasm = wat2wasm($wat);

Takes WebAssembly Text $wat and converts it into the WebAssembly binary $wasm.

SEE ALSO

Wasm
Wasm::Wasmtime

AUTHOR

Graham Ollis <plicease@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2020-2022 by Graham Ollis.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.