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
- Host: GitHub
- URL: https://github.com/evilpie/narcissus-es5
- Owner: evilpie
- Created: 2010-08-30T18:59:09.000Z (almost 16 years ago)
- Default Branch: master
- Last Pushed: 2010-09-21T13:09:19.000Z (over 15 years ago)
- Last Synced: 2025-01-22T18:28:09.665Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 156 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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