(Redirected from Scratch License)

SandCastleIcon.png This page has links to websites or programs not trusted by Scratch or hosted by Wikipedia. Remember to stay safe while using the Internet, as we can't guarantee the safety of other websites.

The Scratch Source Code is the version of Scratch before the Scratch Team compiled it. It is usually used for:

  • Understanding how Scratch works
  • Building future versions of Scratch

Scratch 3.0

The Scratch 3.0 source code is in GitHub. It is spread across several repositories, but everything is written in JavaScript.

Scratch 2.0

The Scratch 2.0 source code is now officially available on GitHub here.[1] It is written in ActionScript and now provides the necessary tools for users familiar with the language to create mods of Scratch 2.0. From the source code page, users can view the pull requests for Scratch 2.0 as well as analyze the current issues that need debugged.

Before the release of the source code on May 13, 2014, Scratch 2.0 could only be used in compiled form. Compiling takes code written in a human-friendly or high-level programming language and converts into code in a low-level language, which is more compact and can be interpreted faster. However, Scratch is and always will be open-source, and updates to the source code can be viewed on GitHub.

Scratch 1.4

Main article: Scratch 1.4 Source Code

The source code for Scratch 1.x is stored in two files, SqueakV2.sources and the changes file, the former containing the original source code for Squeak 2.0 and the latter containing everything written since then, including Scratch itself. The Scratch Team has published these separately from the ordinary version of Scratch, as explained below. (If the source code is absent, Squeak will automatically decompile methods, so Scratch can still be modified; however, comments are removed and temporary variable names are replaced with t1, t2, t3, etc. which can make the code difficult to understand.)

Licenses

"License" redirects here. For the license Scratch projects are published under, see Scratch Project License.

For Scratch 1.4, there are two different versions of the source code, available under two different licenses and intended for different purposes. The first, available since Scratch was created, contains a non-branded image file with a generic sprite and no uploading. This is released under the Scratch Source Code License. Another version, added in March 2012, is licensed under the GNU General Public License, version 2.[2] It contains all of the media included with the regular Scratch distribution and was created to make it easier to put versions of Scratch on open source repositories, especially for Linux distributions.

The free version of Scratch 2 is under the GNU GPLv2 or any later version; it is complete except for the media library, help, and cloud variables.

All Scratch 3.0 source code except for Scratch Blocks is licensed under the BSD license. Scratch Blocks is licensed under the Apache License v2.0[3], as it is a fork of Google's Blockly, which is also under the Apache License[4].

See Also

External Links

References

  1. topic:38754
  2. ar-topic:93538
  3. https://github.com/LLK/scratch-blocks/blob/develop/LICENSE
  4. https://github.com/google/blockly/blob/master/LICENSE