TurboWarp / scratch-vm

Scratch VM with a JIT compiler and more features
https://turbowarp.org/
Mozilla Public License 2.0
75 stars 72 forks source link

Add API for extension block to be dropped anywhere #145

Closed GarboMuffin closed 1 year ago

GarboMuffin commented 1 year ago

For https://github.com/TurboWarp/extensions/pull/605

Again need to write tests still

LilyMakesThings commented 1 year ago

I have tested this with various block types in vanilla as well as extensions, and it has worked flawlessly compiled as well as in packaged environments. I assume if it didn't work in the interpreter Scratch probably wouldn't have let 2 of their blocks use a null output type.