Fwd: Throwing errors on mutating immutable bindings

Isiah Meadows impinball at gmail.com
Mon Oct 6 00:02:53 PDT 2014


CC the list... :(


---------- Forwarded message ----------
From: Isiah Meadows <impinball at gmail.com>
Date: Mon, Oct 6, 2014 at 2:19 AM
Subject: Re: Throwing errors on mutating immutable bindings
To: Till Schneidereit <till at tillschneidereit.net>


Thank you. I was looking for something I could benchmark in native
code, but this works. It shouldn't be hard to test side by side. I'll
get back with my results.

On Sun, Oct 5, 2014 at 7:32 PM, Till Schneidereit
<till at tillschneidereit.net> wrote:
> On Sun, Oct 5, 2014 at 7:24 AM, Isiah Meadows <impinball at gmail.com> wrote:
>>
>> If I can find a native parser (that only parses), I would run benchmarks.
>> Shouldn't take that long to time a few rounds of parsing a large library
>> like jQuery or React. I would be more than willing to accept pointers on
>> where to find one.
>
> The SpiderMonkey shell lets you do both syntax parsing - the fast initial
> parse we do to detect static errors, and full parsing; both using the same
> parser Firefox uses. You can download the latest version here:
> http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/
>
> Or, for non-dev build versions, check one directory up.
>
> The shell has a `parse` function for full parsing and a `parseSyntax` for,
> well, syntax parsing. More information available using `help()`.
>
>
> hth,
> till
>



--
Isiah Meadows


-- 
Isiah Meadows


More information about the es-discuss mailing list