Skip to content

Commit 3c37688

Browse files
committed
Merge branch 'async-await'
2 parents e872bff + 08f9547 commit 3c37688

File tree

336 files changed

+100099
-69054
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

336 files changed

+100099
-69054
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,8 @@ dbg*
2222
.vs/VSWorkspaceState.json
2323
temp-proj
2424
.thoughts
25+
/test/getting-started/code/script.mvm-bc
26+
/.vscode/bookmarks.json
27+
*.source-map
2528
# https://github.com/coder-mike/microvium-playground
26-
microvium-playground
29+
microvium-playground

.mocharc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"spec"
66
],
77
"ui": "tdd",
8-
"spec": "dist/test/**/*.test.js"
8+
"spec": "dist/test/**/*.test.js",
9+
"timeout": "30000"
910
}

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"--timeout",
1515
"999999",
1616
"--colors",
17-
"--fgrep=classes",
17+
// "--fgrep=async-await",
1818
"${workspaceFolder}/test"
1919
],
2020
"console": "internalConsole",

.vscode/settings.json

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
2-
"files.exclude": {
3-
"dist": true,
2+
"search.exclude": {
3+
"**/node_modules": true,
44
"build": true,
5+
"dist": true,
56
"dist-c": true,
6-
"node_modules": true,
7+
"prebuilds": true,
78
"test/getting-started/code/build": true,
89
"test/getting-started/code/microvium": true
910
},
@@ -75,15 +76,9 @@
7576
"xstddef": "cpp",
7677
"xtr1common": "cpp",
7778
"xtree": "cpp",
78-
"microvium_internals.h": "c"
79-
},
80-
"search.exclude": {
81-
"**/node_modules": true,
82-
"dist": true,
83-
"dist-c": true,
84-
"prebuilds": true,
85-
"test/getting-started/code/build": true,
86-
"test/getting-started/code/microvium": true
79+
"microvium_port_example.h": "c",
80+
"microvium_internals.h": "c",
81+
"microvium_port.h": "c"
8782
},
8883
"cSpell.words": [
8984
"builtins",
@@ -126,6 +121,7 @@
126121
"proto",
127122
"quasis",
128123
"Referenceable",
124+
"rtvm",
129125
"semispace",
130126
"stdint",
131127
"stdlib",
@@ -138,7 +134,8 @@
138134
"UNOP",
139135
"Unresolve",
140136
"virtuals",
141-
"wasi"
137+
"wasi",
138+
"Wunused"
142139
],
143140
"todo-tree.filtering.excludeGlobs": [
144141
"**/contribute.md",

cli.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,15 @@ argParse.addArgument(
110110
}
111111
);
112112

113+
argParse.addArgument(
114+
[ '--output-source-map' ],
115+
{
116+
help: 'Output file that maps bytecode offsets to source code locations',
117+
action: 'storeTrue',
118+
dest: 'outputSourceMap',
119+
}
120+
);
121+
113122
argParse.addArgument(
114123
[ 'input' ],
115124
{

0 commit comments

Comments
 (0)