From: Berke Durak <berke.durak@exalead.com>
To: Caml-list List <caml-list@inria.fr>
Subject: Announce: Jsure 1.0.1, has online version at jsure.org
Date: Mon, 10 Mar 2008 16:30:26 +0100 [thread overview]
Message-ID: <47D55412.6010803@exalead.com> (raw)
Hello,
We've been maturing our little Javascript verifier, Jsure, and it can now catch things
like bad regular expressions or property names some browsers don't like.
Stéphane Jaïs has just written a web interface for Jsure; you can now use it on-line at
http://jsure.org/ Binaries for Linux (x86, amd64) and Mac are also available.
Of course, Javascript code, being overly dynamic, is notoriously difficult to analyze;
but even basic checks (such as attempts to catch use of undefined variables) combined
with some developer discipline turn out to be useful.
The traditional alternative is Jslint which is very heavy to use (requires Rhino) -
it is written in Javascript itself.
Jsure is fully open-source; to compile it, you need to install Aurochs (http://aurochs.fr/)
which is used as its parsing engine.
Feel free to mail me with you comments or suggestions.
PS. Jsure has some experimental features such as an attempt at type-checking or
an edit-distance based spell checker for identifiers to play with (those are not enabled
by default). However, it seems that the effort that would be required to build a useful
static Javascript verification tool would be better spent on Javascript-targeting
compilers, like ocamljs! But try telling that to your boss :)
--
Berke DURAK
reply other threads:[~2008-03-10 15:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47D55412.6010803@exalead.com \
--to=berke.durak@exalead.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox