Wasm::Wasmtime::Wat2Wasm - Convert WebAssembly Text to Wasm
version 0.21
use Wasm::Wasmtime::Wat2Wasm; my $wasm = wat2wasm('(module)');
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.
wat2wasm
my $wasm = wat2wasm($wat);
Takes WebAssembly Text $wat and converts it into the WebAssembly binary $wasm.
$wat
$wasm
Graham Ollis <plicease@cpan.org>
This software is copyright (c) 2020 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.
To install Wasm, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Wasm
CPAN shell
perl -MCPAN -e shell install Wasm
For more information on module installation, please visit the detailed CPAN module installation guide.