If you make extensions for scratch, you are probably aware of the fact that block object syntax is pretty much 90% boilerplate. It's still better that scratch's terrifying abstract block syntax tree, but the fact remains, that's a lotta text for a single block! That's why I made block maker, it's a tool that allows you to make blocks in a single line of code, it is mainly finished but it still needs some error handling for invalid syntax and edge cases, feel free to use it anyway!
Yeah, and I have to clarify that this tool does not see the difference between brackets intended for defining block/argument types and brackets intended for text, nor does it care. You can't really use them, the best-case scenario is they would be all turned into square brackets, even these curly ones: {}
If something doesn't work as intended, you can always file an issue here, and as always, stay tuned for updates!
~{]:)
0 comments