#Blockly needs a #ZigLang Code Generator ... Let's copy from Dart
https://github.com/lupyuen3/blockly-zig-nuttx#zig-code-generator
Here's how we load our #ZigLang Code Generator into #Blockly
https://github.com/lupyuen3/blockly-zig-nuttx#load-code-generator
#Blockly generates #ZigLang code ... That compiles and runs correctly! 🎉
https://github.com/lupyuen3/blockly-zig-nuttx#run-the-generated-code
#Blockly works on Mobile Web Browsers too
https://github.com/lupyuen3/blockly-zig-nuttx#blockly-on-mobile
Drag-n-drop your own #ZigLang Function in #Blockly
https://lupyuen.github.io/articles/blockly?6#define-functions
#Blockly doesn't recognise Types ... That's a problem for #ZigLang 🤔
https://lupyuen.github.io/articles/blockly?7#blockly-is-typeless
Constants, Variables and Shadowing ... Tough issues for #ZigLang on #Blockly 🤔
https://lupyuen.github.io/articles/blockly?8#constants-vs-variables
@lupyuen very much like Microbit/makecode
@gbraad Exactly! 👍
@lupyuen I like VPL
Very underappreciated and easy to explain to newcomers (acting like living docs)
@gbraad Yep I fully agree 👍
@lupyuen those who com[plain it is restrictive mostly wanna code smart.
premature optimizations that often obscure intention. let the compiler handle this.
maintainable code is often times more important than the best performant code.
if you want performance, go for assembly.
@lupyuen Seems pretty cool. I wonder if this tool could be used for metaprogramming microcontrollers, like the STM32 Cube MX on steroids!
@oblate Yep that's an interesting idea 🤔
Let's add a #ZigLang Tab to #Blockly ... Our Zig code shall appear here
https://github.com/lupyuen3/blockly-zig-nuttx#add-a-zig-tab