Download

Introduction

Download

Tutorial

Installation

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Download

Current version of CliPP is CliPP 0.5.0 (11 june 2006)

Go directly to the download page from here

WHAT'S NEW FOR CliPP 0.5.0

  • Bugfixes:
    • Support return value of null from native functions (convert to undefined)
    • Implemented ordered destruction of scope
    • Fixed var scope error
    • Fixed errors with member_wrapper used for references.
    • Fixed problem with lookupscope in member contexts (this.name_ would also search global scope for matching name_)
    • Several classes missed operator== and operator!=
    • expr?val1:val2 did not work
    • Fixed VC6 release crash
    • Fixed use of random access iterators in array.cpp, to be compatible with VC8.0
    • Fixed empty block error
    • Fixed empty return crash
    • Fixed bug var statements reusing old identifiers in recursive functions.
    • Fixed stack overflow problem when defining user-conversions.
    • Incorrect routing of error message when js-file does not exist.
    • Fixed errors in implementation of 'this'
  • New Features:
    • js_object can now be implicitly converted to number and to string
    • Support for operators for js_object
    • Support for >>>, >>>=, === and !==
    • Allow explicit wrapping of of e.g. pointer to class (Useful for wrapping virtual classes)
    • javascript functions can now be used as constructors.
    • Implemented Automatic Semicolon Insertion
    • Implemented 'delete' operator
    • Implemented 'in' operator
    • Implemented 'instanceof' operator
    • Implemented 'typeof'
    • js_functions that are called from an object, now uses this object to represent 'this'
    • Improved object wrapping strategy
    • Better operator support: both loperators and roperators are considered when executing an operator.
    • unwrap_type and valarray_unwrapper improved to use remove_xxx
  • Added support for compiler:
    • Visual C++ 8.0
Thanks to Jaap de Wolff for testing, bugfixing  and implementation of several of the above features.

Release date: 11 june 2006

WHAT'S NEW FOR CliPP 0.4.0

  • Bugfixes:
    • Fixed bug in property write definition
    • Array notation a[1] did not work correctly. This has been fixed.
    • Defining both read and write properties with the same name did not work

Release date: 29 july 2005

WHAT'S NEW FOR CliPP 0.3.0

  • Bugfixes:
    • User defined containers (e.g. set<some_class> now automagically register the contained type (some_class)
    • Global properties had accidentally fallen out of the 0.2.0 release.
    • Fixed parsing of function bodies using named function expressions: a=function fn(arg) {return;}
    • Fixed issue with parser ignoring spaces: e.g casette; would be parsed as case tte;
  • New Features:
    • Allow exposion of non-javascript classes using storage policies
    • Allow using references to global variables as read/write global properties
    • sqrt now works for negative values as well as positive, returning complex if value is negative.
    • Implemented missing newExpression: e.g. a=new function(arg1,arg2);
    • Updated sourcebase to build with boost 1.32.0
  • Added support for compiler:
    • GCC 3.2

Release date: 10 may 2005

WHAT'S NEW FOR CliPP 0.2.0

  • Javascript parser complete
    • switch statement
    • break and continue statements
    • with statement
    • throw, try, catch and finally statements
    • escape sequences (\n \x3f ...)  in strings
  • Greatly improved speed of the parser.
  • Improved message handling system.
  • Fixed error with javascript function requiring at least 1 argument.
  • Array object now complete according to the standard.
  • CliPP bumped from alpha to beta status

Known issues:

  • Using the VC++ 7.0 compiler, the array sort function crashes for some unknown reason.
    • Workaround: upgrade to the VC++ 7.1 compiler :)

Thanks to Manuele Turini for testing.

Release date: 04 may 2004

WHAT'S NEW FOR CliPP 0.1.3

  • Support for writing functions in Javascript: function square(input) {return input*input;}
  • Support for the javascript return statement
  • Implemented several missing operators for Number class.
  • Implemented grouping of comparison operators, reducing the number of operators necessary to implement.
  • Added support for functions with default arguments
  • Documentation of function arguments
  • Fixed invalid parsing of hexadecimals
  • Fixed errors in release settings for projects.

Release date: 27 march 2004


WHAT'S NEW FOR CliPP 0.1.2

  • Implemented the Date object
  • Implemented support for new-expressions in javascript: var a=new Date();
  • Added support for compiler:
    • Visual C++ 7.1

Release date: 4 february 2004


WHAT'S NEW FOR CliPP 0.1.1

  • Javascript parser now supports the for(a in b) syntax
  • Support for wrapping enumerations to javascript using the enum_ template
  • When returning a pointer or reference to a wrapped polymorphic base class,
    it will automatically be wrapped using the wrapper for the most concrete type.
  • Fixed problem with const reference return values being threated as direct return values.
  • Fixed bug in class_.constructor function causing ICE'ing on VC++ 6
  • Implemented support for exposing c++ overloaded functions.
  • Simplified syntax for defining constructors.
  • Changed syntax for defining operators from parenthesis to subscripts (self+int()) becomes [self+int()].
  • Support calling scripting functions from C++
  • Support calling scripting properties from C++
  • Support calling constructors from C++
  • Support using scripting objects  in C++
  • Added documentation for the above.
  • Implemented toString(radix) for numbers.

Release date: 20 december 2003


WHAT'S NEW FOR CliPP 0.1.0 (initial release)

  • Partially complete Javascript parser
  • transparently transferring
    • c++ variables to and from javascript.
    • c++ functions to javascript
    • stl containers to javascript
    • c++ classes to javascript (intrusive)
      • constructors
      • member functions
      • static functions
      • member variables
      • operators
      • 1 base class
  • variable number of arguments (javascript)
  • automatic type conversion
  • Supported compilers:
    • Visual C++ 6.0 Sp.5
    • Visual C++ 7.0

Release date: 29 november 2003

Project hosted by
SourceForge.net Logo