For my PXT target (https://makecode.buildbee.com) I have a couple of scenarios where code generation might be helpful to my cause - so for example:
- There’s a popular C-like programming language out there that I would like to parse and convert to makecode and generate mkcd files.
It looks to me like the mkcd file is compressed JSON - with typescript and blockly xml. Could I get away with just generating one? Or would I have to generate both.
- There are cases where I want to load in external files and generate a series of blocks from it. Any thoughts how I could do that? So for example I would like to load STLs and SVGs into my editor for editing/extrusion. Any thoughts how I could do that?
Any thoughts or guidance would be lovely!