wac-parser 0.10.0

A library for parsing and encoding WebAssembly Composition (WAC) source files.
Documentation
package test:comp@0.0.1-beta;

/// Import by func type
import a: func();

/// Import by ident
type x = func();
import b: x;

/// Import by package path
//import c: foo:bar/baz;

/// Import by func type with kebab name 
import d as "hello-world": func(name: string);

/// Import by inline interface
import e: interface {
    x: func();
};

/// Import by package path with version
import f: foo:bar/baz;

export d;
export e as "e";
export f;