Narcissus (JavaScript engine)

From Wikipedia, the free encyclopedia
Jump to: navigation, search

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[edit]

External links[edit]

References[edit]