From 2e44afc9645297af7887e080575ade667bd42abb Mon Sep 17 00:00:00 2001 From: Katie Bell Date: Fri, 31 May 2024 17:58:46 +1000 Subject: [PATCH] gh-97747: Improvements to WASM browser REPL. (GH-97665) Improvements to WASM browser REPL. Adds a text box to write and run code outside the REPL, a stop button, and handling of Ctrl-D for EOF. (cherry picked from commit 010aaa32fb93c5033a698d7213469af02d76fef3) Co-authored-by: Katie Bell --- Tools/wasm/python.html | 67 ++++++++++++++++++++++++++++++++++--- Tools/wasm/python.worker.js | 10 ++++-- 2 files changed, 69 insertions(+), 8 deletions(-) diff --git a/Tools/wasm/python.html b/Tools/wasm/python.html index 17ffa0ea8bfeff..81a035a5c4cd93 100644 --- a/Tools/wasm/python.html +++ b/Tools/wasm/python.html @@ -35,11 +35,12 @@

Simple REPL for Python WASM

-
+
+ +
+