Narcissus (JavaScript engine)

Print Print
Reading time 1:41

Narcissus is an open source JavaScript engine. It was written by Brendan Eich, who also wrote the first JavaScript engine, SpiderMonkey. Its name is based on the mythical figure of Narcissus, who fell in love with himself. This relates to the fact that this JavaScript engine is a metacircular interpreter, because the engine itself is also written in JavaScript, albeit using non-standard extensions that are specific to SpiderMonkey.

The Narcissus engine can be plugged into Firefox via Zaphod add-on to run scripts on web pages.[1] Since Narcissus has a simpler code-base than "real" JavaScript engines, it can be used to prototype new language features with less effort.[2]

See also

  • List of JavaScript engines

References


By: Wikipedia.org
Edited: 2021-06-18 12:37:44
Source: Wikipedia.org