Skip to content

About

Scratch VM for use in CodeTorch

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

CodeTorchNET/scratch-vm

Modified Turbowarp VM for use in CodeTorch.

PenguinMod compatibility

This VM (src/ct-pm/) reproduces the behaviour of PenguinMod's blocks ("Advanced blocks") so that PenguinMod projects (.pmp) can be opened in CodeTorch. The implementation is written independently on top of TurboWarp; PenguinMod's source was used as a description of the behaviour and its VM as a test oracle. PenguinMod-Vm is licensed under the Mozilla Public License, v. 2.0.

Supported: PenguinMod as of the commits below. We don't track PenguinMod; projects using anything newer still open, but blocks we don't know yet become inert placeholders.

PenguinMod's built-in block extensions (src/ct-pm/ext/) are implemented the same way, from PenguinMod-Vm's src/extensions at the commit below. Extensions that run arbitrary JavaScript or log in to third-party services are never implemented; projects using them still open, with those blocks as inert placeholders.

Repository Commit Date
PenguinMod-Vm 50fddfed34f4eed9eef28ef32bc1022397d29f46 2026-10-26
PenguinMod-Blocks de35ce5758aeda5aab0a9ad59736e1920205804b 2026-05-29
PenguinMod-Render 89a587aff84e0a62daf907fba464d7e02f995027 2026-05-29
PenguinMod-Storage 687019085e83fc83d39f3b96b41f229e8d95d6bc 2026-02-21
penguinmod.github.io (GUI) 8d622ab3808c85413af85e1fac8ea7f6bb42a901 2026-10-20

This program includes code and concepts adapted from Gandi-IDE/scratch-vm, which is licensed under the Mozilla Public License, v. 2.0.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. See LICENSE.

Parts of this program come from other projects and keep their own terms:

  • Files that originate from TurboWarp/scratch-vm or Gandi-IDE/scratch-vm, including CodeTorch's changes inside those files, are also available under the Mozilla Public License, v. 2.0. See LICENSE-MPL-2.0. They are distributed here as part of a larger work under the GNU General Public License, as section 3.3 of the Mozilla Public License allows.
  • src/ct-pm/ext/runtime/tw-files.js is adapted from TurboWarp's Files extension and is available under the same terms as that extension (MIT and the Mozilla Public License, v. 2.0).

Everything else, including the rest of src/ct-pm/, was written for CodeTorch and is available under the GNU General Public License version 3 only.

This program is based on scratchfoundation/scratch-vm, which is under this license:

Copyright (c) 2016, Massachusetts Institute of Technology
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

About

Scratch VM for use in CodeTorch

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages