rustwasm / wasm-webidl-bindings

Read, write, and manipulate the Wasm WebIDL bindings custom section
Apache License 2.0
38 stars 9 forks source link

Make WebidlTypeRef either an index, a name, or (new) a primitive type #8

Closed fitzgen closed 5 years ago

fitzgen commented 5 years ago

Right now we are lumping named types and primitive types together, but it makes sense to separate them.

The <Identifier> production should always require a leading $.

And then we should have a <WebidlPrimitiveType> production that matches "unsigned long long" etc.

fitzgen commented 5 years ago

Fixed in #12