I've re-writen a good part of JSCoverage (
http://siliconforks.com/
jscoverage/) in Java using Rhino as the parser instead of
Spidermonkey. The AST addition to Rhino is excellent, but I've found a
few small bugs. (The existing JSCoverage test suite is quite good, and
highlights some differences between Rhino and Spidermonkey).
Is anyone, Rhino committer or other, interested in working with me to
resolve the Rhino AST bugs?
Is anyone interested in working on the Java re-write of JSCoverage (no
public repository as yet)?
Bugs to date are:
684131-AstNode missing operator name "^=" (ASSIGN_BITXOR) - patch
included
686822-ArrayComprehensionLoop.toSource missing each keyword - patch
included
687669-Calling toSource on a parsed script omits any empty expression
- sample attached
688018-Calling toSource on a parsed script containing 'void' throws
exception - sample attached
688021-Calling toSource on a parsed script containing debugger omits
semi-colon - sample attached
688023-Calling toSource on a parsed script containing if without
braces not indented - sample attached
689308-Calling toSource on a parsed script containing array of
undefined elements returns smaller array - sample attached