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 93% of the ECMAScript Language test262 test suite. (A lot of the failures currently are due to not handling “strict” code or unicode.)

Passes Total %
Ch06 Notational Conventions 1 1 100.00%
Ch07 Lexical Conventions 594 715 83.08%
Ch08 Types 175 182 96.15%
Ch09 Type Conversion and Testing 128 128 100.00%
Ch10 Executable Code and Execution Contexts 232 377 61.54%
Ch11 Expressions 1177 1320 89.17%
Ch12 Statements 470 521 90.21%
Ch13 Function Definition 152 230 66.09%
Ch14 Program 12 24 50.00%
Ch15 Standard Built-in ECMAScript Objects 7892 8074 97.75%
Totals 10833 11572 93.61%
interpreter.1351059544.txt.gz · Last modified: 2015/02/02 08:24 (external edit)