-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wasm.wast should be named wasm.wat #53
Comments
It's actually Binaryen-flavored s-expression syntax. Does that still qualify as .wat? I always had the impression that .wat is linear stack-syntax and .wast pretty much everything else. |
It's not binaryen-specific; wabt and the spec interpreter both accept this form. |
I see. So, it's safe to assume that S-expression syntax like in this file is actually "official WebAssembly text format" as well? cc @kripken as the author of the file in question |
Yeah. "wast" is all about adding |
I don't care either way myself, but I didn't know this was something the wasm community cared much about? E.g. in binaryen itself we have many wasts that should probably be wats? |
http://webassembly.org/docs/text-format/ says:
|
The file wasm.wast was added in #50.
".wast" is the extension for WebAssembly test files, which contain a superset of the wasm text format.
".wat" is the extension for the plain WebAssembly text format.
See http://webassembly.org/docs/text-format/ for details.
The text was updated successfully, but these errors were encountered: