Anyone knows how to talk to ST7789 Display on 3-Wire (9-bit) Mode ... Over 8-bit SPI? Do we pack our bits into 9-byte chunks? (9 bits x 8) Thanks! 🙏
#Rhai Abstract Syntax Tree will have Gnarly Nested Nodes ... Transcoding to uLisp will be an interesting challenge!
https://github.com/lupyuen/bl602-simulator/blob/main/bl602-script/src/lib.rs#L193-L284
How to Transcode #Rhai Script to #uLisp? We walk the Abstract Syntax Tree and convert every node
https://github.com/lupyuen/bl602-simulator/blob/main/bl602-script/src/lib.rs#L158-L192
#Rhai Script runs OK on #BL602 WebAssembly Simulator ... But to run on Real BL602 Hardware we shall transcode to uLisp
https://lupyuen.github.io/articles/rustsim?25#appendix-rhai-scripts-on-bl602
#Rhai lets us register our #RustLang Module with the Script Engine ... So calling the #BL602 Rust Wrapper is no problemo!
https://github.com/lupyuen/bl602-simulator/blob/main/bl602-script/src/lib.rs
Braised Chicken with Daikon and Mushroom
https://www.rotinrice.com/braised-chicken-with-dark-soy-sauce-and-mushrooms/
75 upvotes on r/rust ... Super nervous 😬
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
IoT Techie and Educator / Apache NuttX PMC