Closed Bug 583592 Opened 14 years ago Closed 14 years ago

Narcissus ?: parsing problem

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: brendan, Unassigned)

References

()

Details

See URL. Shu, can you take this bug? Thanks,

/be
This is fixed in TM tip. I can't seem to assign or close this bug though.
Sorry if this is well known, but may I ask you what do you mean by TM tip? Tracemonkey tip? Thanks.
Yes, exactly.
And where can I find it? Is it a branch or fork or... Thx.
You can do:

> hg  clone http://hg.mozilla.org/tracemonkey/

Narcissus is to be found in tracemonkey/js/narcissus
http://hg.mozilla.org/tracemonkey/rev/1c7d7b849b21
Whiteboard: fixed-in-tracemonkey
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Whiteboard: fixed-in-tracemonkey
Tracemonkey is the JavaScript development branch. It is merged into mozilla-central on a regular basis.
Wow, pretty huge rewrite. Basically means that I will redo my port to Python under:
http://github.com/unify/jstools

May I ask you whether you plan further major changes to the parser?
Sebastian, Shu is working on an SSA analysis for Narcissus. The parser refactoring is mostly done. We will add another building (SSABuilder), but most of the existing code should be stable now.
This bug is fixed, but it is certainly not a dup of bug 579230 "Builder pattern refactor of the narcissus parser." It's a dependent bug, s'all.

/be
Status: RESOLVED → REOPENED
Depends on: 579230
Resolution: DUPLICATE → ---
Fixed by Shu's recursive descent rewrite for bug 579230.

/be
Status: REOPENED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → FIXED
Sebastian, thanks for tweeting about the old ?: bug. Regarding future changes, as Andreas notes the recursive descent parser is pretty stable for the language that it parses -- it is based on SpiderMonkey's parser. However there are more changes to look out for in the future, which will be based on the

http://wiki.ecmascript.org/doku.php?id=harmony:proposals and
http://wiki.ecmascript.org/doku.php?id=strawman:strawman

proposals.

/be
You need to log in before you can comment on or make changes to this bug.