wit-component 0.5.0

Tooling for working with `*.wit` and component files together.
Documentation
(component
  (type (;0;)
    (component
      (type (;0;)
        (instance
          (type (;0;) (flags "b0" "b1" "b2" "b3" "b4" "b5" "b6" "b7"))
          (export (;1;) "flag8" (type (eq 0)))
          (type (;2;) (flags "b0" "b1" "b2" "b3" "b4" "b5" "b6" "b7" "b8" "b9" "b10" "b11" "b12" "b13" "b14" "b15" "b16" "b17" "b18" "b19" "b20" "b21" "b22" "b23" "b24" "b25" "b26" "b27" "b28" "b29" "b30" "b31" "b32" "b33" "b34" "b35" "b36" "b37" "b38" "b39" "b40" "b41" "b42" "b43" "b44" "b45" "b46" "b47" "b48" "b49" "b50" "b51" "b52" "b53" "b54" "b55" "b56" "b57" "b58" "b59" "b60" "b61" "b62" "b63"))
          (export (;3;) "flag64" (type (eq 2)))
          (type (;4;) (flags "b0" "b1" "b2" "b3"))
          (export (;5;) "flag4" (type (eq 4)))
          (type (;6;) (flags "b0" "b1" "b2" "b3" "b4" "b5" "b6" "b7" "b8" "b9" "b10" "b11" "b12" "b13" "b14" "b15" "b16" "b17" "b18" "b19" "b20" "b21" "b22" "b23" "b24" "b25" "b26" "b27" "b28" "b29" "b30" "b31"))
          (export (;7;) "flag32" (type (eq 6)))
          (type (;8;) (flags "b0" "b1"))
          (export (;9;) "flag2" (type (eq 8)))
          (type (;10;) (flags "b0" "b1" "b2" "b3" "b4" "b5" "b6" "b7" "b8" "b9" "b10" "b11" "b12" "b13" "b14" "b15"))
          (export (;11;) "flag16" (type (eq 10)))
          (type (;12;) (flags "b0"))
          (export (;13;) "flag1" (type (eq 12)))
          (type (;14;) (func (param "x" 13) (result 13)))
          (export (;0;) "roundtrip-flag1" (func (type 14)))
          (type (;15;) (func (param "x" 9) (result 9)))
          (export (;1;) "roundtrip-flag2" (func (type 15)))
          (type (;16;) (func (param "x" 5) (result 5)))
          (export (;2;) "roundtrip-flag4" (func (type 16)))
          (type (;17;) (func (param "x" 1) (result 1)))
          (export (;3;) "roundtrip-flag8" (func (type 17)))
          (type (;18;) (func (param "x" 11) (result 11)))
          (export (;4;) "roundtrip-flag16" (func (type 18)))
          (type (;19;) (func (param "x" 7) (result 7)))
          (export (;5;) "roundtrip-flag32" (func (type 19)))
          (type (;20;) (func (param "x" 3) (result 3)))
          (export (;6;) "roundtrip-flag64" (func (type 20)))
        )
      )
      (export (;0;) "imports" "pkg:/flags/imports" (instance (type 0)))
      (type (;1;)
        (component
          (type (;0;)
            (instance
              (type (;0;) (flags "b0" "b1" "b2" "b3" "b4" "b5" "b6" "b7"))
              (export (;1;) "flag8" (type (eq 0)))
              (type (;2;) (flags "b0" "b1" "b2" "b3" "b4" "b5" "b6" "b7" "b8" "b9" "b10" "b11" "b12" "b13" "b14" "b15" "b16" "b17" "b18" "b19" "b20" "b21" "b22" "b23" "b24" "b25" "b26" "b27" "b28" "b29" "b30" "b31" "b32" "b33" "b34" "b35" "b36" "b37" "b38" "b39" "b40" "b41" "b42" "b43" "b44" "b45" "b46" "b47" "b48" "b49" "b50" "b51" "b52" "b53" "b54" "b55" "b56" "b57" "b58" "b59" "b60" "b61" "b62" "b63"))
              (export (;3;) "flag64" (type (eq 2)))
              (type (;4;) (flags "b0" "b1" "b2" "b3"))
              (export (;5;) "flag4" (type (eq 4)))
              (type (;6;) (flags "b0" "b1" "b2" "b3" "b4" "b5" "b6" "b7" "b8" "b9" "b10" "b11" "b12" "b13" "b14" "b15" "b16" "b17" "b18" "b19" "b20" "b21" "b22" "b23" "b24" "b25" "b26" "b27" "b28" "b29" "b30" "b31"))
              (export (;7;) "flag32" (type (eq 6)))
              (type (;8;) (flags "b0" "b1"))
              (export (;9;) "flag2" (type (eq 8)))
              (type (;10;) (flags "b0" "b1" "b2" "b3" "b4" "b5" "b6" "b7" "b8" "b9" "b10" "b11" "b12" "b13" "b14" "b15"))
              (export (;11;) "flag16" (type (eq 10)))
              (type (;12;) (flags "b0"))
              (export (;13;) "flag1" (type (eq 12)))
              (type (;14;) (func (param "x" 13) (result 13)))
              (export (;0;) "roundtrip-flag1" (func (type 14)))
              (type (;15;) (func (param "x" 9) (result 9)))
              (export (;1;) "roundtrip-flag2" (func (type 15)))
              (type (;16;) (func (param "x" 5) (result 5)))
              (export (;2;) "roundtrip-flag4" (func (type 16)))
              (type (;17;) (func (param "x" 1) (result 1)))
              (export (;3;) "roundtrip-flag8" (func (type 17)))
              (type (;18;) (func (param "x" 11) (result 11)))
              (export (;4;) "roundtrip-flag16" (func (type 18)))
              (type (;19;) (func (param "x" 7) (result 7)))
              (export (;5;) "roundtrip-flag32" (func (type 19)))
              (type (;20;) (func (param "x" 3) (result 3)))
              (export (;6;) "roundtrip-flag64" (func (type 20)))
            )
          )
          (import "imports" "pkg:/flags/imports" (instance (type 0)))
        )
      )
      (export (;0;) "flags-world" "pkg:/flags/flags-world" (component (type 1)))
    )
  )
  (export (;1;) "flags" "pkg:/flags" (type 0))
)