Closed syrusakbary closed 2 years ago
It's reasonable, though I don't feel strongly. Anybody else has a thought?
sgtm. I prefer @custom-section
to @customSection
, though.
Cool, I can proceed at creating a PR if everyone is ok with it :)
Closing this, since the PR never materialised, and I actually have a slight preference for keeping "custom" – seems more in sync with the existing "func", "memory", etc declarations defining a respective section.
I'd like to propose renaming the syntax for custom sections in wasm from
@custom
to@custom-section
:Eg. From:
to:
Why?
After reading the gist pointed by @binji I thought the
@custom
annotation was referring to just a custom annotation example, not a custom section.I think a name such as
@custom-section
or@customSection
might give a bit more context for people that are reading the text format.