Follow

What's ? That's when you write a program that generates another program... Like here when I'm designing a graphical program (in Blockly) that will generate a program for Smart Watch @PINE64 ... developers.google.com/blockly/

Why are C Macros hard? Because they are a form of Metaprogramming. So are Macros

@clacke @PINE64 Very sharp... Must be a Millennial who grew up with Scratch 🙂

Scratch started as a project at MIT Media Lab... Google open-sourced it as Blockly (which I'm using).

Blockly will convert visuals blocks into all kinds of code: JavaScript, Python, Lua, PHP, Dart... Anything but Rust!

So I had to build the Rust Code Generator for Blockly myself... Not that hard 🙂

@clacke @PINE64 ...Microsoft repackaged Blockly as Makecode, the web builder toolkit for BBC micro:bit. That's why I was inspired to bring Blockly to 🙂

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.