Projects / The Squirrel programming language

The Squirrel programming language

Squirrel is a light-weight programming language (around 6000 lines of code) that features higher-order functions, classes/inheritance, delegation, tail recursion, generators, cooperative threads, exception handling, reference counting and garbage collection on demand. It has a C-like syntax.

Operating Systems

Recent releases

  •  19 Jun 2012 15:49

    Release Notes: Improved error messages for _cmp(when a non-integer value is returned). A class.newmember() built in method. A class.rawnewmember() built-in method. Adds sq_rawnewmember(), sq_getversion(), sq_typeof(), sq_getclosurename(), and file.close() in stdlib. The closure.getinfos() built-in method is documented. Some minor bugs have been fixed.

    •  08 Sep 2011 18:12

      Release Notes: This release adds # as an alternative symbol for "line comment" (mostly useful for shell scripts). It adds an alignment flag for user data types. It adds a new API function sq_throwobject. There are minor bugfixes.

      •  13 Mar 2011 15:15

        Release Notes: 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. Some errors in the documentation were fixed. A bug when using SQUSEDOUBLE and 32-bit intengers was fixed. A bug when invoking generators with was fixed.

        •  19 Dec 2010 11:34

          Release Notes: Metamethods error handling was improved. The "isstatic" parameter was added to the _newmember metamethod. sq_getrefcount() was added to return the number of refences from C++. Minor bugs were fixed.

          •  18 Aug 2010 15:19

            Release Notes: This release fixes a nasty bug in the classes. It fixes a closure bug.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.