Skip to content

Commit

Permalink
Merge branch 'async-await'
Browse files Browse the repository at this point in the history
  • Loading branch information
coder-mike committed Aug 24, 2023
2 parents e872bff + 08f9547 commit 3c37688
Show file tree
Hide file tree
Showing 336 changed files with 100,099 additions and 69,054 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@ dbg*
.vs/VSWorkspaceState.json
temp-proj
.thoughts
/test/getting-started/code/script.mvm-bc
/.vscode/bookmarks.json
*.source-map
# https://github.com/coder-mike/microvium-playground
microvium-playground
microvium-playground
3 changes: 2 additions & 1 deletion .mocharc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
"spec"
],
"ui": "tdd",
"spec": "dist/test/**/*.test.js"
"spec": "dist/test/**/*.test.js",
"timeout": "30000"
}
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"--timeout",
"999999",
"--colors",
"--fgrep=classes",
// "--fgrep=async-await",
"${workspaceFolder}/test"
],
"console": "internalConsole",
Expand Down
23 changes: 10 additions & 13 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"files.exclude": {
"dist": true,
"search.exclude": {
"**/node_modules": true,
"build": true,
"dist": true,
"dist-c": true,
"node_modules": true,
"prebuilds": true,
"test/getting-started/code/build": true,
"test/getting-started/code/microvium": true
},
Expand Down Expand Up @@ -75,15 +76,9 @@
"xstddef": "cpp",
"xtr1common": "cpp",
"xtree": "cpp",
"microvium_internals.h": "c"
},
"search.exclude": {
"**/node_modules": true,
"dist": true,
"dist-c": true,
"prebuilds": true,
"test/getting-started/code/build": true,
"test/getting-started/code/microvium": true
"microvium_port_example.h": "c",
"microvium_internals.h": "c",
"microvium_port.h": "c"
},
"cSpell.words": [
"builtins",
Expand Down Expand Up @@ -126,6 +121,7 @@
"proto",
"quasis",
"Referenceable",
"rtvm",
"semispace",
"stdint",
"stdlib",
Expand All @@ -138,7 +134,8 @@
"UNOP",
"Unresolve",
"virtuals",
"wasi"
"wasi",
"Wunused"
],
"todo-tree.filtering.excludeGlobs": [
"**/contribute.md",
Expand Down
9 changes: 9 additions & 0 deletions cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,15 @@ argParse.addArgument(
}
);

argParse.addArgument(
[ '--output-source-map' ],
{
help: 'Output file that maps bytecode offsets to source code locations',
action: 'storeTrue',
dest: 'outputSourceMap',
}
);

argParse.addArgument(
[ 'input' ],
{
Expand Down
Loading

0 comments on commit 3c37688

Please sign in to comment.