Also, check out the original Narcissus: http://mxr.mozilla.org/mozilla/source/js/narcissus/
Perhaps I'll post a few interesting line by line comparisons, but in the interim time, jsparser.py is equivalent in function (and indeed incredibly similar at the source level) to Narcissus' jsdefs.js and jsparse.js. You'll have to blame Brendan Eich if you're unhappy with the overall structure and design.
New: Check out pyjon!
As of 2009-02-19, PyNarcissus has been engineered such that
in Python is identical to
There are a few differences in output, as Python handles both floating point precision and non-ascii characters slightly differently.