An open API service indexing awesome lists of open source software.

https://github.com/evilpie/narcissus-es5

Ecmascript 5 rewrite of Narcissus
https://github.com/evilpie/narcissus-es5

Last synced: about 1 year ago
JSON representation

Ecmascript 5 rewrite of Narcissus

Awesome Lists containing this project

README

          

Narcissus-ES5
=============

This is an interpreter rewrite of the original Narcissus js-js interpreter created by Brendan Eich.

Implementation Status:
---------------------

- Basic Object Functions like [[Get]] , [[Call]] or [[HasInstance]] are implemented
- The Objects 'String', 'Number', 'Object', 'Function' and 'Boolean' are defined
- assignment without a previous var declaration works
- typeof, instanceof
- calling native functions
- getting properties via Dot (.) or Brackets ([])
- string literals, null literal, undefined literal, number literal, object literal
- strict mode partially done
- function and var definitions

ToDo:
-----

- implement all functions of the object like String.fromCharCode, Object.getPrototypeOf
- implement Error Objects
- all operators like + - * /
- [[DefineOwnProperty]] Reject Method