What is #Rhai Script? It's a #RustLang-like Scripting Language that we're porting to #BL602 Simulator
https://github.com/lupyuen/bl602-simulator/tree/main/bl602-script
#WebAssembly Simulator for PineDio Stack #BL604 @PINE64 ... Coming soon!
https://lupyuen.github.io/articles/rustsim?24#pinedio-stack-bl604
Apache #NuttX for Flying Drones
https://docs.px4.io/master/en/concept/architecture.html#os-specific-information
#Rhai Scripting Engine parses our Rhai Script and produces an Abstract Syntax Tree ... We'll walk the tree and transcode to uLisp for #BL602
https://lupyuen.github.io/articles/rustsim?23#appendix-rhai-scripts-on-bl602
How we'll Transcode #Rhai Script to #uLisp for #BL602
https://lupyuen.github.io/articles/rustsim?22#appendix-rhai-scripts-on-bl602
Rhai Scripts won't run on #BL602 Hardware ... But we could transcode to #uLisp and run them on BL602
https://lupyuen.github.io/articles/rustsim?21#run-scripts-on-bl602
#BL602 Simulator will support Drag-and-Drop Scripting too!
https://lupyuen.github.io/articles/rustsim?20#drag-and-drop-scripting
#BL602 Simulator will support Rhai Scripts ... A #RustLang-like Scripting Language
https://lupyuen.github.io/articles/rustsim?19#scripting-for-bl602-simulator
How #BL602 Simulator validates calls to BL602 IoT SDK
https://lupyuen.github.io/articles/rustsim?18#validate-calls-to-bl602-iot-sdk
#BL602 Simulator tries to be helpful ... By validating the calls to BL602 IoT SDK
https://lupyuen.github.io/articles/rustsim?17#validate-calls-to-bl602-iot-sdk
Our #BL602 Simulator won't simulate all kinds of firmware ... But it might still be useful
https://lupyuen.github.io/articles/rustsim?15#easier-embedded-development
Will #BL602 Simulator make #Embedded Development easier? 🤔
https://lupyuen.github.io/articles/rustsim?12#run-bl602-firmware-in-simulator
How we handle #BL602 Simulation Events in JavaScript ... And blink the Simulated BL602 LED
https://lupyuen.github.io/articles/rustsim?11#handle-simulation-events
Here's how we expose our #RustLang Functions to Rhai Script Engine
https://github.com/lupyuen/bl602-simulator/blob/main/bl602-script/src/lib.rs#L25-L88
IoT Techie and Educator / Apache NuttX PMC