User Tools

Site Tools


This is an old revision of the document!


Interpreter

The Javascript interpreter used to run the algorithms on this wiki is a highly modified versions of the Narcissus Javascript interpreter. It has been updated to run in web browsers and to be much more standards compliant. It has also been rewritten in continuation passing style, so that the interpretation can be paused and controlled by the user.

The Javascript interpreter currently passes 97% of the ECMAScript Language test262 test suite. (The majority of the failures are currently due to “use strict” code.)

Passes Total %
Ch06 Notational Conventions 1 1 100.00%
Ch07 Lexical Conventions 696 715 97.34%
Ch08 Types 182 182 100.00%
Ch09 Type Conversion and Testing 128 128 100.00%
Ch10 Executable Code and Execution Contexts 348 377 92.31%
Ch11 Expressions 1272 1320 96.36%
Ch12 Statements 510 521 97.89%
Ch13 Function Definition 164 230 71.30%
Ch14 Program 19 24 79.17%
Ch15 Standard Built-in ECMAScript Objects 7997 8074 99.05%
Totals 11317 11572 97.80%
interpreter.1353305049.txt.gz · Last modified: 2015/02/02 08:24 (external edit)