Sunday, September 14th, 2008
The purpose of this posting is to show that is is possible to create an online partial evaluator for JavaScript, written also in JavaScript. As far as I know, this has been not been done before. This post is the first in a series describing the inner workings of Jeene.
A ...
Posted in JavaScript, code specialization, instanceof, partial evaluation | 3 Comments »
Friday, July 4th, 2008
Recall the object function that Douglas Crockford is promoting in his work on prototypal inheritance in JavaScript:
function object(p) {
function F(){}
F.prototype = p;
return new F();
}
The object function creates a new object which has the input object (p) as it's prototype.
On the comp.lang.javascript ...
Posted in JavaScript, closures, code specialization, partial evaluation, performance, sharing | No Comments »