Archive for the ‘code specialization’ Category

Jeene: An automatic partial evaluator for JavaScript

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 ...

Manual code specialization:a poor-mans partial evaluation in JavaScript

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 ...