Squeak Smalltalk programming language
Introduction to Squeak Smalltalk programming language:
The Squeak Smalltalk programming language is a dialect of Smalltalk and is object-oriented, reflective and className-based. It was derived directly from Smalltalk-80. Squeak Smalltalk is a open source and full-featured implementation of the powerful Smalltalk programming language and environment. Squeak is highly-portable - even its virtual machine is written entirely in Smalltalk which makes easy to debug, analyze, and change. It is the vehicle for a wide range of projects from multimedia applications and educational platforms to commercial web application development. The Squeak system includes code for generating a new version of the virtual machine (VM) on which it runs. It includes a VM simulator written in Squeak itself.
Feature of the Squeak Smalltalk programming language:
- Squeak's virtual machine is developed using Squeak itself.
- Squeak are used for Web Application Development.
- Croquet project and Balloon are the examples of Interactive 3D in Squeak!
- It has superb multi-media potential.
- Squeak is internationalised.
- Squeak is a persistent environment - when you save your image, everything right down to the position of windows and text is saved.
- Squeak itself is an IDE.
- Squeak uses incremental compiling.
Programming Code:
{` Fibonacci numbers:
fibonacci: n | numbers a b | numbers := OrderedCollection new. a := 1. b := 1. [ numbers size < n ] whileTrue: [ | temp | numbers add: a. temp := b. b := a + b. a := temp. ]. ^ numbers. `}