Skip to content

Multiple meanings for (instance. #5

@sunfishcode

Description

@sunfishcode

In the explainer:

componentarg ::= (module <moduleidx>)
               | (component <componentidx>)
               | (instance <instanceidx>)
               | (func <funcidx>)
               | (value <valueidx>)
               | (type <typeidx>)
               | (instance <export>*)

Would it make sense to rename the second instance to exports, or something, to make it clear that it's a distinct construct doing a specific thing, and make it easier to make correspondences between code and documentation?

[Updated to reflect the latest updates]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions