TIScript.DLL logfile:

Build# Date Updates
3.0.0.1 03-12-2006

Version 3.0 of the language.

2.0.0.3 26-11-2006
Added short notation of anonymous (a.k.a. lambda) functions:

Anonymous functions can be declared in place in of the three forms:

classic JavaScript form

function ( <parameters> ) { <statements> }

single expression lambda function form

: <parameters> : <statement>

"block with parameters" form

: <parameters> { <statements> }

Example below will sort of the array in descending order:
var a = [1,2,3,4];
a.sort(:v1,v2:v2 - v3);
This is a direct equivalent of:
a.sort( function(v1,v2) { return v2 - v3; } );
2.0.0.2 19-11-2006
  • Fix of AV in String.indexOf and String.lastIndexOf.
  • Fix of rand(0) function. Test case is here: some bugs
2.0.0.1 13-11-2006

New 2.0 version of the language and the engine.

New features, language:
  • Built-in persistent storage, classes Storage and Index.
  • Built-in XML/HTML tokenizer class.
  • Improved memory management.
New features, API:
  • API ::TIS_define_class - allows to define native packages and classes. See struct TIS_class_def in tiscript.h file. See implementation of sample classes in SDK/samples/console/native_classes.cpp.
  • SDK now includes json_value.h and json_aux.h files. Use of json::value allows to pass objects, arrays and scalar types between native and script code.
Various fixes.
1.0.0.7 01-03-2006
Fix. Custom functon call was causing AV.
New methods of String class:
  • htmlEscape/htmlUnescape
  • urlEscape/urlUnescape
1.0.0.6 22-12-2005 Fix of parsing source code containing unicode (wide) characters.
1.0.0.5 26-11-2005
New. Implementation of range/slice operators for strings and arrays.
var s3 = "hello world";
if( s3[2..5] != "llo" ) throw "range 1";
if( s3[..5] != "hello" ) throw "range 2";
if( s3[6..] != "world" ) throw "range 3";
 
1.0.0.4 17-11-2005
  • Fix of the bug causing Access Violation in garbage collector.
  • Logical negation operator (!) works better now with variables having undefined or null values.
1.0.0.2/3 13-09-2005 C API: Declarations of TIS_call, TIS_eval and func_impl (CALLBACK)  have been changed to eleminate returning struct from the functions. C++ external interface was not changed though - only implementation of correspondent wrapping methods were updated.
1.0.0.1 10-09-2005 Initial upload.