The Squirrel programming language 3.0.3

A light-weight scripting language
The Squirrel programming language is a high level imperative/OO programming language, designed to be a powerful scripting tool that fits in the size, memory bandwidth, and real-time requirements of applications like games. Although Squirrel offers a wide range of features like:

· Open Source zlib/libpng licence
· dynamic typing
· delegation
· higher order functions
· generators
· cooperative threads(coroutines)
· tail recursion
· exception handling
· automatic memory management (CPU bursts free; mixed approach ref counting/GC)
· both compiler and virtual machine fit together in about 6k lines of C++ code.
· optional 16bits characters strings

Squirrel is inspired by languages like Python,Javascript and expecially Lua(The API is very similar and the table code is based on the Lua one).

squirrel's syntax is similar to C/C++/Java etc... but the language has a very dynamic nature like python/Lua etc...

local array=[1,2,3,{a=10,b="string"}];

foreach (i,val in array)
{
::print("the type of val is"+typeof val);
}


Entity

last updated on:
June 20th, 2012, 6:51 GMT
price:
FREE!
homepage:
www.squirrel-lang.org
license type:
zlib/libpng License 
developed by:
Alberto
category:
ROOT \ Programming \ Compilers
The Squirrel programming language
Download Button

In a hurry? Add it to your Download Basket!

user rating 22

3.9/5
 

0/5

Rate it!
What's New in version 3.0
  • sq_getcallee() was added in the API.
  • sq_getfreevariable() also works for native closures.
  • Minor optimizations were made.
  • Several warnings when compiling with GCC 4.x were removed.
read full changelog

Add your review!

SUBMIT