Squeak

From Wikipedia, the free encyclopedia
  (Redirected from Squeak (programming language))
Jump to: navigation, search
This article is about the Smalltalk dialect. For the children's TV show, see Squeak!.
Squeak
Squeak.svg
Squeak-x11.png
Screenshot of a Squeak application running under X11.
Original author(s) Alan Kay, Dan Ingalls, Adele Goldberg
Developer(s) Alan Kay, Dan Ingalls, Ted Kaehler, Scott Wallace, John Maloney, Andreas Raab, Mike Rueger
Initial release 1996
Stable release 4.5 / March 8, 2014 (2014-03-08)[1]
Operating system Cross-platform (multi-platform): Unix-like, Mac OS X, iOS, Windows, more
Type Smalltalk virtual machine, development environment
License MIT license
Website www.squeak.org

The Squeak programming language is a dialect of Smalltalk. It is object-oriented, class-based and reflective.

It was derived directly from Smalltalk-80 by a group at Apple Computer that included some of the original Smalltalk-80 developers. Its development was continued by the same group at Walt Disney Imagineering, where it was intended for use in internal Disney projects.

Squeak is available for many platforms, and programs produced on one platform run bit-identical on all other platforms. The Squeak system includes code for generating a new version of the virtual machine (VM) on which it runs. It also includes a VM simulator written in Squeak itself. For this reason, it is easily ported.

Developers[edit]

Dan Ingalls, an important contributor to the Squeak project, wrote the paper[2] upon which Squeak is built and constructed the architecture for five generations of the Smalltalk language.

Squeak incorporates many of the elements Alan Kay proposed in the Dynabook concept, which he formulated in the 1960s. Kay is an important contributor to the Squeak project.

User-interface frameworks[edit]

Squeak includes a number of user-interface frameworks:

  • An implementation of Morphic, Self's graphical direct manipulation interface framework. This is Squeak's main interface.
  • Tile-based, limited visual programming scripting in Etoys, based on Morphic.
  • A new, experimental interface called Tweak. In 2001 it became clear that the Etoy architecture in Squeak had reached its limits in what the Morphic interface infrastructure could do. Hewlett-Packard researcher Andreas Raab proposed defining a "script process" and providing a default scheduling-mechanism that avoids several more general problems.[3] This resulted in a new user-interface, proposed to replace the Squeak Morphic user interface in the future. Tweak added mechanisms of islands, asynchronous messaging, players and costumes, language extensions, projects, and tile scripting.[4] Its underlying object system is class-based, but to users, during programming (scripting), it acts like it is prototype-based. Tweak objects are created and run in Tweak project windows.
  • In Squeak versions 3.8 and earlier, the MVC interface. It derived from the original Smalltalk-80 user-interface framework which first introduced and popularized the model–view–controller architectural pattern.[5] MVC takes its name from the three core classes of the framework. Thus, the term "MVC" in the context of Squeak refers to both one of the available user-interface frameworks and the pattern the framework follows. MVC was provided for programmers who wished to use this older type of interface.

Uses[edit]

Many Squeak contributors collaborate on Open Cobalt, a free and open source virtual world browser and construction toolkit application which is built on Squeak.

Squeak is also used in the es operating system and for implementing the Scratch programming language for beginning programmers. In May 2011 the OpenQwaq virtual conferencing and collaboration system based on Squeak, an open source release of Teleplace, was announced on the Teleplace blog.[6]

License[edit]

Squeak 4.0 may be downloaded at no cost, including source code, as a prebuilt virtual machine image licensed under the MIT License, with the exception of some of the original Apple code, which is governed by the Apache License.

Originally, Apple actually released Squeak under a license called the "Squeak License." While source code was available and modification permitted, the Squeak License contained an indemnity clause that prevented it from qualifying as true Free and Open Source Software.

In 2006, Apple relicensed Squeak twice. First, in May, Apple used its own Apple Public Source License, which satisfies the Free Software Foundation's concept of a Free Software License[7] and has attained official approval from the Open Source Initiative[8] as an Open Source License. The Apple Public Source License, as it turns out, fails to pass the third standard that Free and Open Source Software licenses are held to: the Debian Free Software Guidelines promulgated by the Debian project, an influential volunteer-run Linux distribution. To enable inclusion of Etoys in the One Laptop Per Child project, a second relicensing was undertaken using the Apache License. At this point, an effort was also made to address the issue of code contributed by members of the Squeak community, which it was not in Apple's power to unilaterally relicense.

For each contribution made under the Squeak License since 1996, a relicensing statement was obtained authorizing distribution under the MIT license, and finally in March 2010, the end result was released as Squeak 4.0, now under combined MIT and Apache licenses.[9]

See also[edit]

References[edit]

  1. ^ "4.5 Release Notes". 
  2. ^ Ingalls, Dan; Kaehler, Ted; Maloney, John; Wallace, Scott; Kay, Alan (1997). "Back to the Future: the story of Squeak, a practical Smalltalk written in itself". ACM Digital Library. Retrieved 2011-06-12. 
  3. ^ "Tweak: OriginalTweakMemo". Tweakproject.org. 2001-07-06. Retrieved 2011-06-12. 
  4. ^ "Tweak: Whitepapers". Tweakproject.org. Retrieved 2011-06-12. 
  5. ^ Burbeck, Steve (1997-04-04). "How to use Model-View-Controller (MVC)". St-www.cs.uiuc.edu. Retrieved 2011-06-12. 
  6. ^ "Moving Immersive Collaboration Forward". 
  7. ^ "FSF's Opinion on the Apple Public Source License (APSL) 2.0". Gnu.org. 2011-05-07. Retrieved 2011-06-12. 
  8. ^ "Clarification of the APSL: Press Releases OS Clarifies The Status Of The APSL". Opensource.org. 1999-03-17. Retrieved 2011-06-12. 
  9. ^ "Squeak 4.0 released - now under MIT/Apache license". The H Open. 2010-03-16. Retrieved 2011-06-12. 

External links[edit]