wasm-idle 1.2.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/README.md +250 -146
  2. package/dist/container/clang-runtime.js +32 -8
  3. package/dist/container/runtime-adapter.d.ts +2 -0
  4. package/dist/container/runtime-adapter.js +37 -8
  5. package/dist/index.d.ts +1 -0
  6. package/dist/index.js +1 -0
  7. package/dist/playground/assetBridge.js +10 -8
  8. package/dist/playground/assets.d.ts +4 -0
  9. package/dist/playground/assets.js +9 -4
  10. package/dist/playground/c3.js +1 -1
  11. package/dist/playground/compiledLldb.d.ts +2 -0
  12. package/dist/playground/compiledLldb.js +37 -2
  13. package/dist/playground/d.d.ts +1 -0
  14. package/dist/playground/d.js +18 -8
  15. package/dist/playground/index.d.ts +1 -1
  16. package/dist/playground/index.js +7 -0
  17. package/dist/playground/{java-debug-FMHDKUN6.js → java-debug-64JGCLTC.js} +1 -1
  18. package/dist/playground/java-debug-notices.txt +26 -1
  19. package/dist/playground/java.js +3 -2
  20. package/dist/playground/javaDebugBridge.js +42 -7
  21. package/dist/playground/javaDebugSource.js +4 -4
  22. package/dist/playground/javaMain.d.ts +3 -0
  23. package/dist/playground/javaMain.js +2 -0
  24. package/dist/playground/javaRuntimeErrors.d.ts +2 -1
  25. package/dist/playground/javaRuntimeErrors.js +9 -2
  26. package/dist/playground/javaSource.d.ts +1 -1
  27. package/dist/playground/javaSource.js +7 -2
  28. package/dist/playground/lldbSession.d.ts +2 -0
  29. package/dist/playground/lldbSession.js +60 -4
  30. package/dist/playground/objectivec.d.ts +1 -1
  31. package/dist/playground/objectivec.js +2 -1
  32. package/dist/playground/options.d.ts +1 -1
  33. package/dist/playground/python.d.ts +3 -0
  34. package/dist/playground/python.js +122 -2
  35. package/dist/playground/pythonCompileOptions.d.ts +52 -0
  36. package/dist/playground/pythonCompileOptions.js +40 -0
  37. package/dist/playground/scala.d.ts +34 -0
  38. package/dist/playground/scala.js +397 -0
  39. package/dist/playground/scalaAssets.d.ts +16 -0
  40. package/dist/playground/scalaAssets.js +51 -0
  41. package/dist/playground/scalaDiagnostics.d.ts +3 -0
  42. package/dist/playground/scalaDiagnostics.js +29 -0
  43. package/dist/playground/staticRuntimeModuleVersion.d.ts +1 -1
  44. package/dist/playground/staticRuntimeModuleVersion.js +1 -1
  45. package/dist/playground/staticWorkerRuntime.d.ts +2 -0
  46. package/dist/playground/staticWorkerRuntime.js +85 -11
  47. package/dist/playground/tinygo.js +21 -8
  48. package/dist/playground/tinygoExecutableGraph.js +1 -1
  49. package/dist/playground/v.d.ts +1 -0
  50. package/dist/playground/v.js +17 -7
  51. package/dist/playground/wasmC3Version.d.ts +8 -8
  52. package/dist/playground/wasmC3Version.js +8 -8
  53. package/dist/playground/wasmDebugVersion.d.ts +1 -1
  54. package/dist/playground/wasmDebugVersion.js +1 -1
  55. package/dist/playground/wasmDotnetVersion.d.ts +1 -1
  56. package/dist/playground/wasmDotnetVersion.js +1 -1
  57. package/dist/playground/wasmGoVersion.d.ts +1 -1
  58. package/dist/playground/wasmGoVersion.js +1 -1
  59. package/dist/playground/wasmLispVersion.d.ts +5 -0
  60. package/dist/playground/wasmLispVersion.js +5 -0
  61. package/dist/playground/wasmOcamlVersion.d.ts +4 -4
  62. package/dist/playground/wasmOcamlVersion.js +3 -3
  63. package/dist/playground/wasmPrologVersion.d.ts +17 -17
  64. package/dist/playground/wasmPrologVersion.js +16 -16
  65. package/dist/playground/wasmTinyGoVersion.d.ts +57 -57
  66. package/dist/playground/wasmTinyGoVersion.js +57 -57
  67. package/dist/playground/wasmTypeScriptVersion.d.ts +3 -3
  68. package/dist/playground/wasmTypeScriptVersion.js +3 -3
  69. package/dist/playground/wasmZigVersion.d.ts +7 -7
  70. package/dist/playground/wasmZigVersion.js +7 -7
  71. package/dist/playground/worker/java.js +18 -4
  72. package/dist/playground/worker/javaDebugEvaluator.js +2 -2
  73. package/dist/playground/worker/javaDebugRuntime.js +8 -1
  74. package/dist/playground/worker/javaStreaming.js +4 -2
  75. package/dist/playground/worker/ocaml.js +11 -10
  76. package/dist/playground/worker/python.js +45 -165
  77. package/dist/playground/worker/pythonCompile.d.ts +4 -0
  78. package/dist/playground/worker/pythonCompile.js +127 -0
  79. package/dist/playground/worker/pythonDebug.d.ts +20 -0
  80. package/dist/playground/worker/pythonDebug.js +205 -0
  81. package/dist/playground/worker/scala/UPSTREAM-LICENSE.txt +201 -0
  82. package/dist/playground/worker/scala/UPSTREAM-NOTICE.txt +108 -0
  83. package/dist/playground/worker/scala/asset-bootstrap.d.ts +6 -0
  84. package/dist/playground/worker/scala/asset-bootstrap.js +58 -0
  85. package/dist/playground/worker/scala/asset-receipts.d.ts +7 -0
  86. package/dist/playground/worker/scala/asset-receipts.js +58 -0
  87. package/dist/playground/worker/scala/compiler.worker.d.ts +1 -0
  88. package/dist/playground/worker/scala/compiler.worker.js +204 -0
  89. package/dist/playground/worker/scala/execution.worker.d.ts +1 -0
  90. package/dist/playground/worker/scala/execution.worker.js +89 -0
  91. package/dist/playground/worker/scala/memory-fs.d.ts +29 -0
  92. package/dist/playground/worker/scala/memory-fs.js +333 -0
  93. package/dist/playground/worker/scala/runner.d.ts +1 -0
  94. package/dist/playground/worker/scala/runner.js +36 -0
  95. package/dist/playground/worker/zig.d.ts +2 -1
  96. package/dist/playground/worker/zig.js +212 -86
  97. package/dist/playground/worker/zigDebug.d.ts +39 -0
  98. package/dist/playground/worker/zigDebug.js +156 -0
  99. package/dist/playground/zig.d.ts +27 -4
  100. package/dist/playground/zig.js +266 -23
  101. package/dist/playground/zigDebugValues.d.ts +20 -0
  102. package/dist/playground/zigDebugValues.js +248 -0
  103. package/dist/pythonCompiler.d.ts +8 -0
  104. package/dist/pythonCompiler.js +52 -0
  105. package/package.json +37 -26
package/README.md CHANGED
@@ -91,7 +91,7 @@ include paths, warnings, and explicit standard overrides agree with execution.
91
91
  | ------------------------------------- | ------------------------------------------------------------------------------------- |
92
92
  | C / C++ / Objective-C / Objective-C++ | Clang flags such as `-DVALUE=42 -Iinclude -Wno-unused-variable` |
93
93
  | D | LDC flags such as `-O2 -w -d-version=Example` |
94
- | Zig | `build-exe` flags such as `-O ReleaseFast` |
94
+ | Zig | `build-exe` flags such as `-O fast` |
95
95
  | V | V frontend flags such as `-prod -d example` |
96
96
  | COBOL | GnuCOBOL flags such as `-Wall -std=cobol2014 -fixed` |
97
97
  | Haskell | GHC flags such as `-O2 -Wall -XGHC2021`; separate program arguments are unavailable |
@@ -119,74 +119,75 @@ JavaScript and TypeScript debugging stays disabled. See
119
119
  [language debugger details](docs/debugger-language-support.md) for verified operations and
120
120
  remaining producer requirements.
121
121
 
122
- | Language | Browser runtime/compiler | Stdin | Editor support | Debug |
123
- | ---------------- | -------------------------------------------- | ----- | -------------------- | -------------- |
124
- | GolfScript | Original GolfScript interpreter on Ruby/WASI | Yes | plain text | - |
125
- | APECode | Original APECode interpreter on Pyodide | Yes | plain text | - |
126
- | LOLCODE 1.3 | Original lci 1.3 interpreter on WASI | Yes | plain text | - |
127
- | UHMLANG (엄준식) | Original Umjunsik Go interpreter on WASI | Yes | plain text | - |
128
- | Aheui | rpaheui 1.2.5 on Pyodide | Yes | plain text | - |
129
- | Malbolge | Ben Olmstead Malbolge on WASI | Yes | plain text | - |
130
- | Whitespace | koturn/Whitespace 0.3 on WASI | Yes | plain text | - |
131
- | C3 | C3 0.8.3 + LLVM/lld WASM (byte ABI) | Yes | c3-lsp | - |
132
- | C | @wasm-idle/llvm-core / Clang WASI | Yes | clangd | LLDB |
133
- | C++ | @wasm-idle/llvm-core / Clang WASI | Yes | clangd | LLDB |
134
- | Objective-C | GNUstep libobjc2 + @wasm-idle/llvm-core | Yes | clangd | LLDB |
135
- | Objective-C++ | GNUstep libobjc2 + @wasm-idle/llvm-core | Yes | clangd | LLDB |
136
- | Python | Pyodide | Yes | Python LSP | Trace |
137
- | Befunge-93 | Chris Pressey Befunge-93 on WASI | Yes | plain text | - |
138
- | Brainfuck | susam/bfc on WASI | Yes | plain text | - |
139
- | Hy | Hy 1.3.1 on Pyodide | Yes | syntax | - |
140
- | Java | TeaVM | Yes | javacs LSP (TeaVM) | Trace (source) |
141
- | Rust | wasm-rust / browser rustc | Yes | rustc diagnostics | LLDB |
142
- | Go | wasm-go / browser Go compiler | Yes | compiler diagnostics | Trace |
143
- | D | wasm-d | Yes | syntax | - |
144
- | C# | wasm-dotnet | Yes | compiler diagnostics | - |
145
- | F# | wasm-dotnet | Yes | compiler diagnostics | - |
146
- | VB.NET | wasm-dotnet | Yes | compiler diagnostics | - |
147
- | Elixir | AtomVM / Popcorn | Yes | syntax | - |
148
- | Erlang | AtomVM / Popcorn | Yes | syntax | - |
149
- | Prolog | SWI-Prolog WASM worker | Yes | syntax | - |
150
- | Gleam | Gleam precompiled browser runtime | Yes | compiler diagnostics | - |
151
- | Grain | Grain 0.7.2 js_of_ocaml compiler + WASI | Yes | Grain LSP | - |
152
- | Perl | Perl WASM worker | Yes | syntax | - |
153
- | Tcl | Wacl Tcl WASM worker | Yes | syntax | - |
154
- | AWK | GoAWK WASM worker | Yes | syntax | - |
155
- | Pascal | pas2js worker | Yes | syntax | - |
156
- | Forth | WAForth WASM worker | Yes | forth-lsp | - |
157
- | J | J playground WASM worker | Yes | syntax | - |
158
- | BQN | CBQN WASM worker | Yes | syntax | - |
159
- | Janet | Janet VM WASM worker | Yes | syntax | - |
160
- | Julia | Julia 1.3.0-DEV.560 legacy WASM worker | Yes | syntax | - |
161
- | Nim | Nim 2.2.4 WASM + clang/lld WASM | Yes | Nim LSP | - |
162
- | Bash | GNU Bash WASIX / Wasmer SDK | Yes | Bash LSP | - |
163
- | ClojureScript | cljs.js self-hosted compiler | Yes | syntax | - |
164
- | ReScript | ReScript 12.3.1 compiler (js_of_ocaml) | Yes | ReScript LSP + types | - |
165
- | TinyGo | wasm-tinygo | Yes | syntax | - |
166
- | OCaml | wasm-of-js-of-ocaml / js_of_ocaml | Yes | syntax | - |
167
- | JavaScript | wasm-typescript / TypeScript service | Yes | TypeScript LSP | - |
168
- | TypeScript | wasm-typescript / TypeScript service | Yes | TypeScript LSP | - |
169
- | AssemblyScript | AssemblyScript compiler | Yes | AssemblyScript LSP | - |
170
- | WAT | WABT | Yes | WAT LSP | - |
171
- | WASM | Browser WebAssembly + WASI shim | Yes | syntax | - |
172
- | Lua | Wasmoon | Yes | syntax | MobDebug |
173
- | Fennel | fennel.lua on Wasmoon | Yes | Fennel LSP | - |
174
- | Zig | zig_small.wasm | Yes | syntax | - |
175
- | Scheme | Puppy Scheme / wasm-lisp | Yes | syntax | - |
176
- | Common Lisp | ECL 26.5.5 (Embeddable Common-Lisp) WASM | Yes | syntax | - |
177
- | Ruby | CRuby WASI | Yes | syntax | TracePoint |
178
- | Haskell | ghc-in-browser | Yes | syntax | - |
179
- | LFortran | LFortran LLVM evaluator (experimental) | Yes | compiler diagnostics | - |
180
- | Lean 4 | Lean 4.34.1 lean --run (Emscripten) | Yes | Lean LSP (Init) | - |
181
- | Fortran | f2c + @wasm-idle/llvm-core | Yes | Fortran LSP | - |
182
- | COBOL | GnuCOBOL 3.2 + @wasm-idle/llvm-core | Yes | SuperBOL OSS LSP | - |
183
- | V | V 0.5.2 + @wasm-idle/llvm-core | Yes | v-analyzer LSP | LLDB |
184
- | R | WebR | Yes | syntax | - |
185
- | Octave | wasm-octave | Yes | syntax | - |
186
- | DuckDB | DuckDB-Wasm | Files | DuckDB LSP | - |
187
- | SQLite | sql.js | n/a | syntax | - |
188
- | PostgreSQL | PostgreSQL 18 / PGlite | Files | syntax | - |
189
- | PHP | PHP 8.4 / php-wasm | Yes | PHPantom LSP | - |
122
+ | Language | Browser runtime/compiler | Stdin | Editor support | Debug |
123
+ | --------------------------------- | ----------------------------------------------- | ---------------------------------------- | ----------------------------------- | -------------- |
124
+ | GolfScript | Original GolfScript interpreter on Ruby/WASI | Yes | plain text | - |
125
+ | APECode | Original APECode interpreter on Pyodide | Yes | plain text | - |
126
+ | LOLCODE 1.3 | Original lci 1.3 interpreter on WASI | Yes | plain text | - |
127
+ | UHMLANG (엄준식) | Original Umjunsik Go interpreter on WASI | Yes | plain text | - |
128
+ | Aheui | rpaheui 1.2.5 on Pyodide | Yes | plain text | - |
129
+ | Malbolge | Ben Olmstead Malbolge on WASI | Yes | plain text | - |
130
+ | Whitespace | koturn/Whitespace 0.3 on WASI | Yes | plain text | - |
131
+ | C3 | C3 0.8.5_1 + LLVM/lld WASM (byte ABI) | Yes | c3-lsp | - |
132
+ | C | @wasm-idle/llvm-core / Clang WASI | Yes | clangd | LLDB |
133
+ | C++ | @wasm-idle/llvm-core / Clang WASI | Yes | clangd | LLDB |
134
+ | Objective-C | GNUstep libobjc2 + @wasm-idle/llvm-core | Yes | clangd | LLDB |
135
+ | Objective-C++ | GNUstep libobjc2 + @wasm-idle/llvm-core | Yes | clangd | LLDB |
136
+ | Python | Pyodide | Yes | Python LSP | Trace |
137
+ | Befunge-93 | Chris Pressey Befunge-93 on WASI | Yes | plain text | - |
138
+ | Brainfuck | susam/bfc on WASI | Yes | plain text | - |
139
+ | Hy | Hy 1.3.1 on Pyodide | Yes | syntax | - |
140
+ | Java | TeaVM | Yes | javacs LSP (TeaVM) | Trace (source) |
141
+ | Rust | wasm-rust / browser rustc | Yes | rustc diagnostics | LLDB |
142
+ | Go | wasm-go / browser Go compiler | Yes | compiler diagnostics | Trace |
143
+ | D | wasm-d | Yes | syntax | - |
144
+ | C# | wasm-dotnet | Yes | compiler diagnostics | - |
145
+ | F# | wasm-dotnet | Yes | compiler diagnostics | - |
146
+ | VB.NET | wasm-dotnet | Yes | compiler diagnostics | - |
147
+ | Elixir | AtomVM / Popcorn | Yes | syntax | - |
148
+ | Erlang | AtomVM / Popcorn | Yes | syntax | - |
149
+ | Prolog | SWI-Prolog WASM worker | Yes | syntax | - |
150
+ | Scala 3 / Scala.js (experimental) | Real Scala 3 browser compiler + Scala.js linker | Buffered only; EOF after preloaded input | Scala syntax + compiler diagnostics | - |
151
+ | Gleam | Gleam precompiled browser runtime | Yes | compiler diagnostics | - |
152
+ | Grain | Grain 0.7.2 js_of_ocaml compiler + WASI | Yes | Grain LSP | - |
153
+ | Perl | Perl WASM worker | Yes | syntax | - |
154
+ | Tcl | Wacl Tcl WASM worker | Yes | syntax | - |
155
+ | AWK | GoAWK WASM worker | Yes | syntax | - |
156
+ | Pascal | pas2js worker | Yes | syntax | - |
157
+ | Forth | WAForth WASM worker | Yes | forth-lsp | - |
158
+ | J | J playground WASM worker | Yes | syntax | - |
159
+ | BQN | CBQN WASM worker | Yes | syntax | - |
160
+ | Janet | Janet VM WASM worker | Yes | syntax | - |
161
+ | Julia | Julia 1.3.0-DEV.560 legacy WASM worker | Yes | syntax | - |
162
+ | Nim | Nim 2.2.4 WASM + clang/lld WASM | Yes | Nim LSP | - |
163
+ | Bash | GNU Bash WASIX / Wasmer SDK | Yes | Bash LSP | - |
164
+ | ClojureScript | cljs.js self-hosted compiler | Yes | syntax | - |
165
+ | ReScript | ReScript 12.3.1 compiler (js_of_ocaml) | Yes | ReScript LSP + types | - |
166
+ | TinyGo | wasm-tinygo | Yes | syntax | - |
167
+ | OCaml | wasm-of-js-of-ocaml / js_of_ocaml | Yes | syntax | - |
168
+ | JavaScript | wasm-typescript / TypeScript service | Yes | TypeScript LSP | - |
169
+ | TypeScript | wasm-typescript / TypeScript service | Yes | TypeScript LSP | - |
170
+ | AssemblyScript | AssemblyScript compiler | Yes | AssemblyScript LSP | - |
171
+ | WAT | WABT | Yes | WAT LSP | - |
172
+ | WASM | Browser WebAssembly + WASI shim | Yes | syntax | - |
173
+ | Lua | Wasmoon | Yes | syntax | MobDebug |
174
+ | Fennel | fennel.lua on Wasmoon | Yes | Fennel LSP | - |
175
+ | Zig | zig_small.wasm | Yes | syntax | LLDB |
176
+ | Scheme | Puppy Scheme / wasm-lisp | Yes | syntax | - |
177
+ | Common Lisp | ECL 26.5.5 (Embeddable Common-Lisp) WASM | Yes | syntax | - |
178
+ | Ruby | CRuby WASI | Yes | syntax | TracePoint |
179
+ | Haskell | ghc-in-browser | Yes | syntax | - |
180
+ | LFortran | LFortran LLVM evaluator (experimental) | Yes | compiler diagnostics | - |
181
+ | Lean 4 | Lean 4.34.1 lean --run (Emscripten) | Yes | Lean LSP (Init) | - |
182
+ | Fortran | f2c + @wasm-idle/llvm-core | Yes | Fortran LSP | - |
183
+ | COBOL | GnuCOBOL 3.2 + @wasm-idle/llvm-core | Yes | SuperBOL OSS LSP | - |
184
+ | V | V 0.5.2 + @wasm-idle/llvm-core | Yes | v-analyzer LSP | LLDB |
185
+ | R | WebR | Yes | syntax | - |
186
+ | Octave | wasm-octave | Yes | syntax | - |
187
+ | DuckDB | DuckDB-Wasm | Files | DuckDB LSP | - |
188
+ | SQLite | sql.js | n/a | syntax | - |
189
+ | PostgreSQL | PostgreSQL 18 / PGlite | Files | syntax | - |
190
+ | PHP | PHP 8.4 / php-wasm | Yes | PHPantom LSP | - |
190
191
 
191
192
  ## Browser LLDB debug runtime
192
193
 
@@ -334,74 +335,75 @@ targets and flags wasm-idle applies, plus the public per-run options that change
334
335
  variables understood by this repository's example page. Published packages do not read environment
335
336
  variables or import SvelteKit modules.
336
337
 
337
- | Language / IDs | Package/version base | Execution defaults / flags | Customization |
338
- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
339
- | GolfScript<br>`GOLFSCRIPT` | darrenks/golfscript cded5425 (upstream MIT notice), original Ruby source on the bundled Ruby/WASI VM | Loads the unchanged GolfScript CLI in a fresh Ruby VM; supports stack operations, arrays, blocks, arbitrary integers, Ruby string interpolation and original -q/-n/-r options; reads stdin to EOF, or accepts argument-array input after --, with original implicit final output | `runtimeAssets.golfscript.interpreterUrl`, `runtimeAssets.rootUrl`, `runtimeAssets.ruby`, `stdin`, `programArgs`, `activePath`, `workspaceFiles`; code-pinned original script, readonly source files, execution limits and cancellation; prepare initializes Ruby without running GolfScript source |
340
- | APECode<br>`APECODE` | seo-rii/apecode 0.1.0 (c7ae98d3), original pure Python wheel on Pyodide; upstream has no declared standalone license | Runs the original parser and state-machine interpreter through run_source; reads numeric test cases to EOF, models rock weights, grippers and built-in states, and writes original result/trace bytes through Python file descriptors; each run creates fresh interpreter state | `runtimeAssets.apecode.baseUrl`, `runtimeAssets.rootUrl`, `stdin`, `activePath`, `workspaceFiles`; code-pinned local wheel; execution timeout, output and workspace limits plus cancellation; prepare loads the interpreter without parsing or running user source |
341
- | LOLCODE 1.3<br>`LOLCODE` | justinmeza/lci v1.3 (GPL-3.0-or-later), wasi-sdk 33.0 build | Runs the unchanged lci lexer, parser and interpreter for LOLCODE 1.3, including functions, loops, arrays, type casts and Unicode string escapes; GIMMEH reads a line and VISIBLE normally adds a newline; each run starts with fresh state | `runtimeAssets.rootUrl`, `stdin`, `activePath`, `workspaceFiles`; fixed interpreter argv; prepare compiles the runtime without executing or validating the source |
342
- | UHMLANG (엄준식)<br>`UHMLANG` | rycont/umjunsik-lang e973f9d2 (MIT), Go 1.25.3 WASI build | Runs the original Go lexer, parser and evaluator with signed 64-bit arithmetic, variables, jumps and conditional statements; numeric stdin is line based and character output writes Unicode code points; each execution starts with fresh state | `runtimeAssets.rootUrl`, `stdin`, `activePath`, `workspaceFiles`; fixed interpreter argv; prepare compiles the runtime without executing or validating the source |
343
- | Aheui<br>`AHEUI` | aheui/rpaheui 1.2.5 (BSD-2-Clause) on Pyodide 314.0.7; one receipt-verified pure Python wheel | Runs the original rpaheui compiler and interpreter with --no-c --warning-limit=0, 26 stacks, a queue and a port, with Unicode character/integer stdin; normal halt returns its stack value; no handwritten parser or subset executor | `runtimeAssets.rootUrl`, `runtimeAssets.aheui.baseUrl`, `stdin`, `activePath`, `workspaceFiles`; fixed interpreter argv; prepare loads the interpreter without executing source |
344
- | Malbolge<br>`MALBOLGE` | Original Ben Olmstead interpreter, TryItOnline/malbolge b0869870 (public domain), compiled with WASI SDK 33 | Runs the original 59049-cell ternary and self-modifying interpreter; source-file input is separate from byte stdin/stdout; EOF stores 59048; requires at least two non-whitespace source bytes | `runtimeAssets.rootUrl`, `stdin`, `activePath`, `workspaceFiles`; fixed interpreter argv; prepare compiles the runtime without executing or validating the source |
345
- | Whitespace<br>`WHITESPACE` | koturn/Whitespace 22a57aab (MIT), compiled with WASI SDK 33 | Runs the upstream Whitespace 0.3 interpreter with a documented divisor-guard correction, copy/slide, heap, labels, calls and signed 32-bit integers; character/numeric stdin and exact stdout; character EOF is -1; source limit 65535 UTF-8 bytes | `runtimeAssets.rootUrl`, `stdin`, `activePath`, `workspaceFiles`; fixed interpreter argv; prepare compiles the runtime without executing or validating the source |
346
- | C3<br>`C3` | wasm-llvm/c3-browser: C3 0.8.3 / LLVM 22.1.8 | Verified c3c and builtin LLD compile real C3 in a fresh browser Worker; UTF-8 env.readByte/env.writeByte ABI and exported main; std::io and WASI unavailable | `runtimeAssets.c3.baseUrl`, `stdin`, `activePath`, `workspaceFiles`; fixed compiler flags and bounded Wasm memories |
347
- | C<br>`C` | @wasm-idle/llvm-core@1.2.0 / Clang 22.1.8 WASI sysroot from the `wasm-llvm` producer | `clang` for `wasm32-wasi`; default `-std=gnu11`; LLDB mode compiles untouched source with embedded DWARF at `-g -O0` and runs it in WAMR; normal runs still use the browser WASI host; supports `stdin` and `programArgs` | `runtimeAssets.clang.baseUrl`/`loader` or `rootUrl`; `compileArgs`, `programArgs`, `cVersion`, `activePath`, `workspaceFiles`, `debugMode`, `breakpoints`, `pauseOnEntry` |
348
- | C++<br>`CPP` | @wasm-idle/llvm-core@1.2.0 / Clang 22.1.8 WASI sysroot from the `wasm-llvm` producer | `clang++` for `wasm32-wasi`; default `-std=gnu++20`; LLDB mode compiles untouched source with embedded DWARF at `-g -O0` and runs it in WAMR; normal runs still use the browser WASI host; supports `stdin` and `programArgs` | `runtimeAssets.clang.baseUrl`/`loader` or `rootUrl`; `compileArgs`, `programArgs`, `cppVersion`, `activePath`, `workspaceFiles`, `debugMode`, `breakpoints`, `pauseOnEntry` |
349
- | Objective-C<br>`OBJC` | GNUstep libobjc2 v2.3 assets from the `wasm-llvm` producer + @wasm-idle/llvm-core@1.2.0 | `clang -x objective-c -fobjc-runtime=gnustep-2.0 -fblocks` for `wasm32-wasi`; links `libobjc.a`, `libgnustep-base.a`, and `libffi.a` when Foundation is imported; Foundation headers are inlined from `foundation-headers.json`; includes a constructor wrapper for Objective-C class registration; auto-compiles `.m`/`.mm`/`.c` workspace files; trace debug instruments active source and uses wasm-idle controls; supports `stdin` and `programArgs`; large Objective-C assets may be served as gzip-only `.gz` files through the service worker or worker fallback | `runtimeAssets.objectivec.baseUrl`/`libobjcUrl`/`headersUrl`/`libgnustepBaseUrl`/`libgnustepBaseObjectUrl`/`foundationHeadersUrl`/`libffiUrl` or `PUBLIC_WASM_OBJECTIVEC_*`; `runtimeAssets.clang.baseUrl`/`loader` for the clang toolchain; `activePath`, `workspaceFiles`, `compileArgs`, `debug`, `breakpoints`, `pauseOnEntry` |
350
- | Objective-C++<br>`OBJECTIVECXX` | Same GNUstep libobjc2 v2.3 + libc++ assets as Objective-C from the `wasm-llvm` producer + @wasm-idle/llvm-core@1.2.0; no extra compiler assets | `clang -x objective-c++ -std=gnu++20 -fobjc-runtime=gnustep-2.0 -fblocks` for `wasm32-wasi` with libc++ headers; active file defaults to `main.mm`; links `libobjc.a` (plus GNUstep Base and `libffi.a` when Foundation is imported); auto-compiles `.mm`/`.m`/`.c` workspace files; supports `stdin` and `programArgs`; trace debugging is not supported | Shares `runtimeAssets.objectivec` and `runtimeAssets.clang` with Objective-C; `activePath`, `workspaceFiles`, `compileArgs`, `programArgs` |
351
- | Python<br>`PYTHON3` | static ESM `static/pyodide/pyodide.mjs` / pyodide@314.0.7 | loads `pyodide.mjs`, `pyodide.asm.mjs`, `pyodide.asm.wasm`, and `python_stdlib.zip` from the configured static asset tree on demand; supports `stdin`, workspace files, and trace debugging | `runtimeAssets.python.baseUrl`/`loader` or `rootUrl`; `stdin`, `activePath`, `workspaceFiles`, `debug`, `breakpoints`, `pauseOnEntry`, `debugPath` |
352
- | Befunge-93<br>`BEFUNGE93` | catseye/Befunge-93 8fe4065c (BSD-3-Clause), compiled with WASI SDK 33 | Runs the original interpreter with an 80 by 25 wrapping playfield, signed 32-bit stack, string mode and self-modifying p/g instructions; character and integer stdin share the WASI terminal; character EOF is -1 | `runtimeAssets.rootUrl`, `stdin`, `activePath`, `workspaceFiles`; fixed quiet argv; prepare compiles the runtime without executing or validating the source |
353
- | Brainfuck<br>`BRAINFUCK` | susam/bfc b1b92fc (MIT), compiled with WASI SDK 33 | Runs the pinned upstream interpreter in a browser Worker with a fresh read-only source filesystem; 30000 wrapping 8-bit cells, UTF-8 byte stdin/stdout, EOF sets the cell to zero | `runtimeAssets.rootUrl`, `stdin`, `activePath`, `workspaceFiles`; fixed interpreter argv; prepare compiles the runtime without executing or validating the source |
354
- | Hy<br>`HY` | Hy 1.3.1 + funcparserlib 1.0.1 pure-Python wheels on pyodide@314.0.7 | receipt-verifies the bundled wheels, unpacks them into Pyodide site-packages, and compiles Hy with `hy.compiler.hy_compile`; `(input)`/`(print)` share the Python stdin/stdout bridge; no debugger or automatic package loading | `runtimeAssets.hy.baseUrl` or `PUBLIC_WASM_HY_BASE_URL` plus the Python runtime assets; `stdin`, `activePath` |
355
- | Java<br>`JAVA` | @wasm-idle/runtime-teavm@0.0.0 / TeaVM compiler assets; javacs 0.2.38 LSP via TeaVM 0.16.0 | `compiler.wasm` compiles Java to browser WASM/JS; supports `stdin` and `programArgs` | `runtimeAssets.java.baseUrl`/`loader` or `rootUrl`; editor: `runtimeAssets.javaLsp.baseUrl`/`assets` |
356
- | Rust<br>`RUST` | wasm-rust@0.1.0 / rust-1.99.0-browser-integrated-v1 + integrated LLVM/LLD 22.1.8 from the `wasm-llvm` producer; exact rustc/LLVM provenance is recorded for LLDB compatibility | browser host `wasm32-wasip1-threads`; default target `wasm32-wasip1`, selectable `wasm32-wasip1`, `wasm32-wasip2`, `wasm32-wasip3`; LLDB mode is currently limited to `wasm32-wasip1` and emits embedded DWARF with `-C debuginfo=2 -C opt-level=0`; normal Preview 1/2/3 execution remains unchanged; supports `stdin` and `programArgs` | `runtimeAssets.rust.compilerUrl`, `runtimeAssets.rust.debugModuleUrl`, or `PUBLIC_WASM_RUST_COMPILER_URL`; `rootUrl`, `rustTargetTriple`, `programArgs`, `debugMode`; compiler requests accept `edition`, `crateType`, `extendedTimeout`, `log`, and `onProgress`; runtime manifest controls compiler memory, timeout, and shared workspace size |
357
- | Go<br>`GO` | wasm-go@0.1.0 / go1.26.1 | default target `wasip1/wasm`; selectable `wasip1/wasm`, `wasip2/wasm`, `wasip3/wasm`, `js/wasm`; supports `stdin` and `programArgs` | `runtimeAssets.go.compilerUrl` or `PUBLIC_WASM_GO_COMPILER_URL`; `goTarget`, `programArgs` |
358
- | D<br>`D` | wasm-d@0.1.0 / ldc-1.42.0-wasi-smoke | `ldc2 -conf=/toolchain/etc/ldc2.conf -mtriple=wasm32-wasi -c` then `wasm-ld` to WASI preview1; supports `stdin` and `programArgs` | `runtimeAssets.d.moduleUrl` or `PUBLIC_WASM_D_MODULE_URL`; `activePath`, `programArgs` |
359
- | C#<br>`CSHARP` | wasm-dotnet@0.1.0 / .NET 9.0.16 browser-wasm / Roslyn C# 4.14.0 | `CSharpCompilationOptions(OutputKind.ConsoleApplication)`; `concurrentBuild=false`; target `browser-wasm`; language-specific AOT bundle `runtime/csharp/`; supports `stdin` and `programArgs` | `runtimeAssets.dotnet.moduleUrl` or `PUBLIC_WASM_DOTNET_MODULE_URL`; `programArgs`, LSP on/off |
360
- | F#<br>`FSHARP` | wasm-dotnet@0.1.0 / .NET 9.0.16 browser-wasm / FCS 43.12.204 / FSharp.Core 10.1.204 | `fsc.exe --target:exe --targetprofile:netcore --noframework --simpleresolution --nowin32manifest --debug- --optimize-`; language-specific AOT bundle `runtime/fsharp/`; supports `stdin` and `programArgs` | `runtimeAssets.dotnet.moduleUrl` or `PUBLIC_WASM_DOTNET_MODULE_URL`; `programArgs`, LSP on/off |
361
- | VB.NET<br>`VBNET` | wasm-dotnet@0.1.0 / .NET 9.0.16 browser-wasm / Roslyn Visual Basic 4.14.0 | `VisualBasicCompilationOptions(OutputKind.ConsoleApplication)`; `concurrentBuild=false`, `OptionStrict=Off`, `OptionInfer=On`, `OptionExplicit=On`; target `browser-wasm`; language-specific AOT bundle `runtime/vbnet/`; supports `stdin` and `programArgs` | `runtimeAssets.dotnet.moduleUrl` or `PUBLIC_WASM_DOTNET_MODULE_URL`; `programArgs`, LSP on/off |
362
- | Elixir<br>`ELIXIR` | wasm-elixir asset bundle / @swmansion/popcorn@0.3.3 | Popcorn/AtomVM bundle `bundle.avm`; supports `stdin` | `runtimeAssets.elixir.bundleUrl` or `PUBLIC_WASM_ELIXIR_BUNDLE_URL` |
363
- | Erlang<br>`ERLANG` | wasm-elixir asset bundle / @swmansion/popcorn@0.3.3 | Popcorn/AtomVM bundle `bundle.avm`; supports `stdin` | `runtimeAssets.erlang.bundleUrl` or `PUBLIC_WASM_ERLANG_BUNDLE_URL`; falls back to Elixir bundle URL |
364
- | Prolog<br>`PROLOG` | swipl-wasm@8.2.1 synced into `static/wasm-prolog` | static worker runs SWI-Prolog; supports `stdin` and `programArgs` | `runtimeAssets.prolog.baseUrl`/`runtimeAssets.prolog.workerUrl` or `PUBLIC_WASM_PROLOG_BASE_URL`/`PUBLIC_WASM_PROLOG_WORKER_URL`; `programArgs`, `activePath`, `workspaceFiles` |
365
- | Gleam<br>`GLEAM` | @live-codes/gleam-precompiled@0.5.0 static worker | Gleam worker compiles/runs browser output with source manifest; supports `stdin` | `runtimeAssets.gleam.baseUrl`/`workerUrl`/`manifestUrl` or `PUBLIC_WASM_GLEAM_*`; `programArgs`, `workspaceFiles` |
366
- | Grain<br>`GRAIN` | grain-lang/grain v0.7.2 release: upstream js_of_ocaml grainc.bc.js + @grain/stdlib 0.7.2 (precompiled .gro) | Verified upstream grainc compiles `.gr` workspace files to WASI in a fresh browser Worker; stdio-only WASI host with streaming `stdin` | `runtimeAssets.grain.baseUrl` or `PUBLIC_WASM_GRAIN_BASE_URL`; `stdin`, `programArgs`, `activePath`, `workspaceFiles`; Wasm memory bounded by `limits.maxWasmMemoryBytes` |
367
- | Perl<br>`PERL` | WebPerl v0.09-beta (webperl_prebuilt_v0.09-beta.zip) | host-verifies the manifest, stored assets, logical hashes, and profile-bound one-shot runner before executing `emperl`; supports `stdin` and `programArgs` | explicit `runtimeAssets.perl.baseUrl`/`workerUrl`/`manifestUrl` overrides require one complete profile-and-runner receipt bundle; URL-only `PUBLIC_WASM_PERL_*` overrides fail closed; `programArgs`, `activePath`, `workspaceFiles` |
368
- | Tcl<br>`TCL` | Wacl Tcl 2017-05-29 (wacl.zip) | host-verifies the manifest, stored assets, logical hashes, and profile-bound one-shot runner before executing Wacl Tcl; supports `stdin` and `programArgs` | bundled mirrors may set `runtimeAssets.tcl.baseUrl`/`workerUrl`/`manifestUrl` or `PUBLIC_WASM_TCL_BASE_URL`/`PUBLIC_WASM_TCL_WORKER_URL`; custom executable bytes require one complete profile-and-runner receipt bundle; `programArgs`, `activePath`, `workspaceFiles` |
369
- | AWK<br>`AWK` | GoAWK v1.31.0 / go1.25.3 | static worker runs `goawk.wasm`; supports `stdin` and `programArgs` | `runtimeAssets.awk.baseUrl`/`runtimeAssets.awk.workerUrl` or `PUBLIC_WASM_AWK_BASE_URL`/`PUBLIC_WASM_AWK_WORKER_URL`; `programArgs`, `activePath`, `workspaceFiles` |
370
- | Pascal<br>`PASCAL` | pas2js 3.2.1 (9ac46614dc82) | static worker compiles with pas2js then runs JS; supports `stdin` | `runtimeAssets.pascal.baseUrl`/`runtimeAssets.pascal.workerUrl` or `PUBLIC_WASM_PASCAL_BASE_URL`/`PUBLIC_WASM_PASCAL_WORKER_URL`; `programArgs`, `activePath`, `workspaceFiles` |
371
- | Forth<br>`FORTH` | waforth@0.20.1 / static worker | WAForth worker; supports `stdin` and `programArgs` | `runtimeAssets.forth.baseUrl`/`runtimeAssets.forth.workerUrl` or `PUBLIC_WASM_FORTH_BASE_URL`/`PUBLIC_WASM_FORTH_WORKER_URL`; `programArgs`, `activePath`, `workspaceFiles` |
372
- | J<br>`J` | jsoftware-j-playground static worker | J playground worker; supports `stdin` and `programArgs` | `runtimeAssets.j.baseUrl`/`runtimeAssets.j.workerUrl` or `PUBLIC_WASM_J_BASE_URL`/`PUBLIC_WASM_J_WORKER_URL`; `programArgs`, `activePath`, `workspaceFiles` |
373
- | BQN<br>`BQN` | CBQN static worker / Emscripten 3.1.8 | CBQN worker; supports `stdin` and `programArgs` | `runtimeAssets.bqn.baseUrl`/`runtimeAssets.bqn.workerUrl` or `PUBLIC_WASM_BQN_BASE_URL`/`PUBLIC_WASM_BQN_WORKER_URL`; `programArgs`, `activePath`, `workspaceFiles` |
374
- | Janet<br>`JANET` | Janet 1.41.3-dev / Emscripten 3.1.8 opaque vendored bundle | host-verifies the manifest, stored assets, logical hashes, and profile-bound one-shot runner before executing the Janet VM; supports `stdin` and `programArgs` | explicit `runtimeAssets.janet.baseUrl`/`workerUrl`/`manifestUrl` overrides require one complete profile-and-runner receipt bundle; URL-only `PUBLIC_WASM_JANET_*` overrides fail closed; `programArgs`, `activePath`, `workspaceFiles` |
375
- | Julia<br>`JULIA` | @chriskoch/julia-wasm@1.0.4 | host-verifies the manifest, stored assets, logical hashes, and profile-bound one-shot runner before executing the legacy Julia VM; supports `stdin` and `activePath` | explicit `runtimeAssets.julia.baseUrl`/`workerUrl`/`manifestUrl` overrides require one complete profile-and-runner receipt bundle; URL-only `PUBLIC_WASM_JULIA_*` overrides fail closed; `activePath` |
376
- | Nim<br>`NIM` | Nim 2.2.4 / benagastov Nim-WASM-Compiler with clang/lld WASM | host-verifies the manifest, eight stored assets, logical hashes, and profile-bound one-shot runner before compiling Nim to C and linking with clang/lld WASM in a disposable worker; supports `stdin`, `programArgs`, and `activePath` | explicit `runtimeAssets.nim.baseUrl`/`workerUrl`/`manifestUrl` overrides require one complete profile-and-runner receipt bundle; URL-only `PUBLIC_WASM_NIM_*` overrides fail closed; `programArgs`, `activePath` |
377
- | Bash<br>`BASH` | @wasm-idle/runtime-bash@0.1.0 / GNU Bash WASIX + receipt-pinned @wasmer/sdk@0.10.0 profile | host-verifies one profile manifest, the stored SDK JavaScript, Wasmer Wasm, and WEBc before starting a fixed worker generation with no runtime-asset fetches; invokes `bash -c <code> <activePath> ...programArgs` and supports `stdin`, `programArgs`, `activePath`, and `workspaceFiles` | `rootUrl` mirrors reuse the bundled profile; explicit `runtimeAssets.bash.baseUrl`/`manifestUrl`/`moduleUrl`/`wasmerWasmUrl`/`webcUrl` overrides require one complete profile; `workerUrl` is rejected; `stdin`, `programArgs`, `activePath`, `workspaceFiles` |
378
- | ClojureScript<br>`CLOJURESCRIPT` | @wasm-idle/runtime-clojurescript@0.1.0 / ClojureScript 1.12.134 | static worker compiles and evaluates with the official `cljs.js` self-hosted compiler; supports `stdin`, `programArgs`, `activePath`, and `workspaceFiles` | `runtimeAssets.clojurescript.baseUrl`/`runtimeAssets.clojurescript.workerUrl` or `PUBLIC_WASM_CLOJURESCRIPT_BASE_URL`/`PUBLIC_WASM_CLOJURESCRIPT_WORKER_URL`; `programArgs`, `activePath`, `workspaceFiles` |
379
- | ReScript<br>`RESCRIPT` | upstream ReScript 12.3.1 playground `compiler.js` + `compiler-builtins/cmij.js` + `@rescript/runtime@12.3.1` | static worker compiles `Main.res` to CommonJS with the official js_of_ocaml ReScript compiler, then runs it against the upstream stdlib runtime; stdin via `fs.readLineSync(0)`/`fs.readFileSync(0)`; compiler errors/warnings become editor diagnostics; supports `programArgs` | `runtimeAssets.rescript.baseUrl`/`runtimeAssets.rescript.workerUrl` or `PUBLIC_WASM_RESCRIPT_BASE_URL`/`PUBLIC_WASM_RESCRIPT_WORKER_URL`; `programArgs`, `activePath`, `workspaceFiles` |
380
- | TinyGo<br>`TINYGO` | wasm-tinygo@0.0.0 / upstream TinyGo 0.40.1 browser toolchain | receipt-verifies and runs upstream `cmd/go` plus TinyGo in a disposable capped Worker; targets `wasip1`; supports `stdin`, `programArgs`, `workspaceFiles`, hosted C++ without exceptions/RTTI, and offline `vendor/modules.txt` | `runtimeAssets.tinygo.moduleUrl`/`assetLoader`; `PUBLIC_WASM_TINYGO_MODULE_URL`, execution/workspace resource limits, `programArgs` |
381
- | OCaml<br>`OCAML` | wasm-of-js-of-ocaml@0.1.0 / js_of_ocaml + wasm_of_ocaml | default backend `wasm`; selectable `wasm`, `js`; `ocamlWasmBinaryenMode` `fast`, `full`; supports `stdin`; outer module and manifest are size/SHA-256 verified before use | `runtimeAssets.ocaml.moduleUrl`/`manifestUrl` plus `moduleReceipt`/`manifestReceipt` for a custom generation, or `PUBLIC_WASM_OCAML_*` for a mirror of the bundled generation; `ocamlBackend` |
382
- | JavaScript<br>`JAVASCRIPT` | wasm-typescript@0.1.0 / @swc/wasm-typescript@1.16.13 | TypeScript service transpiles JS/TS and runs in browser sandbox; supports `stdin` and `programArgs` | `runtimeAssets.typescript.moduleUrl`/`libUrl` or `PUBLIC_WASM_TYPESCRIPT_MODULE_URL` |
383
- | TypeScript<br>`TYPESCRIPT` | wasm-typescript@0.1.0 / @swc/wasm-typescript@1.16.13 | TypeScript service transpiles then runs in browser sandbox; supports `stdin` and `programArgs` | `runtimeAssets.typescript.moduleUrl`/`libUrl` or `PUBLIC_WASM_TYPESCRIPT_MODULE_URL` |
384
- | AssemblyScript<br>`ASSEMBLYSCRIPT` | static ESM `static/wasm-assemblyscript/runtime.mjs` produced from assemblyscript@0.28.20 + @assemblyscript/loader@0.28.20 | `asc <activePath> --outFile module.wasm --runtime incremental --bindings raw --optimize --exportRuntime`; runs the emitted WASM through WASI/browser imports and supports `stdin` | `runtimeAssets.assemblyscript.moduleUrl` or `PUBLIC_WASM_ASSEMBLYSCRIPT_MODULE_URL` or `rootUrl`; `stdin`, `activePath`, `workspaceFiles` |
385
- | WAT<br>`WAT` | wasm-wat@0.1.0 / wabt@1.0.39 | WABT parses WAT to WASM then runs through WASI shim; supports `stdin` and `programArgs` | `runtimeAssets.wat.moduleUrl` or `PUBLIC_WASM_WAT_MODULE_URL`; `programArgs` |
386
- | WASM<br>`WASM` | Browser WebAssembly + @bjorn3/browser_wasi_shim@0.4.2 | loads provided WASM bytes and executes with WASI preview1 imports; supports `stdin` and `programArgs` | `programArgs`, `stdin`, `activePath` |
387
- | Lua<br>`LUA` | wasm-lua@0.1.0 / wasmoon@1.16.0 | Wasmoon Lua VM; supports `stdin` and `programArgs` | `runtimeAssets.lua.moduleUrl` or `PUBLIC_WASM_LUA_MODULE_URL`; `programArgs` |
388
- | Fennel<br>`FENNEL` | static wasm-fennel `fennel-1.6.1.lua.gz` (official Fennel 1.6.1) on wasm-lua@0.1.0 | receipt-verified `fennel.lua` compiler evaluated by the Wasmoon Lua VM; supports `stdin` and `programArgs` | `runtimeAssets.fennel.compilerUrl` or `PUBLIC_WASM_FENNEL_COMPILER_URL` plus the Lua module URL; `programArgs` |
389
- | Zig<br>`ZIG` | static wasm-zig assets / `zig_small.wasm` + `std.tar.gz` | native gzip delivery for the tar standard library; default target `wasm64-wasi`; Zig compile args are appended; supports `stdin`, `compileArgs`, `programArgs` | `runtimeAssets.zig.compilerUrl`/`stdlibUrl` or `PUBLIC_WASM_ZIG_*`; `zigTargetTriple`, `activePath`, `workspaceFiles` |
390
- | Scheme<br>`LISP` | wasm-lisp@0.1.0 / Puppy Scheme WASM component | receipt-verified Puppy Scheme compiler/runtime; supports `stdin` and `programArgs` | `runtimeAssets.lisp.{moduleUrl,manifestUrl,manifestFingerprint}` or `PUBLIC_WASM_LISP_{MODULE_URL,MANIFEST_URL,MANIFEST_FINGERPRINT}`; `programArgs` |
391
- | Common Lisp<br>`COMMONLISP` | receipt-pinned `wasm-llvm/producer/ecl-browser` ECL 26.5.5 artifacts downloaded into `static/wasm-commonlisp` | real upstream ECL bytecode compiler/interpreter LOADs the active file in a fresh Worker; shared-ring stdin serves READ-LINE/READ with EOF; unhandled conditions print to stderr and fail the run; recursion deeper than the browser call stack (about 150 levels in a Chromium Worker) fails as a stack-overflow error | `runtimeAssets.commonlisp.baseUrl` relocates the reviewed bundle; `stdin`, `activePath`, workspace files loadable with `LOAD`, cancellation and Wasm memory limits; no program arguments, native compiler or contrib modules |
392
- | Ruby<br>`RUBY` | receipt-pinned `static/wasm-ruby` profile produced from @ruby/3.4-wasm-wasi@2.10.1 + @ruby/wasm-wasi@2.10.1 | host-verifies the manifest, canonical stored module and gzip bytes, and logical WASM before transferring three owned buffers to a no-fetch CRuby 3.4 worker; supports `stdin`, `programArgs`, and workspace files | `rootUrl` mirrors reuse the bundled profile; explicit `runtimeAssets.ruby` overrides require one complete profile and same-origin canonical paths; URL-only `PUBLIC_WASM_RUBY_*` overrides fail closed; `stdin`, `programArgs`, `workspaceFiles` |
393
- | Haskell<br>`HASKELL` | ghc-in-browser / GHC 9.14.0.20251031 WASI rootfs | loads `dyld.mjs`, `rootfs.tar.zst`, `bsdtar.wasm`; `compileArgs` become GHC args, otherwise legacy `args` become GHC args | `runtimeAssets.haskell.moduleUrl`/`rootfsUrl`/`bsdtarUrl`; `mainSoPath`, `searchDirs`, `activePath`, `workspaceFiles` |
394
- | LFortran<br>`LFORTRAN` | receipt-pinned `wasm-llvm/producer/lfortran-browser` artifacts in `static/wasm-lfortran` | real LFortran 0.65.0-97-gab867a23 LLVM evaluator compiles and executes Emscripten side modules in a fresh Worker; shared-ring stdin supports delayed READ and EOF; experimental Fortran feature coverage | `runtimeAssets.lfortran.baseUrl` relocates the reviewed bundle; `stdin`, `activePath`, workspace data/include files, cancellation and execution limits; no program arguments or multi-file module build orchestration |
395
- | Lean 4<br>`LEAN4` | receipt-pinned `wasm-llvm/producer/lean-browser` release downloaded from its immutable commit into `static/wasm-lean4` | real Lean 4.34.1 frontend and IR interpreter (`lean --run`) built for wasm32 Emscripten with pthreads; imports a wasm32 `Init` library compiled by that build; shared-ring stdin supports interactive `getLine` and EOF | `runtimeAssets.lean4.baseUrl` relocates the reviewed bundle; `stdin`, program arguments, `activePath`, cancellation and execution limits; single-file programs importing `Init` only (no `Std`/`Lean` imports or Lake packages) |
396
- | Fortran<br>`FORTRAN` | Netlib f2c 2022-09-09 + `@cowasm/f2c 1.0.0` libf2c + @wasm-idle/llvm-core@1.2.0 | runs `f2c.wasm` in WASI, compiles generated C with the llvm-core Clang host, links `libf2c.a`, then executes the resulting WASI module with `stdin` and `programArgs` | `runtimeAssets.fortran.baseUrl`/`f2cWasmUrl`/`libf2cUrl`/`f2cHeaderUrl`/`analyzerUrl` or `PUBLIC_WASM_FORTRAN_*`; `runtimeAssets.clang.baseUrl`/`loader` for the C backend; `activePath`, `workspaceFiles`, `compileArgs` |
397
- | COBOL<br>`COBOL` | GnuCOBOL 3.2 + GMP 6.3.0 assets from the `wasm-llvm` producer + @wasm-idle/llvm-core@1.2.0 | native gzip delivery for the frontend Wasm and filesystem tar assets; translates free-format COBOL with the real GnuCOBOL `cobc` frontend, compiles the generated C with the llvm-core Clang host, links libcob/GMP, and executes the resulting WASI module with `stdin` and `programArgs` | `runtimeAssets.cobol.baseUrl` or `PUBLIC_WASM_COBOL_BASE_URL`; `runtimeAssets.clang.baseUrl`/`loader` for the C backend; `activePath`, `workspaceFiles`, `compileArgs` |
398
- | V<br>`V` | V 0.5.2 compiler, vlib and WASI C sysroot assets from the `wasm-llvm` producer + @wasm-idle/llvm-core@1.2.0 | native gzip delivery for the compiler Wasm and filesystem tar assets; translates V to C with the real V compiler (built from the upstream `vc` bootstrap for WASI), compiles the generated C with the llvm-core Clang host, and executes the resulting WASI module with `stdin` and `programArgs` | `runtimeAssets.v.baseUrl` or `PUBLIC_WASM_V_BASE_URL`; `runtimeAssets.clang.baseUrl`/`loader` for the C backend; `activePath`, `workspaceFiles`, `compileArgs` |
399
- | R<br>`R` | versioned static `static/webr/<hash>/webr.js` / webr@0.6.0 | loads the browser ESM entry `webr.js` and its WebR runtime files from the configured static asset tree on demand; supports `stdin`, `programArgs`, and workspace files | `runtimeAssets.r.baseUrl` or `PUBLIC_WASM_R_BASE_URL`; `stdin`, `programArgs`, `activePath`, `workspaceFiles` |
400
- | Octave<br>`OCTAVE` | Octave 10.3.0 (octave-10.3.0-pl5321h996e327_3.tar.bz2) | Octave CLI Emscripten worker; supports `stdin` and `programArgs` | `runtimeAssets.octave.baseUrl`/`workerUrl`/`manifestUrl` or `PUBLIC_WASM_OCTAVE_*` |
401
- | DuckDB<br>`DUCKDB` | static ESM `static/wasm-duckdb/runtime.mjs` produced from @duckdb/duckdb-wasm@1.33.1-dev57.0 | selects the best DuckDB-Wasm MVP/EH bundle on demand and creates a fresh in-memory database per run; `stdin` is registered as `stdin.txt` and `/dev/stdin` rather than terminal stdin | `runtimeAssets.duckdb.moduleUrl` or `PUBLIC_WASM_DUCKDB_MODULE_URL` or `rootUrl`; `stdin`, `activePath`, `workspaceFiles` |
402
- | SQLite<br>`SQLITE` | static ESM `static/wasm-sqlite/runtime.mjs` produced from sql.js@1.14.2 | sql.js loads `sql-wasm.wasm` on demand and executes SQL in a fresh in-memory database; terminal stdin is not applicable | `runtimeAssets.sqlite.moduleUrl`/`wasmUrl` or `PUBLIC_WASM_SQLITE_MODULE_URL`/`PUBLIC_WASM_SQLITE_WASM_URL` or `rootUrl`; `workspaceFiles` |
403
- | PostgreSQL<br>`POSTGRESQL` | static ESM `static/wasm-postgresql/runtime.mjs` produced from @electric-sql/pglite@0.5.8 | upstream PostgreSQL compiled to WebAssembly by PGlite; initdb runs once per worker and every run restores a fresh in-memory cluster, sends the script as one simple query, and prints result sets, notices, and `COPY ... TO STDOUT`; preloaded `stdin` is exposed as the server file `/dev/blob` | `runtimeAssets.postgresql.moduleUrl` or `PUBLIC_WASM_POSTGRESQL_MODULE_URL` or `rootUrl`; `stdin`, `activePath`, `workspaceFiles` |
404
- | PHP<br>`PHP` | static ESM `static/wasm-php/runtime.mjs` prebuilt by the standalone `producers/wasm-php` producer from @php-wasm/web-8-4@3.1.57 + @php-wasm/universal@3.1.57 | fixed PHP `8.4` php-wasm runtime; injects `$argv`/`$argc` and runs the active workspace script with `php.run`; supports `stdin` and `programArgs`; there is no runtime version selector | `runtimeAssets.php.moduleUrl` or `PUBLIC_WASM_PHP_MODULE_URL` or `rootUrl`; `stdin`, `programArgs`, `activePath`, `workspaceFiles` |
338
+ | Language / IDs | Package/version base | Execution defaults / flags | Customization |
339
+ | -------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
340
+ | GolfScript<br>`GOLFSCRIPT` | darrenks/golfscript cded5425 (upstream MIT notice), original Ruby source on the bundled Ruby/WASI VM | Loads the unchanged GolfScript CLI in a fresh Ruby VM; supports stack operations, arrays, blocks, arbitrary integers, Ruby string interpolation and original -q/-n/-r options; reads stdin to EOF, or accepts argument-array input after --, with original implicit final output | `runtimeAssets.golfscript.interpreterUrl`, `runtimeAssets.rootUrl`, `runtimeAssets.ruby`, `stdin`, `programArgs`, `activePath`, `workspaceFiles`; code-pinned original script, readonly source files, execution limits and cancellation; prepare initializes Ruby without running GolfScript source |
341
+ | APECode<br>`APECODE` | seo-rii/apecode 0.1.0 (c7ae98d3), original pure Python wheel on Pyodide; upstream has no declared standalone license | Runs the original parser and state-machine interpreter through run_source; reads numeric test cases to EOF, models rock weights, grippers and built-in states, and writes original result/trace bytes through Python file descriptors; each run creates fresh interpreter state | `runtimeAssets.apecode.baseUrl`, `runtimeAssets.rootUrl`, `stdin`, `activePath`, `workspaceFiles`; code-pinned local wheel; execution timeout, output and workspace limits plus cancellation; prepare loads the interpreter without parsing or running user source |
342
+ | LOLCODE 1.3<br>`LOLCODE` | justinmeza/lci v1.3 (GPL-3.0-or-later), wasi-sdk 33.0 build | Runs the unchanged lci lexer, parser and interpreter for LOLCODE 1.3, including functions, loops, arrays, type casts and Unicode string escapes; GIMMEH reads a line and VISIBLE normally adds a newline; each run starts with fresh state | `runtimeAssets.rootUrl`, `stdin`, `activePath`, `workspaceFiles`; fixed interpreter argv; prepare compiles the runtime without executing or validating the source |
343
+ | UHMLANG (엄준식)<br>`UHMLANG` | rycont/umjunsik-lang e973f9d2 (MIT), Go 1.25.3 WASI build | Runs the original Go lexer, parser and evaluator with signed 64-bit arithmetic, variables, jumps and conditional statements; numeric stdin is line based and character output writes Unicode code points; each execution starts with fresh state | `runtimeAssets.rootUrl`, `stdin`, `activePath`, `workspaceFiles`; fixed interpreter argv; prepare compiles the runtime without executing or validating the source |
344
+ | Aheui<br>`AHEUI` | aheui/rpaheui 1.2.5 (BSD-2-Clause) on Pyodide 314.0.7; one receipt-verified pure Python wheel | Runs the original rpaheui compiler and interpreter with --no-c --warning-limit=0, 26 stacks, a queue and a port, with Unicode character/integer stdin; normal halt returns its stack value; no handwritten parser or subset executor | `runtimeAssets.rootUrl`, `runtimeAssets.aheui.baseUrl`, `stdin`, `activePath`, `workspaceFiles`; fixed interpreter argv; prepare loads the interpreter without executing source |
345
+ | Malbolge<br>`MALBOLGE` | Original Ben Olmstead interpreter, TryItOnline/malbolge b0869870 (public domain), compiled with WASI SDK 33 | Runs the original 59049-cell ternary and self-modifying interpreter; source-file input is separate from byte stdin/stdout; EOF stores 59048; requires at least two non-whitespace source bytes | `runtimeAssets.rootUrl`, `stdin`, `activePath`, `workspaceFiles`; fixed interpreter argv; prepare compiles the runtime without executing or validating the source |
346
+ | Whitespace<br>`WHITESPACE` | koturn/Whitespace 22a57aab (MIT), compiled with WASI SDK 33 | Runs the upstream Whitespace 0.3 interpreter with a documented divisor-guard correction, copy/slide, heap, labels, calls and signed 32-bit integers; character/numeric stdin and exact stdout; character EOF is -1; source limit 65535 UTF-8 bytes | `runtimeAssets.rootUrl`, `stdin`, `activePath`, `workspaceFiles`; fixed interpreter argv; prepare compiles the runtime without executing or validating the source |
347
+ | C3<br>`C3` | wasm-llvm/c3-browser: C3 0.8.5_1 / LLVM 22.1.8 | Verified c3c and builtin LLD compile real C3 in a fresh browser Worker; UTF-8 env.readByte/env.writeByte ABI and exported main; std::io and WASI unavailable | `runtimeAssets.c3.baseUrl`, `stdin`, `activePath`, `workspaceFiles`; fixed compiler flags and bounded Wasm memories |
348
+ | C<br>`C` | @wasm-idle/llvm-core@1.4.0 / Clang 22.1.8 WASI sysroot from the `wasm-llvm` producer | `clang` for `wasm32-wasi`; default `-std=gnu11`; LLDB mode compiles untouched source with embedded DWARF at `-g -O0` and runs it in WAMR; normal runs still use the browser WASI host; supports `stdin` and `programArgs` | `runtimeAssets.clang.baseUrl`/`loader` or `rootUrl`; `compileArgs`, `programArgs`, `cVersion`, `activePath`, `workspaceFiles`, `debugMode`, `breakpoints`, `pauseOnEntry` |
349
+ | C++<br>`CPP` | @wasm-idle/llvm-core@1.4.0 / Clang 22.1.8 WASI sysroot from the `wasm-llvm` producer | `clang++` for `wasm32-wasi`; default `-std=gnu++20`; LLDB mode compiles untouched source with embedded DWARF at `-g -O0` and runs it in WAMR; normal runs still use the browser WASI host; supports `stdin` and `programArgs` | `runtimeAssets.clang.baseUrl`/`loader` or `rootUrl`; `compileArgs`, `programArgs`, `cppVersion`, `activePath`, `workspaceFiles`, `debugMode`, `breakpoints`, `pauseOnEntry` |
350
+ | Objective-C<br>`OBJC` | GNUstep libobjc2 v2.3 assets from the `wasm-llvm` producer + @wasm-idle/llvm-core@1.4.0 | `clang -x objective-c -fobjc-runtime=gnustep-2.0 -fblocks` for `wasm32-wasi`; links `libobjc.a`, `libgnustep-base.a`, and `libffi.a` when Foundation is imported; Foundation headers are inlined from `foundation-headers.json`; includes a constructor wrapper for Objective-C class registration; auto-compiles `.m`/`.mm`/`.c` workspace files; trace debug instruments active source and uses wasm-idle controls; supports `stdin` and `programArgs`; large Objective-C assets may be served as gzip-only `.gz` files through the service worker or worker fallback | `runtimeAssets.objectivec.baseUrl`/`libobjcUrl`/`headersUrl`/`libgnustepBaseUrl`/`libgnustepBaseObjectUrl`/`foundationHeadersUrl`/`libffiUrl` or `PUBLIC_WASM_OBJECTIVEC_*`; `runtimeAssets.clang.baseUrl`/`loader` for the clang toolchain; `activePath`, `workspaceFiles`, `compileArgs`, `debug`, `breakpoints`, `pauseOnEntry` |
351
+ | Objective-C++<br>`OBJECTIVECXX` | Same GNUstep libobjc2 v2.3 + libc++ assets as Objective-C from the `wasm-llvm` producer + @wasm-idle/llvm-core@1.4.0; no extra compiler assets | `clang -x objective-c++ -std=gnu++20 -fobjc-runtime=gnustep-2.0 -fblocks` for `wasm32-wasi` with libc++ headers; active file defaults to `main.mm`; links `libobjc.a` (plus GNUstep Base and `libffi.a` when Foundation is imported); auto-compiles `.mm`/`.m`/`.c` workspace files; supports `stdin` and `programArgs`; trace debugging is not supported | Shares `runtimeAssets.objectivec` and `runtimeAssets.clang` with Objective-C; `activePath`, `workspaceFiles`, `compileArgs`, `programArgs` |
352
+ | Python<br>`PYTHON3` | static ESM `static/pyodide/pyodide.mjs` / pyodide@314.0.7 | loads `pyodide.mjs`, `pyodide.asm.mjs`, `pyodide.asm.wasm`, and `python_stdlib.zip` from the configured static asset tree on demand; supports `stdin`, workspace files, and trace debugging | `runtimeAssets.python.baseUrl`/`loader` or `rootUrl`; `stdin`, `activePath`, `workspaceFiles`, `debug`, `breakpoints`, `pauseOnEntry`, `debugPath` |
353
+ | Befunge-93<br>`BEFUNGE93` | catseye/Befunge-93 8fe4065c (BSD-3-Clause), compiled with WASI SDK 33 | Runs the original interpreter with an 80 by 25 wrapping playfield, signed 32-bit stack, string mode and self-modifying p/g instructions; character and integer stdin share the WASI terminal; character EOF is -1 | `runtimeAssets.rootUrl`, `stdin`, `activePath`, `workspaceFiles`; fixed quiet argv; prepare compiles the runtime without executing or validating the source |
354
+ | Brainfuck<br>`BRAINFUCK` | susam/bfc b1b92fc (MIT), compiled with WASI SDK 33 | Runs the pinned upstream interpreter in a browser Worker with a fresh read-only source filesystem; 30000 wrapping 8-bit cells, UTF-8 byte stdin/stdout, EOF sets the cell to zero | `runtimeAssets.rootUrl`, `stdin`, `activePath`, `workspaceFiles`; fixed interpreter argv; prepare compiles the runtime without executing or validating the source |
355
+ | Hy<br>`HY` | Hy 1.3.1 + funcparserlib 1.0.1 pure-Python wheels on pyodide@314.0.7 | receipt-verifies the bundled wheels, unpacks them into Pyodide site-packages, and compiles Hy with `hy.compiler.hy_compile`; `(input)`/`(print)` share the Python stdin/stdout bridge; no debugger or automatic package loading | `runtimeAssets.hy.baseUrl` or `PUBLIC_WASM_HY_BASE_URL` plus the Python runtime assets; `stdin`, `activePath` |
356
+ | Java<br>`JAVA` | @wasm-idle/runtime-teavm@0.0.0 / TeaVM compiler assets; javacs 0.2.38 LSP via TeaVM 0.16.0 | `compiler.wasm` compiles Java to browser WASM/JS; supports `stdin` and `programArgs` | `runtimeAssets.java.baseUrl`/`loader` or `rootUrl`; editor: `runtimeAssets.javaLsp.baseUrl`/`assets` |
357
+ | Rust<br>`RUST` | wasm-rust@0.1.0 / rust-1.99.0-browser-integrated-v1 + integrated LLVM/LLD 22.1.8 from the `wasm-llvm` producer; exact rustc/LLVM provenance is recorded for LLDB compatibility | browser host `wasm32-wasip1-threads`; default target `wasm32-wasip1`, selectable `wasm32-wasip1`, `wasm32-wasip2`, `wasm32-wasip3`; LLDB mode is currently limited to `wasm32-wasip1` and emits embedded DWARF with `-C debuginfo=2 -C opt-level=0`; normal Preview 1/2/3 execution remains unchanged; supports `stdin` and `programArgs` | `runtimeAssets.rust.compilerUrl`, `runtimeAssets.rust.debugModuleUrl`, or `PUBLIC_WASM_RUST_COMPILER_URL`; `rootUrl`, `rustTargetTriple`, `programArgs`, `debugMode`; compiler requests accept `edition`, `crateType`, `extendedTimeout`, `log`, and `onProgress`; runtime manifest controls compiler memory, timeout, and shared workspace size |
358
+ | Go<br>`GO` | wasm-go@0.1.0 / go1.26.10 | default target `wasip1/wasm`; selectable `wasip1/wasm`, `wasip2/wasm`, `wasip3/wasm`, `js/wasm`; supports `stdin` and `programArgs` | `runtimeAssets.go.compilerUrl` or `PUBLIC_WASM_GO_COMPILER_URL`; `goTarget`, `programArgs` |
359
+ | D<br>`D` | wasm-d@0.1.0 / ldc-1.42.0-wasi-smoke | `ldc2 -conf=/toolchain/etc/ldc2.conf -mtriple=wasm32-wasi -c` then `wasm-ld` to WASI preview1; supports `stdin` and `programArgs` | `runtimeAssets.d.moduleUrl` or `PUBLIC_WASM_D_MODULE_URL`; `activePath`, `programArgs` |
360
+ | C#<br>`CSHARP` | wasm-dotnet@0.1.0 / .NET 9.0.16 browser-wasm / Roslyn C# 4.14.0 | `CSharpCompilationOptions(OutputKind.ConsoleApplication)`; `concurrentBuild=false`; target `browser-wasm`; language-specific AOT bundle `runtime/csharp/`; supports `stdin` and `programArgs` | `runtimeAssets.dotnet.moduleUrl` or `PUBLIC_WASM_DOTNET_MODULE_URL`; `programArgs`, LSP on/off |
361
+ | F#<br>`FSHARP` | wasm-dotnet@0.1.0 / .NET 9.0.16 browser-wasm / FCS 43.12.204 / FSharp.Core 10.1.204 | `fsc.exe --target:exe --targetprofile:netcore --noframework --simpleresolution --nowin32manifest --debug- --optimize-`; language-specific AOT bundle `runtime/fsharp/`; supports `stdin` and `programArgs` | `runtimeAssets.dotnet.moduleUrl` or `PUBLIC_WASM_DOTNET_MODULE_URL`; `programArgs`, LSP on/off |
362
+ | VB.NET<br>`VBNET` | wasm-dotnet@0.1.0 / .NET 9.0.16 browser-wasm / Roslyn Visual Basic 4.14.0 | `VisualBasicCompilationOptions(OutputKind.ConsoleApplication)`; `concurrentBuild=false`, `OptionStrict=Off`, `OptionInfer=On`, `OptionExplicit=On`; target `browser-wasm`; language-specific AOT bundle `runtime/vbnet/`; supports `stdin` and `programArgs` | `runtimeAssets.dotnet.moduleUrl` or `PUBLIC_WASM_DOTNET_MODULE_URL`; `programArgs`, LSP on/off |
363
+ | Elixir<br>`ELIXIR` | wasm-elixir asset bundle / @swmansion/popcorn@0.3.3 | Popcorn/AtomVM bundle `bundle.avm`; supports `stdin` | `runtimeAssets.elixir.bundleUrl` or `PUBLIC_WASM_ELIXIR_BUNDLE_URL` |
364
+ | Erlang<br>`ERLANG` | wasm-elixir asset bundle / @swmansion/popcorn@0.3.3 | Popcorn/AtomVM bundle `bundle.avm`; supports `stdin` | `runtimeAssets.erlang.bundleUrl` or `PUBLIC_WASM_ERLANG_BUNDLE_URL`; falls back to Elixir bundle URL |
365
+ | Prolog<br>`PROLOG` | swipl-wasm@8.2.5 synced into `static/wasm-prolog` | static worker runs SWI-Prolog; supports `stdin` and `programArgs` | `runtimeAssets.prolog.baseUrl`/`runtimeAssets.prolog.workerUrl` or `PUBLIC_WASM_PROLOG_BASE_URL`/`PUBLIC_WASM_PROLOG_WORKER_URL`; `programArgs`, `activePath`, `workspaceFiles` |
366
+ | Scala 3 / Scala.js (experimental)<br>`SCALA` | pgilliar/scala3-compiler-sjs browser revision 357051c857d4ffd5d1e1bfc9a56f0cbf5943a325; compiler, linker, classpath and runtime IR pinned together | Browser compiler emits Scala.js IR; linker emits JavaScript ES modules for a fresh execution Worker; requires WebAssembly JSPI; root `object Main` with `main(args: Array[String])`; buffered `stdin` with EOF only; Scala.js standard library profile, no JVM-only libraries, macros or arbitrary dependencies | Program arguments, `workspaceFiles`, preloaded `stdin`; no debugger or language server |
367
+ | Gleam<br>`GLEAM` | @live-codes/gleam-precompiled@0.5.0 static worker | Gleam worker compiles/runs browser output with source manifest; supports `stdin` | `runtimeAssets.gleam.baseUrl`/`workerUrl`/`manifestUrl` or `PUBLIC_WASM_GLEAM_*`; `programArgs`, `workspaceFiles` |
368
+ | Grain<br>`GRAIN` | grain-lang/grain v0.7.2 release: upstream js_of_ocaml grainc.bc.js + @grain/stdlib 0.7.2 (precompiled .gro) | Verified upstream grainc compiles `.gr` workspace files to WASI in a fresh browser Worker; stdio-only WASI host with streaming `stdin` | `runtimeAssets.grain.baseUrl` or `PUBLIC_WASM_GRAIN_BASE_URL`; `stdin`, `programArgs`, `activePath`, `workspaceFiles`; Wasm memory bounded by `limits.maxWasmMemoryBytes` |
369
+ | Perl<br>`PERL` | WebPerl v0.09-beta (webperl_prebuilt_v0.09-beta.zip) | host-verifies the manifest, stored assets, logical hashes, and profile-bound one-shot runner before executing `emperl`; supports `stdin` and `programArgs` | explicit `runtimeAssets.perl.baseUrl`/`workerUrl`/`manifestUrl` overrides require one complete profile-and-runner receipt bundle; URL-only `PUBLIC_WASM_PERL_*` overrides fail closed; `programArgs`, `activePath`, `workspaceFiles` |
370
+ | Tcl<br>`TCL` | Wacl Tcl 2017-05-29 (wacl.zip) | host-verifies the manifest, stored assets, logical hashes, and profile-bound one-shot runner before executing Wacl Tcl; supports `stdin` and `programArgs` | bundled mirrors may set `runtimeAssets.tcl.baseUrl`/`workerUrl`/`manifestUrl` or `PUBLIC_WASM_TCL_BASE_URL`/`PUBLIC_WASM_TCL_WORKER_URL`; custom executable bytes require one complete profile-and-runner receipt bundle; `programArgs`, `activePath`, `workspaceFiles` |
371
+ | AWK<br>`AWK` | GoAWK v1.31.0 / go1.25.3 | static worker runs `goawk.wasm`; supports `stdin` and `programArgs` | `runtimeAssets.awk.baseUrl`/`runtimeAssets.awk.workerUrl` or `PUBLIC_WASM_AWK_BASE_URL`/`PUBLIC_WASM_AWK_WORKER_URL`; `programArgs`, `activePath`, `workspaceFiles` |
372
+ | Pascal<br>`PASCAL` | pas2js 3.2.1 (9ac46614dc82) | static worker compiles with pas2js then runs JS; supports `stdin` | `runtimeAssets.pascal.baseUrl`/`runtimeAssets.pascal.workerUrl` or `PUBLIC_WASM_PASCAL_BASE_URL`/`PUBLIC_WASM_PASCAL_WORKER_URL`; `programArgs`, `activePath`, `workspaceFiles` |
373
+ | Forth<br>`FORTH` | waforth@0.20.1 / static worker | WAForth worker; supports `stdin` and `programArgs` | `runtimeAssets.forth.baseUrl`/`runtimeAssets.forth.workerUrl` or `PUBLIC_WASM_FORTH_BASE_URL`/`PUBLIC_WASM_FORTH_WORKER_URL`; `programArgs`, `activePath`, `workspaceFiles` |
374
+ | J<br>`J` | jsoftware-j-playground static worker | J playground worker; supports `stdin` and `programArgs` | `runtimeAssets.j.baseUrl`/`runtimeAssets.j.workerUrl` or `PUBLIC_WASM_J_BASE_URL`/`PUBLIC_WASM_J_WORKER_URL`; `programArgs`, `activePath`, `workspaceFiles` |
375
+ | BQN<br>`BQN` | CBQN static worker / Emscripten 3.1.8 | CBQN worker; supports `stdin` and `programArgs` | `runtimeAssets.bqn.baseUrl`/`runtimeAssets.bqn.workerUrl` or `PUBLIC_WASM_BQN_BASE_URL`/`PUBLIC_WASM_BQN_WORKER_URL`; `programArgs`, `activePath`, `workspaceFiles` |
376
+ | Janet<br>`JANET` | Janet 1.41.3-dev / Emscripten 3.1.8 opaque vendored bundle | host-verifies the manifest, stored assets, logical hashes, and profile-bound one-shot runner before executing the Janet VM; supports `stdin` and `programArgs` | explicit `runtimeAssets.janet.baseUrl`/`workerUrl`/`manifestUrl` overrides require one complete profile-and-runner receipt bundle; URL-only `PUBLIC_WASM_JANET_*` overrides fail closed; `programArgs`, `activePath`, `workspaceFiles` |
377
+ | Julia<br>`JULIA` | @chriskoch/julia-wasm@1.0.4 | host-verifies the manifest, stored assets, logical hashes, and profile-bound one-shot runner before executing the legacy Julia VM; supports `stdin` and `activePath` | explicit `runtimeAssets.julia.baseUrl`/`workerUrl`/`manifestUrl` overrides require one complete profile-and-runner receipt bundle; URL-only `PUBLIC_WASM_JULIA_*` overrides fail closed; `activePath` |
378
+ | Nim<br>`NIM` | Nim 2.2.4 / benagastov Nim-WASM-Compiler with clang/lld WASM | host-verifies the manifest, eight stored assets, logical hashes, and profile-bound one-shot runner before compiling Nim to C and linking with clang/lld WASM in a disposable worker; supports `stdin`, `programArgs`, and `activePath` | explicit `runtimeAssets.nim.baseUrl`/`workerUrl`/`manifestUrl` overrides require one complete profile-and-runner receipt bundle; URL-only `PUBLIC_WASM_NIM_*` overrides fail closed; `programArgs`, `activePath` |
379
+ | Bash<br>`BASH` | @wasm-idle/runtime-bash@0.1.0 / GNU Bash WASIX + receipt-pinned @wasmer/sdk@0.10.0 profile | host-verifies one profile manifest, the stored SDK JavaScript, Wasmer Wasm, and WEBc before starting a fixed worker generation with no runtime-asset fetches; invokes `bash -c <code> <activePath> ...programArgs` and supports `stdin`, `programArgs`, `activePath`, and `workspaceFiles` | `rootUrl` mirrors reuse the bundled profile; explicit `runtimeAssets.bash.baseUrl`/`manifestUrl`/`moduleUrl`/`wasmerWasmUrl`/`webcUrl` overrides require one complete profile; `workerUrl` is rejected; `stdin`, `programArgs`, `activePath`, `workspaceFiles` |
380
+ | ClojureScript<br>`CLOJURESCRIPT` | @wasm-idle/runtime-clojurescript@0.1.0 / ClojureScript 1.12.134 | static worker compiles and evaluates with the official `cljs.js` self-hosted compiler; supports `stdin`, `programArgs`, `activePath`, and `workspaceFiles` | `runtimeAssets.clojurescript.baseUrl`/`runtimeAssets.clojurescript.workerUrl` or `PUBLIC_WASM_CLOJURESCRIPT_BASE_URL`/`PUBLIC_WASM_CLOJURESCRIPT_WORKER_URL`; `programArgs`, `activePath`, `workspaceFiles` |
381
+ | ReScript<br>`RESCRIPT` | upstream ReScript 12.3.1 playground `compiler.js` + `compiler-builtins/cmij.js` + `@rescript/runtime@12.3.1` | static worker compiles `Main.res` to CommonJS with the official js_of_ocaml ReScript compiler, then runs it against the upstream stdlib runtime; stdin via `fs.readLineSync(0)`/`fs.readFileSync(0)`; compiler errors/warnings become editor diagnostics; supports `programArgs` | `runtimeAssets.rescript.baseUrl`/`runtimeAssets.rescript.workerUrl` or `PUBLIC_WASM_RESCRIPT_BASE_URL`/`PUBLIC_WASM_RESCRIPT_WORKER_URL`; `programArgs`, `activePath`, `workspaceFiles` |
382
+ | TinyGo<br>`TINYGO` | wasm-tinygo@0.0.0 / upstream TinyGo 0.43.0 browser toolchain | receipt-verifies and runs upstream `cmd/go` plus TinyGo in a disposable capped Worker; targets `wasip1`; supports `stdin`, `programArgs`, `workspaceFiles`, hosted C++ without exceptions/RTTI, and offline `vendor/modules.txt` | `runtimeAssets.tinygo.moduleUrl`/`assetLoader`; `PUBLIC_WASM_TINYGO_MODULE_URL`, execution/workspace resource limits, `programArgs` |
383
+ | OCaml<br>`OCAML` | wasm-of-js-of-ocaml@0.1.0 / js_of_ocaml + wasm_of_ocaml | default backend `wasm`; selectable `wasm`, `js`; `ocamlWasmBinaryenMode` `fast`, `full`; supports `stdin`; outer module and manifest are size/SHA-256 verified before use | `runtimeAssets.ocaml.moduleUrl`/`manifestUrl` plus `moduleReceipt`/`manifestReceipt` for a custom generation, or `PUBLIC_WASM_OCAML_*` for a mirror of the bundled generation; `ocamlBackend` |
384
+ | JavaScript<br>`JAVASCRIPT` | wasm-typescript@0.1.0 / @swc/wasm-typescript@^1.16.20 | TypeScript service transpiles JS/TS and runs in browser sandbox; supports `stdin` and `programArgs` | `runtimeAssets.typescript.moduleUrl`/`libUrl` or `PUBLIC_WASM_TYPESCRIPT_MODULE_URL` |
385
+ | TypeScript<br>`TYPESCRIPT` | wasm-typescript@0.1.0 / @swc/wasm-typescript@^1.16.20 | TypeScript service transpiles then runs in browser sandbox; supports `stdin` and `programArgs` | `runtimeAssets.typescript.moduleUrl`/`libUrl` or `PUBLIC_WASM_TYPESCRIPT_MODULE_URL` |
386
+ | AssemblyScript<br>`ASSEMBLYSCRIPT` | static ESM `static/wasm-assemblyscript/runtime.mjs` produced from assemblyscript@0.28.20 + @assemblyscript/loader@0.28.20 | `asc <activePath> --outFile module.wasm --runtime incremental --bindings raw --optimize --exportRuntime`; runs the emitted WASM through WASI/browser imports and supports `stdin` | `runtimeAssets.assemblyscript.moduleUrl` or `PUBLIC_WASM_ASSEMBLYSCRIPT_MODULE_URL` or `rootUrl`; `stdin`, `activePath`, `workspaceFiles` |
387
+ | WAT<br>`WAT` | wasm-wat@0.1.0 / wabt@^1.0.39 | WABT parses WAT to WASM then runs through WASI shim; supports `stdin` and `programArgs` | `runtimeAssets.wat.moduleUrl` or `PUBLIC_WASM_WAT_MODULE_URL`; `programArgs` |
388
+ | WASM<br>`WASM` | Browser WebAssembly + @bjorn3/browser_wasi_shim@0.4.2 | loads provided WASM bytes and executes with WASI preview1 imports; supports `stdin` and `programArgs` | `programArgs`, `stdin`, `activePath` |
389
+ | Lua<br>`LUA` | wasm-lua@0.1.0 / wasmoon@^1.16.0 | Wasmoon Lua VM; supports `stdin` and `programArgs` | `runtimeAssets.lua.moduleUrl` or `PUBLIC_WASM_LUA_MODULE_URL`; `programArgs` |
390
+ | Fennel<br>`FENNEL` | static wasm-fennel `fennel-1.6.1.lua.gz` (official Fennel 1.6.1) on wasm-lua@0.1.0 | receipt-verified `fennel.lua` compiler evaluated by the Wasmoon Lua VM; supports `stdin` and `programArgs` | `runtimeAssets.fennel.compilerUrl` or `PUBLIC_WASM_FENNEL_COMPILER_URL` plus the Lua module URL; `programArgs` |
391
+ | Zig<br>`ZIG` | Zig 0.17.0 from wasm-llvm / `zig_small.wasm` + `std.tar.gz` | native gzip delivery for the full Zig library archive; default target `wasm32-wasi`; Zig compile args are appended; supports `stdin`, `compileArgs`, `programArgs`; LLDB debug emits LLVM bitcode with source metadata, then uses the pinned browser Clang/LLD and WAMR; debug mode fixes the debug/MVP options and rejects compiler argument overrides | `runtimeAssets.zig.compilerUrl`/`stdlibUrl` or `PUBLIC_WASM_ZIG_*`; `zigTargetTriple`, `activePath`, `workspaceFiles`, `debugMode`; debug requires receipt-verified URL-based `runtimeAssets.clang` assets and the LLDB runtime |
392
+ | Scheme<br>`LISP` | wasm-lisp@0.1.0 / Puppy Scheme WASM component | receipt-verified Puppy Scheme compiler/runtime; supports `stdin` and `programArgs` | `runtimeAssets.lisp.{moduleUrl,manifestUrl,manifestFingerprint}` or `PUBLIC_WASM_LISP_{MODULE_URL,MANIFEST_URL,MANIFEST_FINGERPRINT}`; `programArgs` |
393
+ | Common Lisp<br>`COMMONLISP` | receipt-pinned `wasm-llvm/producer/ecl-browser` ECL 26.5.5 artifacts downloaded into `static/wasm-commonlisp` | real upstream ECL bytecode compiler/interpreter LOADs the active file in a fresh Worker; shared-ring stdin serves READ-LINE/READ with EOF; unhandled conditions print to stderr and fail the run; recursion deeper than the browser call stack (about 150 levels in a Chromium Worker) fails as a stack-overflow error | `runtimeAssets.commonlisp.baseUrl` relocates the reviewed bundle; `stdin`, `activePath`, workspace files loadable with `LOAD`, cancellation and Wasm memory limits; no program arguments, native compiler or contrib modules |
394
+ | Ruby<br>`RUBY` | receipt-pinned `static/wasm-ruby` profile produced from @ruby/3.4-wasm-wasi@2.10.1 + @ruby/wasm-wasi@2.10.1 | host-verifies the manifest, canonical stored module and gzip bytes, and logical WASM before transferring three owned buffers to a no-fetch CRuby 3.4 worker; supports `stdin`, `programArgs`, and workspace files | `rootUrl` mirrors reuse the bundled profile; explicit `runtimeAssets.ruby` overrides require one complete profile and same-origin canonical paths; URL-only `PUBLIC_WASM_RUBY_*` overrides fail closed; `stdin`, `programArgs`, `workspaceFiles` |
395
+ | Haskell<br>`HASKELL` | ghc-in-browser / GHC 9.14.0.20251031 WASI rootfs | loads `dyld.mjs`, `rootfs.tar.zst`, `bsdtar.wasm`; `compileArgs` become GHC args, otherwise legacy `args` become GHC args | `runtimeAssets.haskell.moduleUrl`/`rootfsUrl`/`bsdtarUrl`; `mainSoPath`, `searchDirs`, `activePath`, `workspaceFiles` |
396
+ | LFortran<br>`LFORTRAN` | receipt-pinned `wasm-llvm/producer/lfortran-browser` artifacts in `static/wasm-lfortran` | real LFortran 0.65.0-97-gab867a23 LLVM evaluator compiles and executes Emscripten side modules in a fresh Worker; shared-ring stdin supports delayed READ and EOF; experimental Fortran feature coverage | `runtimeAssets.lfortran.baseUrl` relocates the reviewed bundle; `stdin`, `activePath`, workspace data/include files, cancellation and execution limits; no program arguments or multi-file module build orchestration |
397
+ | Lean 4<br>`LEAN4` | receipt-pinned `wasm-llvm/producer/lean-browser` release downloaded from its immutable commit into `static/wasm-lean4` | real Lean 4.34.1 frontend and IR interpreter (`lean --run`) built for wasm32 Emscripten with pthreads; imports a wasm32 `Init` library compiled by that build; shared-ring stdin supports interactive `getLine` and EOF | `runtimeAssets.lean4.baseUrl` relocates the reviewed bundle; `stdin`, program arguments, `activePath`, cancellation and execution limits; single-file programs importing `Init` only (no `Std`/`Lean` imports or Lake packages) |
398
+ | Fortran<br>`FORTRAN` | Netlib f2c 2022-09-09 + `@cowasm/f2c 1.0.0` libf2c + @wasm-idle/llvm-core@1.4.0 | runs `f2c.wasm` in WASI, compiles generated C with the llvm-core Clang host, links `libf2c.a`, then executes the resulting WASI module with `stdin` and `programArgs` | `runtimeAssets.fortran.baseUrl`/`f2cWasmUrl`/`libf2cUrl`/`f2cHeaderUrl`/`analyzerUrl` or `PUBLIC_WASM_FORTRAN_*`; `runtimeAssets.clang.baseUrl`/`loader` for the C backend; `activePath`, `workspaceFiles`, `compileArgs` |
399
+ | COBOL<br>`COBOL` | GnuCOBOL 3.2 + GMP 6.3.0 assets from the `wasm-llvm` producer + @wasm-idle/llvm-core@1.4.0 | native gzip delivery for the frontend Wasm and filesystem tar assets; translates free-format COBOL with the real GnuCOBOL `cobc` frontend, compiles the generated C with the llvm-core Clang host, links libcob/GMP, and executes the resulting WASI module with `stdin` and `programArgs` | `runtimeAssets.cobol.baseUrl` or `PUBLIC_WASM_COBOL_BASE_URL`; `runtimeAssets.clang.baseUrl`/`loader` for the C backend; `activePath`, `workspaceFiles`, `compileArgs` |
400
+ | V<br>`V` | V 0.5.2 compiler, vlib and WASI C sysroot assets from the `wasm-llvm` producer + @wasm-idle/llvm-core@1.4.0 | native gzip delivery for the compiler Wasm and filesystem tar assets; translates V to C with the real V compiler (built from the upstream `vc` bootstrap for WASI), compiles the generated C with the llvm-core Clang host, and executes the resulting WASI module with `stdin` and `programArgs` | `runtimeAssets.v.baseUrl` or `PUBLIC_WASM_V_BASE_URL`; `runtimeAssets.clang.baseUrl`/`loader` for the C backend; `activePath`, `workspaceFiles`, `compileArgs` |
401
+ | R<br>`R` | versioned static `static/webr/<hash>/webr.js` / webr@0.6.0 | loads the browser ESM entry `webr.js` and its WebR runtime files from the configured static asset tree on demand; supports `stdin`, `programArgs`, and workspace files | `runtimeAssets.r.baseUrl` or `PUBLIC_WASM_R_BASE_URL`; `stdin`, `programArgs`, `activePath`, `workspaceFiles` |
402
+ | Octave<br>`OCTAVE` | Octave 10.3.0 (octave-10.3.0-pl5321h996e327_3.tar.bz2) | Octave CLI Emscripten worker; supports `stdin` and `programArgs` | `runtimeAssets.octave.baseUrl`/`workerUrl`/`manifestUrl` or `PUBLIC_WASM_OCTAVE_*` |
403
+ | DuckDB<br>`DUCKDB` | static ESM `static/wasm-duckdb/runtime.mjs` produced from @duckdb/duckdb-wasm@1.33.1-dev57.0 | selects the best DuckDB-Wasm MVP/EH bundle on demand and creates a fresh in-memory database per run; `stdin` is registered as `stdin.txt` and `/dev/stdin` rather than terminal stdin | `runtimeAssets.duckdb.moduleUrl` or `PUBLIC_WASM_DUCKDB_MODULE_URL` or `rootUrl`; `stdin`, `activePath`, `workspaceFiles` |
404
+ | SQLite<br>`SQLITE` | static ESM `static/wasm-sqlite/runtime.mjs` produced from sql.js@1.15.1 | sql.js loads `sql-wasm.wasm` on demand and executes SQL in a fresh in-memory database; terminal stdin is not applicable | `runtimeAssets.sqlite.moduleUrl`/`wasmUrl` or `PUBLIC_WASM_SQLITE_MODULE_URL`/`PUBLIC_WASM_SQLITE_WASM_URL` or `rootUrl`; `workspaceFiles` |
405
+ | PostgreSQL<br>`POSTGRESQL` | static ESM `static/wasm-postgresql/runtime.mjs` produced from @electric-sql/pglite@0.5.11 | upstream PostgreSQL compiled to WebAssembly by PGlite; initdb runs once per worker and every run restores a fresh in-memory cluster, sends the script as one simple query, and prints result sets, notices, and `COPY ... TO STDOUT`; preloaded `stdin` is exposed as the server file `/dev/blob` | `runtimeAssets.postgresql.moduleUrl` or `PUBLIC_WASM_POSTGRESQL_MODULE_URL` or `rootUrl`; `stdin`, `activePath`, `workspaceFiles` |
406
+ | PHP<br>`PHP` | static ESM `static/wasm-php/runtime.mjs` prebuilt by the standalone `producers/wasm-php` producer from @php-wasm/web-8-4@3.1.60 + @php-wasm/universal@3.1.60 | fixed PHP `8.4` php-wasm runtime; injects `$argv`/`$argc` and runs the active workspace script with `php.run`; supports `stdin` and `programArgs`; there is no runtime version selector | `runtimeAssets.php.moduleUrl` or `PUBLIC_WASM_PHP_MODULE_URL` or `rootUrl`; `stdin`, `programArgs`, `activePath`, `workspaceFiles` |
405
407
 
406
408
  ### Blocked candidates
407
409
 
@@ -460,6 +462,13 @@ toolchains can be consumed from pinned external runtime repositories:
460
462
  `static/wasm-janet`: bundled browser runtime and compiler assets synced from upstream asset
461
463
  builds rather than local workspace packages.
462
464
 
465
+ `pnpm run page` builds and deploys GitHub Pages after verifying the built assets
466
+ against their receipts (`verify:page-assets`) and running a short browser smoke test
467
+ (`test:browser:page-smoke`). Use `WASM_IDLE_PAGE_REUSE_ASSETS=1 pnpm run page` to
468
+ reuse prepared runtime assets while retaining the asset and page checks. Full runtime
469
+ execution tests belong to asset generation and change CI; request the complete browser
470
+ audit during deployment with `WASM_IDLE_PAGE_FULL_AUDIT=1 pnpm run page` when needed.
471
+
463
472
  Deployment builds retain both legacy `.gz` and canonical `.gz.bin` URLs by default.
464
473
  After building and compressing the page, `pnpm run compact:build-runtimes` reports
465
474
  byte-identical duplicates without changing files. Add `--drop-legacy-aliases` to
@@ -523,7 +532,7 @@ opaque, receipt-pinned storage paths; these files are deployed page assets, not
523
532
  contents.
524
533
 
525
534
  PHP is built independently under `producers/wasm-php`, with its own lockfile and exact
526
- `@php-wasm/web-8-4@3.1.57` and `@php-wasm/universal@3.1.57` dependencies. Refresh the checked-in
535
+ `@php-wasm/web-8-4@3.1.60` and `@php-wasm/universal@3.1.60` dependencies. Refresh the checked-in
527
536
  page asset only when changing that producer:
528
537
 
529
538
  ```bash
@@ -642,11 +651,11 @@ allowlist excludes `runtime.js`, its runtime chunks, emception, and the legacy c
642
651
  The legacy code remains in `runtimes/wasm-tinygo` only for local compiler-port development and is
643
652
  explicitly classified as `wasm-idle-go-ast-to-c-subset`.
644
653
 
645
- The sibling `wasm-llvm/producer/tinygo-browser` producer pins upstream TinyGo 0.40.1, go-llvm,
646
- TinyGo LLVM 20.1.1, Go 1.24.6, and WASI SDK 33. The public consumer hash-verifies both producer
654
+ The sibling `wasm-llvm/producer/tinygo-browser` producer pins upstream TinyGo 0.43.0, go-llvm,
655
+ TinyGo LLVM 22.1.4, Go 1.26.10, and WASI SDK 33. The public consumer hash-verifies both producer
647
656
  receipts, the upstream compiler, reduced TinyGo/Go root, `cmd/go` WASI package-graph provider, and
648
657
  raw LLD before compiling. It derives package JSON from the supplied module workspace, validates
649
- every compiler/link-plan handoff, links with raw LLD, and finalizes with pinned Binaryen 129.
658
+ every compiler/link-plan handoff, links with raw LLD, and finalizes with pinned Binaryen 132.
650
659
 
651
660
  Compile protocol v6 covers generated `go:embed` objects, CGo C, hosted libc++/libc++abi C++17
652
661
  without exceptions/RTTI/global constructors, preprocessed Clang assembly, exact allowed
@@ -655,7 +664,7 @@ without exceptions/RTTI/global constructors, preprocessed Clang assembly, exact
655
664
  inside disposable Workers with fail-closed phase deadlines and a capped WebAssembly memory
656
665
  declaration. Separate producer and consumer fixtures cover maps, slices, structs, methods,
657
666
  interfaces, generics, package initialization, goroutines, channels, stdin, CGo, C++, and assembly.
658
- Go/Plan 9 assembly is still not loaded by upstream TinyGo 0.40.1 and is documented as an upstream
667
+ Go/Plan 9 assembly is still not loaded by upstream TinyGo 0.43.0 and is documented as an upstream
659
668
  limitation rather than emulated by a browser-only subset.
660
669
 
661
670
  Prepare a verified asset directory, build the runtime, and publish the upstream-only static tree
@@ -906,8 +915,8 @@ and other workspace `.sql` files run first. Preloaded stdin is exposed as the se
906
915
  `/dev/blob` (`COPY t FROM '/dev/blob'` or `pg_read_file('/dev/blob')`). Override the module with
907
916
  `PUBLIC_WASM_POSTGRESQL_MODULE_URL` or `runtimeAssets.postgresql.moduleUrl`.
908
917
  PHP dynamically imports the checked-in `static/wasm-php/runtime.mjs` output from the standalone
909
- `producers/wasm-php` build. That producer pins `@php-wasm/web-8-4@3.1.57` and
910
- `@php-wasm/universal@3.1.57`. It always creates PHP 8.4; there is no version field or
918
+ `producers/wasm-php` build. That producer pins `@php-wasm/web-8-4@3.1.60` and
919
+ `@php-wasm/universal@3.1.60`. It always creates PHP 8.4; there is no version field or
911
920
  environment-based version selector. Override only the module location with
912
921
  `PUBLIC_WASM_PHP_MODULE_URL` or `runtimeAssets.php.moduleUrl`. A custom host must serve the entry's
913
922
  sibling chunks and assets with compatible CORS and cross-origin isolation headers; a cross-origin
@@ -927,10 +936,15 @@ bundled `static/wasm-fennel/fennel-1.6.1.lua.gz` is the unmodified upstream rele
927
936
  worker verifies its size and SHA-256 receipt before use. Override it with
928
937
  `PUBLIC_WASM_FENNEL_COMPILER_URL`, or pass `runtimeAssets.fennel.compilerUrl`.
929
938
  Zig uses the bundled `static/wasm-zig/zig_small.wasm` compiler and `static/wasm-zig/std.tar.gz`
930
- standard library by default. Override them with `PUBLIC_WASM_ZIG_COMPILER_URL` and
939
+ complete Zig 0.17.0 library by default (the archive contains `lib/`, including compiler runtime sources).
940
+ These artifacts are pinned to a qualified `wasm-llvm/zig-browser` producer revision and checked
941
+ against compressed and expanded SHA-256 receipts. Override them with `PUBLIC_WASM_ZIG_COMPILER_URL` and
931
942
  `PUBLIC_WASM_ZIG_STDLIB_URL`, or pass `runtimeAssets.zig.compilerUrl` and
932
- `runtimeAssets.zig.stdlibUrl`. The compiler runs under browser WASI, emits a `wasm64-wasi`
943
+ `runtimeAssets.zig.stdlibUrl`. The compiler runs under WASI Preview 1, emits a `wasm32-wasi`
933
944
  artifact with the self-hosted backend, and wasm-idle executes that artifact locally in the worker.
945
+ Both source imports and runtime helpers use the same full library. LLVM, C/C++ input, native
946
+ targets, and `zig build` are unsupported. `pnpm test:zig:browser` validates the actual compiler
947
+ and generated programs in Chromium, including stdin/stdout, nested imports, and diagnostics.
934
948
  Scheme uses the bundled `static/wasm-lisp/` Puppy Scheme compiler profile by default. The execution
935
949
  and LSP workers verify its pinned manifest, stored bytes, decompressed size, and logical asset hashes
936
950
  before importing code. A custom profile must provide `runtimeAssets.lisp.moduleUrl`, `manifestUrl`,
@@ -1116,6 +1130,96 @@ external static hosting and loaded by `@wasm-idle/llvm-core`. Also powered by Py
1116
1130
  `wasm-dotnet`, `wasm-of-js-of-ocaml`, `wasm-typescript`, `wasm-lisp`,
1117
1131
  `wasm-wat`, `wasm-lua`, Fennel, `wasm-zig`, CBQN, Janet, AtomVM/Popcorn, and `ghc-in-browser`.
1118
1132
 
1133
+ ### Python bytecode compilation
1134
+
1135
+ Choose a Python `.py` file and click **Compile .pyc** to download its compiled bytecode.
1136
+ **Python bytecode options** lets you change the invalidation mode and, in timestamp mode,
1137
+ set the source timestamp in Unix seconds.
1138
+ The browser SDK exposes the same operation independently of playground sessions:
1139
+
1140
+ ```ts
1141
+ import { compilePython } from 'wasm-idle';
1142
+
1143
+ const controller = new AbortController();
1144
+ const result = await compilePython('print("Hello")', {
1145
+ fileName: 'main.py',
1146
+ optimize: 0,
1147
+ runtimeAssets: { rootUrl: 'https://cdn.example.com/repl' },
1148
+ signal: controller.signal
1149
+ });
1150
+ // result.path: "main.pyc"
1151
+ // result.data: Uint8Array, suitable for a Blob or binary file storage
1152
+ // result.pythonVersion, result.cacheTag, result.magicNumber identify the compiler format.
1153
+ ```
1154
+
1155
+ Each request uses a dedicated Pyodide worker and disposes it on success, failure, or cancellation.
1156
+ It calls CPython's `py_compile` without executing user code or installing its imports, and leaves
1157
+ the playground workspace and active interpreter unchanged. By default, the output uses checked-hash
1158
+ invalidation, which stores a source hash instead of a timestamp, and the relative `fileName` in
1159
+ tracebacks. With the same source, `fileName`, options, and CPython runtime version, repeated
1160
+ compilations produce identical bytes, regardless of the wall clock or temporary directory.
1161
+ Pin the runtime assets when comparing builds across machines or releases.
1162
+ `fileName` defaults to `main.py`;
1163
+ `optimize` accepts `0`, `1` (remove assertions), or `2` (also remove docstrings).
1164
+
1165
+ The optional `invalidationMode` selects the bytecode header format:
1166
+
1167
+ | Mode | Header and source validation |
1168
+ | ------------------------ | --------------------------------------------------------------------------------------- |
1169
+ | `checked-hash` (default) | Stores a source hash; Python checks source content when validating the cache. |
1170
+ | `unchecked-hash` | Stores a source hash; Python normally trusts the cache without checking source content. |
1171
+ | `timestamp` | Stores source modification time and encoded source byte length. |
1172
+ | `normalized` | Clears source validation metadata for comparing and running bytecode without source. |
1173
+
1174
+ Choose `normalized` when the artifact hash should depend on the compiled program instead of
1175
+ the original source text:
1176
+
1177
+ ```ts
1178
+ const result = await compilePython(source, {
1179
+ fileName: 'pkg/main.py',
1180
+ invalidationMode: 'normalized'
1181
+ });
1182
+ ```
1183
+
1184
+ This mode first compiles checked-hash bytecode, then zeroes header bytes 4–15: flags and source
1185
+ hash, or the overlapping timestamp and source-size fields. It preserves the magic number and
1186
+ the complete compiled payload, including constants, filenames and line/column information.
1187
+ With the same runtime, `fileName` and optimization options, comment changes that leave this
1188
+ payload unchanged produce identical `.pyc` bytes. Changes to program or line information still
1189
+ change the artifact.
1190
+
1191
+ Run normalized files directly with `runpy.run_path`, or import them as source-free `module.pyc`
1192
+ files. They are not source-validation caches: when placed alongside `.py` source, the zeroed
1193
+ metadata can make Python recompile that source. The default remains `checked-hash`.
1194
+
1195
+ In `timestamp` mode, `timestamp` defaults to **0**, keeping this mode reproducible too.
1196
+ To choose another fixed time, supply an integer Unix timestamp from `0` to `4294967295`:
1197
+
1198
+ ```ts
1199
+ const result = await compilePython(source, {
1200
+ fileName: 'pkg/main.py',
1201
+ invalidationMode: 'timestamp',
1202
+ timestamp: 1_700_000_000
1203
+ });
1204
+ ```
1205
+
1206
+ `timestamp` is accepted only with `invalidationMode: 'timestamp'`; all other modes, including
1207
+ `normalized`, reject it. To use the current time, explicitly pass `Math.floor(Date.now() / 1000)`
1208
+ in timestamp mode; the resulting bytes then depend on that time. When distributing a timestamp-based cache
1209
+ alongside source, its timestamp and encoded byte size must match the source file's metadata
1210
+ for Python to reuse the cache.
1211
+
1212
+ The optional `progress` callback and `persistentCache` setting follow the runtime asset APIs.
1213
+ `limits` supports asset/startup/compile deadlines, `maxAssetBytes`, `maxWorkspaceBytes` for the
1214
+ source, and `maxOutputBytes` for the returned bytecode.
1215
+
1216
+ The generated file targets the loaded CPython bytecode version; it does not bundle imported
1217
+ modules. Standard `.pyc` compilation rejects top-level `await`, even though the playground's
1218
+ interactive execution supports it. Source-free files should be distributed as `module.pyc`
1219
+ beside other modules, rather than as orphaned `__pycache__` entries. Bytecode upload/execution
1220
+ is not a new playground input mode. See Python's [py_compile documentation](https://docs.python.org/3.14/library/py_compile.html)
1221
+ and [compiled module behavior](https://docs.python.org/3.14/tutorial/modules.html#compiled-python-files).
1222
+
1119
1223
  ### Ruby split standard library
1120
1224
 
1121
1225
  The bundled Ruby runtime also provides a verified `ruby.splitStdlib: true` profile. It compiles the genuine Ruby core Wasm while fetching the complete standard library and bundled gems as a separate read-only filesystem pack. The web demo selects this profile; library consumers retain the embedded-stdlib profile unless they opt in. Custom trust profiles continue to use the embedded path.