summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wasm-interp.c2
-rw-r--r--src/wasm2wast.c (renamed from src/wasm-wast.c)6
-rw-r--r--src/wast2wasm.c (renamed from src/sexpr-wasm.c)10
3 files changed, 9 insertions, 9 deletions
diff --git a/src/wasm-interp.c b/src/wasm-interp.c
index 4d80ecef..fd429381 100644
--- a/src/wasm-interp.c
+++ b/src/wasm-interp.c
@@ -470,7 +470,7 @@ static WasmResult read_and_run_spec_json(WasmAllocator* allocator,
return WASM_ERROR;
/* an extremely simple JSON parser that only knows how to parse the expected
- * format from sexpr-wasm */
+ * format from wast2wasm */
enum {
INITIAL,
TOP_OBJECT,
diff --git a/src/wasm-wast.c b/src/wasm2wast.c
index 4e457ffa..e15368c5 100644
--- a/src/wasm-wast.c
+++ b/src/wasm2wast.c
@@ -31,7 +31,7 @@
#include "wasm-stream.h"
#include "wasm-writer.h"
-#define PROGRAM_NAME "wasm-wast"
+#define PROGRAM_NAME "wasm2wast"
static int s_verbose;
static const char* s_infile;
@@ -66,10 +66,10 @@ static const char s_description[] =
"\n"
"examples:\n"
" # parse binary file test.wasm and write s-expression file test.wast\n"
- " $ wasm-wast test.wasm -o test.wast\n"
+ " $ wasm2wast test.wasm -o test.wast\n"
"\n"
" # parse test.wasm and write test.wast, using the debug names, if any\n"
- " $ wasm-wast test.wasm --debug-names -o test.wast\n";
+ " $ wasm2wast test.wasm --debug-names -o test.wast\n";
static WasmOption s_options[] = {
{FLAG_VERBOSE, 'v', "verbose", NULL, NOPE,
diff --git a/src/sexpr-wasm.c b/src/wast2wasm.c
index 266119b8..6dc4b119 100644
--- a/src/sexpr-wasm.c
+++ b/src/wast2wasm.c
@@ -32,7 +32,7 @@
#include "wasm-stream.h"
#include "wasm-writer.h"
-#define PROGRAM_NAME "sexpr-wasm"
+#define PROGRAM_NAME "wast2wasm"
static const char* s_infile;
static const char* s_outfile;
@@ -78,18 +78,18 @@ static const char s_description[] =
"\n"
"examples:\n"
" # parse and typecheck test.wast\n"
- " $ sexpr-wasm test.wast\n"
+ " $ wast2wasm test.wast\n"
"\n"
" # parse test.wast and write to binary file test.wasm\n"
- " $ sexpr-wasm test.wast -o test.wasm\n"
+ " $ wast2wasm test.wast -o test.wasm\n"
"\n"
" # parse spec-test.wast, and write verbose output to stdout (including\n"
" # the meaning of every byte)\n"
- " $ sexpr-wasm spec-test.wast -v\n"
+ " $ wast2wasm spec-test.wast -v\n"
"\n"
" # parse spec-test.wast, and write files to spec-test.json. Modules are\n"
" # written to spec-test.0.wasm, spec-test.1.wasm, etc.\n"
- " $ sexpr-wasm spec-test.wast --spec -o spec-test.json\n";
+ " $ wast2wasm spec-test.wast --spec -o spec-test.json\n";
static WasmOption s_options[] = {
{FLAG_VERBOSE, 'v', "verbose", NULL, NOPE,