Squirrel is a light weight programming language featuring higher-order functions,classes/inheritance,delegation,tail recursion,generators,cooperative threads,exception handling, reference counting and garbage collection on demand. C-like syntax.
squirrel!!!
***version 2.2.3 stable*** -added sq_getfunctioninfo -added compile time flag SQUSEDOUBLE to use double precision floats -added global slot _floatsize_ int the base lib to recognize single precision and double precision builds -sq_wakeupvm can now resume the vm with an exception -added sqstd_format -generators can now be instantiated by calling sq_call() or closure.call() -fixed a bug in sqstd_printcallstack(thx takayuki_h) -fixed modulo by zero(thx jup) -fixed negative enums and constants -fixed generator crash bug if invoked as tail call (thx Mr.Accident) -fixed some minor bug
-first banch from 2.x source tree -added 'base' keyword -removed 'delegate' keyword -now compiled scripts are vararg functions -added setdelegate() and getdelegate() table builtin methods -added <=> 3 ways compare operator -added lambda expression @(a,b) a + b -added local function statement -added array built-in map(),reduce(),apply(),filter() and find() -generators hold only a weak reference of the enviroment object -removed 'vargv' and 'vargc' keywords -now var args are passed as an array called vargv(as a paramter) -removed 'parent' keyword -added class getbase() built in method -instanceof doesn't throw an exception if the left expression is not a class -lexical scoping for free variables(free variables are no longer in the second parameter list) -sq_setprintfunc accept error func -sq_geterrorfunc() -added sq_arrayremove() and sq_arrayinsert() -error() built in function(works like print but prints using the errorfunc) -added native debug hook
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?