0.0.18 ⢠Published 2 years ago
@raiment/sea-asmscript v0.0.18
š sea-compile-asmscript
A small CLI tool to convert AssemblyScript to WebAssembly text.
# Will print the generate WAT (WebAssembly text) to the console
sea-compile-asmscript <source file>
Roadmap
š v0.1.0
- Output options
- Add standard command-line parsing library
- Add
--outfile
,-o
option - If extension is
.wat
produce WebAssembly text - If extension is
.wasm
produce WebAssembly binary
- UX improvements
- Color output when writing to file
Background
sea-compile-asmscript
was created to help the developer learn WebAssembly. AssemblyScript provides a familiar syntax for C-like language programmers but the AssemblyScript toolchain seems (at least the time of writing this) to want a "full" project directory structure. For simple one-off tests this produces a lot of overhead. Thus, the goal was create a simple CLI tool that could convert from AssemblyScript directly to WAT and WASM formats.
0.0.18
2 years ago