wac-parser 0.10.0

A library for parsing and encoding WebAssembly Composition (WAC) source files.
Documentation
1
2
3
4
5
6
7
8
(component
  (instance (import "x")
    (export "r" (type (sub resource)))
    (type $own-r (own 0))
    (export "f" (func (param "r" $own-r)))
    (export "[constructor]r" (func (result $own-r)))
  )
)