-
Notifications
You must be signed in to change notification settings - Fork 792
The great renaming #985
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
The great renaming #985
Conversation
This huge PR does all the renaming as described in issue #933. It also updates to the latest testsuite so the new names are used. The old names of the MVP instructions are still supported for convenience (though we should remove those too at some point), but the old simd and atomic instruction names are no longer supported.
|
Is there a command line switch to disable the old naming? Also for libwabt.js? Without such switch it is difficult to check if the migration is 100% complete. |
|
There isn't, but you're right that would be a convenient switch to add. I'll look into that today. |
|
I think I'll handle that flag in another PR, to keep this change as being primarily renaming. |
|
Are there plans to push these changes to the wat2wasm demo? https://cdn.rawgit.com/WebAssembly/wabt/aae5a4b7/demo/wat2wasm/ When I try using local.get rather than get_local, I receive the following error: |
|
@cggallant that is an old link, back when we used rawgit (which is being turned down). The new link is https://webassembly.github.io/wabt/demo/wat2wasm/, and supports the new and old names. |
This finishes WebAssembly#985 by dropping support for the deprecated names and update old names in tests. WebAssembly#985 says the old names are supported for convenience but we should remove those too at some point; that "some point" may have well arrived given that three years have passed. The list of names updated is in WebAssembly#933 and WebAssembly#1564.
This finishes WebAssembly#985. This - replaces renaming the old names in the tests with the new names - updates more instruction names: `memory.size` and `memory.grow` - drops support for the deprecated names - renames test files to match new instruction names I don't think dropping support for the old names will be a problem at this point. WebAssembly#985 says the old names are supported for convenience but we should remove those too at some point; that "some point" may have well arrived given that three years have passed. The lists of names updated are in WebAssembly#933, WebAssembly#1564, WebAssembly/spec#720.
This finishes WebAssembly#985. This - replaces renaming the old names in the tests with the new names - updates more instruction names: `memory.size` and `memory.grow` - drops support for the deprecated names - renames test files to match new instruction names I don't think dropping support for the old names will be a problem at this point. WebAssembly#985 says the old names are supported for convenience but we should remove those too at some point; that "some point" may have well arrived given that three years have passed. The lists of names updated are in WebAssembly#933, WebAssembly#1564, WebAssembly/spec#720.
This finishes WebAssembly#985. This - replaces the old names in the tests with the new names - drops support for the deprecated names - renames test files to match new instruction names I don't think dropping support for the old names will be a problem at this point. WebAssembly#985 says the old names are supported for convenience but we should remove those too at some point; that "some point" may have well arrived given that three years have passed. The lists of names updated are in WebAssembly#933, WebAssembly#1564, WebAssembly/spec#720.
This finishes #985. This - replaces the old names in the tests with the new names - drops support for the deprecated names - renames test files to match new instruction names I don't think dropping support for the old names will be a problem at this point. #985 says the old names are supported for convenience but we should remove those too at some point; that "some point" may have well arrived given that three years have passed. The lists of names updated are in #933, #1564, WebAssembly/spec#720.
This huge PR does all the renaming as described in issue #933. It also
updates to the latest testsuite so the new names are used.
The old names of the MVP instructions are still supported for
convenience (though we should remove those too at some point), but the
old simd and atomic instruction names are no longer supported.