750cd7adb13b2154cd22e846662872994d97bb50
The bug was that property keys that look like array indexes are always enumerated by JS before other keys regardless of creation time. For now, we will avoid using numbers when compressing projects. This does negligibly increase the size of project.json. Appel v1.4 went from 2257234 to 2260628 bytes, a 0.15% increase.
TurboWarp/scratch-vm
Modified Scratch VM with a JIT compiler and more features.
This is a drop-in replacement for LLK/scratch-vm.
Setup
See https://github.com/TurboWarp/scratch-gui/wiki/Getting-Started to setup the complete TurboWarp environment.
If you just want to play with the VM then it's the same process as upstream scratch-vm.
Extension authors
If you only use the standard reporter, boolean, and command block types, everything should just work without any changes.
Compiler Overview
For a high-level overview of how the compiler works, see https://docs.turbowarp.org/how
For more technical information, read the code in src/compiler.
Public API
This section was too out of date to be useful. We hope to re-add it as some point.
Description
Scratch VM with a JIT compiler and more features
https://turbowarp.org/
35 MiB
0 Stars
2 Watchers
0 Forks
Languages
JavaScript
99.7%
HTML
0.2%