From 9cac2ce16e88451ab90042d0d2f836605ef2cfa4 Mon Sep 17 00:00:00 2001 From: deadprogram Date: Thu, 22 Feb 2024 10:00:41 +0100 Subject: [PATCH] docs: it was always gonna be Mechanoid Signed-off-by: deadprogram --- README.md | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 0a1e279..adce291 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,17 @@ -# TinyWASM - -TinyWASM is a WebAssembly runtime environment for embedded microcontrollers written using TinyGo. +# Mechanoid +Mechanoid is a framework for developing applications using WebAssembly for embedded microcontrollers written using TinyGo. ## How to use +``` +mecha new simple +... + +(generates new application skeleton) + +``` + ### Simple Loads an embedded WASM module and then runs it by calling the exported `Ping()` function: @@ -16,15 +23,15 @@ import ( _ "embed" "time" - "github.com/hybridgroup/tinywasm/engine" - "github.com/hybridgroup/tinywasm/interp/wasman" + "github.com/hybridgroup/mechanoid/engine" + "github.com/hybridgroup/mechanoid/interp/wasman" ) //go:embed ping.wasm var pingModule []byte func main() { - println("TinyWASM engine starting...") + println("Mechanoid engine starting...") eng := engine.NewEngine() println("Using interpreter...") @@ -72,7 +79,7 @@ $ tinygo flash -size short -target pybadge -monitor ./examples/simple code data bss | flash ram 101012 1736 72216 | 102748 73952 Connected to /dev/ttyACM0. Press Ctrl-C to exit. -TinyWASM engine starting... +Mechanoid engine starting... Using interpreter... Initializing engine... Initializing interpreter... @@ -142,7 +149,7 @@ flowchart TD #### Application -The host application that the developer who uses TinyWASM is creating. +The host application that the developer who uses Mechanoid is creating. #### Modules