Closed Bug 595287 Opened 14 years ago Closed 5 years ago

Implement ES5 strict mode soon in Narcissus and DoctorJS

Categories

(Other Applications Graveyard :: Narcissus, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: brendan, Unassigned)

References

()

Details

Chris Williams, curator of JSConf, suggested this. People are using JSLint and following the jslint.com advice to slap "use strict"; at the top of their code, but then others concatenate that with JS that violates strict mode, and of course the concatenation is not tested in strict mode for want of browser support (Fx4 is probably going to be "first").

We could use this yesterday. If someone has time and inclination, I'll blog about it and developers will send you beer ;-).

/be
Of course, JSLint does not enforce strict mode fully, especially re: arguments aliasing not working in strict mode, and other stuff that's hard to model without full-strength static analysis. So the jslint.com advice is doing a disservice.

See bug 593963 and bug 579119.

/be
Since few weeks i have been rewriting the interpreter module of Narcissus to fully support Ecmascript 5 and strict mode. As a matter of the design much things need to be implemented by handy, wich costs a lot of time. Also the Execution Context / Scopes arent really implemented and hacky. 

http://github.com/evilpie/Narcissus-ES5
Closing as Narcissus isn't maintained anymore.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.