Squirrel is a high level imperative, object-oriented programming language, designed to be a light-weight scripting language that fits in the size, memory bandwidth, and real-time requirements of applications like video games. MirthKit, a simple toolkit for making and distributing open source, cross-platform 2D games, uses Squirrel for its platform. It is used extensively by Code::Blocks for scripting and was also used in Final Fantasy Crystal Chr...
More
Squirrel is a high level imperative, object-oriented programming language, designed to be a light-weight scripting language that fits in the size, memory bandwidth, and real-time requirements of applications like video games. MirthKit, a simple toolkit for making and distributing open source, cross-platform 2D games, uses Squirrel for its platform. It is used extensively by Code::Blocks for scripting and was also used in Final Fantasy Crystal Chronicles: My Life as a King It is also used in Left 4 Dead 2 and Portal 2 for scripted events.
Squirrel uses a C-like syntax.
Factorial in Squirrel:
Random numbers using generators:
Classes and inheritance:
The language was made public in 2003 under the zlib/libpng license. In November 2010, the license was changed to MIT license to enable the project to be hosted on Google Code. It is developed and maintained by Alberto Demichelis.
Less