commit | 29ac193641a6b62564faed097e6a8cce4f1b33b8 | [log] [tgz] |
---|---|---|
author | Asad Memon <asadmemon@google.com> | Fri Aug 19 20:42:36 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Aug 19 20:42:36 2022 +0000 |
tree | c907610ab3e3dde945251fa604083b489a6d096b | |
parent | 1e67862f9dd32d8ec42e2616223d80f208d5c14b [diff] |
pw_web: Add a basic JavaScript REPL The REPL supports autocomplete, command history but does not yet have a way to call RPC ie. no `device.` global object. Command editor is based on CodeMirror. We modify some keybindings (like Enter to execute command, arrow up/down to view history). Command history is stored in `localStorage`. REPL log view is based on xterm.js. Change-Id: Ib5e82bf8cb4dcd12ca6128334abc16de0b2643ee Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/106171 Commit-Queue: Asad Memon <asadmemon@google.com> Reviewed-by: Anthony DiGirolamo <tonymd@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.