.WAT 文件扩展名

WebAssembly Text File

开发者 W3C
受欢迎程度
4.0  |  3 
 

什么是 WAT 文件?

A WAT file is a text file written in the WebAssembly Text Format (WAT), a human-readable representation of WebAssembly (WASM) in a syntax similar to the .LISP programming language and based on S-expressions. The WAT format allows developers to write, view, and debug WebAssembly code before compiling it into the binary WebAssembly (.WASM) format, which runs in environments that support WASM, typically in web browsers.

更多信息

在 Microsoft Visual Studio Code 1.9 中打开的 .wat 文件截图
在 Microsoft Visual Studio Code 1.9 中打开的 WAT 文件

After compiling WAT files to WASM with a WebAssembly compiler, developers typically deploy them to run in web browsers, such as Google Chrome, Mozilla Firefox, Microsoft Edge, and Apple Safari, for games, media editing tools, data simulations, and more. WASM files may also run on server-side platforms like Node.js.

注: The World Wide Web Consortium (W3C) WebAssembly Community Group develops WAT as part of the WebAssembly (WASM) project (beginning in 2015). The group includes major contributors from Mozilla, Google, Microsoft, and Apple and independent developers.

如何打开 WAT 文件

You can open WAT files with various source code editors, including Microsoft Visual Studio Code and Brackets.

Since WAT files are saved in plain text, you can also open and edit WAT files with a basic text editor, such as Microsoft Notepad or Apple TextEdit. However, text editors do not offer the same helpful editing features that source code editors provide.

如何转换 WAT 文件

You can compile WAT files to WASM files with various WebAssembly compilers, including the wat2wasm command-line tool available with WABT (The WebAssembly Binary Toolkit).

使用File Viewer Plus打开 400 多种文件格式。免费下载

可打开 WAT 文件的程序

Windows
免费
操作系统自带
免费
Mac
免费
操作系统自带
免费
Linux
Android
分类: 开发者
更新时间: 2024-12-23

验证者 FileInfo.com

FileInfo.com 团队 独立研究了本页面列出的 WebAssembly Text 文件格式和 Mac, Windows, Linux, and Android 应用。 我们的目标是达到 100% 的准确率,并且仅发布我们已验证过的文件类型信息。

如果您想为此页面提出新增或更新建议,请告诉我们