Scheme2Js 20080407 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News Scheme2Js 20080407 (Default branch)
# 1  
Old 04-07-2008
Scheme2Js 20080407 (Default branch)

Scheme2Js is an efficient Scheme to Javascript compiler. Scheme2Js is not completely R5RS compliant, but features call/cc, partial tail-rec recursion, variable argument functions, symbols, lists, and macros. However, it lacks (among other things) hygienic macros and exact numbers. License: GNU General Public License (GPL) Changes:
This release is the latest before a major rewrite of the compiler. It features some new runtime-functions (any, any?, vector-copy, ...) and small bugfixes (files without module-clauses now correctly accept unresolved variables, ...).Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
V8JS.__CONSTRUCT(3)							 1						       V8JS.__CONSTRUCT(3)

V8Js::__construct - Construct a newV8Jsobject

SYNOPSIS
public V8Js::__construct TRUE ([string $object_name = "PHP"], [array $variables = array()], [array $extensions = array()], [bool $report_uncaught_exceptions]) DESCRIPTION
Constructs a new V8Js object. PARAMETERS
o $object_name - The name of the object passed to Javascript. o $variables - Map of PHP variables that will be available in Javascript. Must be an associative array in format array("name-for-js" => "name- of-php-variable"). Defaults to empty array. o $extensions - List of extensions registered using V8Js.registerExtension(3) which should be available in the Javascript context of the created V8Js object. Note Extensions registered to be enabled automatically do not need to be listed in this array. Also if an extension has dependen- cies, those dependencies can be omitted as well. Defaults to empty array. o $report_uncaught_exceptions - Controls whether uncaught Javascript exceptions are reported immediately or not. Defaults to TRUE. If set to FALSE the uncaught exception can be accessed using V8Js.getPendingException(3). RETURN VALUES
Returns a new V8Js context object. PHP Documentation Group V8JS.__CONSTRUCT(3)