Release of version 0.4 of the ULTRA type error slicer for SML

rahli vincent <[email protected]> Fri, 13 Nov 2009 19:27:00 +0000
Newsgroups gmane.comp.lang.sml.smlnj
Message-ID <[email protected]>
--===============3910852575572972844==
Content-Type: multipart/alternative; boundary=000e0cdfdb1edd4f45047845a41c

--000e0cdfdb1edd4f45047845a41c
Content-Type: text/plain; charset=ISO-8859-1

We are happy to announce the release of the version 0.4 of our type
error slicing software for the SML programming language.

Major improvements over the previous release:
  * Overloaded operators can now be specified.
  * Special comments can now inform the type error slicer about
    identifiers in the top-level environment with their
    types/signatures.  (This allows handling things like "use" and
    "CM.autoload" and working around the fact that we do not yet
    support "open".)
  * We provide a larger basis including more of the standard SML basis
    and some SML/NJ-specific declarations.
  * We fixed many cases where the Emacs interface failed silently.

Other less important changes/improvements are:
  * We improved the error slices for record clashes.
  * We improved the pretty printing of error slices.
  * We improved the highlighting of white spaces.
  * We improved our error slice minimisation algorithm.
  * We improved the communication between our type error slicer and
    its Emacs interface.
  * We provide new error messages on status clashes (for example
    between an exception constructor and a datatype constructor).
  * Our test case database is much bigger, so there are fewer problems
    in general.
  * And we solved many bugs.

Even more changes are documented in the ChangeLog file.

The aim of our type error slicer is to provide useful type error
reports for pieces of code written in SML:
  * It identifies all of the program points that contribute to a type
    error, including the spot with the actual programming error that
    caused the type error.
  * It highlights these program points in the original, unchanged
    source code.
  * It avoids showing internal details of the operation of the type
    inference machinery.

A new compiled package of our type error slicer can be found at this URL:

  http://www2.macs.hw.ac.uk/~rahli/cgi-bin/slicer/downloads.html

Known limitations:
  * We have not yet built the software for other operating systems
    than Linux.
  * The only currently supported user interface is via GNU Emacs (or
    our web demo).
  * Some features of the SML language are not parsed (the user will be
    notified if this is the case), and some type errors are not yet
    discovered (the user will need to rely on their usual type checker
    in these cases).  Notable spots where the implementation is
    incomplete are functors (you can work around this by including
    signatures on functor applications), equality types, and fixity
    declarations.
  * We don't yet handle overloaded constants (for example 1 is always
    of type int).
  * The details of the SML basis library are incomplete (fortunately
    the user can add any additional details they are using).
  * The software does not currently scale well to very large programs
    (we are still improving this).  It is currently suitable for small
    programs and use in teaching.
  * We have some known issues with context dependencies on long
    identifiers which yields wrong error reports.

Best wishes,

Vincent Rahli and Joe Wells

--000e0cdfdb1edd4f45047845a41c
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

We are happy to announce the release of the version 0.4 of our type<br>erro=
r slicing software for the SML programming language.<br><br>Major improveme=
nts over the previous release:<br>=A0 * Overloaded operators can now be spe=
cified.<br>
=A0 * Special comments can now inform the type error slicer about<br>=A0=A0=
=A0 identifiers in the top-level environment with their<br>=A0=A0=A0 types/=
signatures.=A0 (This allows handling things like &quot;use&quot; and<br>=A0=
=A0=A0 &quot;CM.autoload&quot; and working around the fact that we do not y=
et<br>
=A0=A0=A0 support &quot;open&quot;.)<br>=A0 * We provide a larger basis inc=
luding more of the standard SML basis<br>=A0=A0=A0 and some SML/NJ-specific=
 declarations.<br>=A0 * We fixed many cases where the Emacs interface faile=
d silently.<br>
<br>Other less important changes/improvements are:<br>=A0 * We improved the=
 error slices for record clashes.<br>=A0 * We improved the pretty printing =
of error slices.<br>=A0 * We improved the highlighting of white spaces.<br>=
=A0 * We improved our error slice minimisation algorithm.<br>
=A0 * We improved the communication between our type error slicer and<br>=
=A0=A0=A0 its Emacs interface.<br>=A0 * We provide new error messages on st=
atus clashes (for example<br>=A0=A0=A0 between an exception constructor and=
 a datatype constructor).<br>
=A0 * Our test case database is much bigger, so there are fewer problems<br=
>=A0=A0=A0 in general.<br>=A0 * And we solved many bugs.<br><br>Even more c=
hanges are documented in the ChangeLog file.<br><br>The aim of our type err=
or slicer is to provide useful type error<br>
reports for pieces of code written in SML:<br>=A0 * It identifies all of th=
e program points that contribute to a type<br>=A0=A0=A0 error, including th=
e spot with the actual programming error that<br>=A0=A0=A0 caused the type =
error.<br>
=A0 * It highlights these program points in the original, unchanged<br>=A0=
=A0=A0 source code.<br>=A0 * It avoids showing internal details of the oper=
ation of the type<br>=A0=A0=A0 inference machinery.<br><br>A new compiled p=
ackage of our type error slicer can be found at this URL:<br>
<br>=A0 <a href=3D"http://www2.macs.hw.ac.uk/~rahli/cgi-bin/slicer/download=
s.html">http://www2.macs.hw.ac.uk/~rahli/cgi-bin/slicer/downloads.html</a><=
br><br>Known limitations:<br>=A0 * We have not yet built the software for o=
ther operating systems<br>
=A0=A0=A0 than Linux.<br>=A0 * The only currently supported user interface =
is via GNU Emacs (or<br>=A0=A0=A0 our web demo).<br>=A0 * Some features of =
the SML language are not parsed (the user will be<br>=A0=A0=A0 notified if =
this is the case), and some type errors are not yet<br>
=A0=A0=A0 discovered (the user will need to rely on their usual type checke=
r<br>=A0=A0=A0 in these cases).=A0 Notable spots where the implementation i=
s<br>=A0=A0=A0 incomplete are functors (you can work around this by includi=
ng<br>=A0=A0=A0 signatures on functor applications), equality types, and fi=
xity<br>
=A0=A0=A0 declarations.<br>=A0 * We don&#39;t yet handle overloaded constan=
ts (for example 1 is always<br>=A0=A0=A0 of type int).<br>=A0 * The details=
 of the SML basis library are incomplete (fortunately<br>=A0=A0=A0 the user=
 can add any additional details they are using).<br>
=A0 * The software does not currently scale well to very large programs<br>=
=A0=A0=A0 (we are still improving this).=A0 It is currently suitable for sm=
all<br>=A0=A0=A0 programs and use in teaching.<br>=A0 * We have some known =
issues with context dependencies on long<br>
=A0=A0=A0 identifiers which yields wrong error reports.<br><br>Best wishes,=
<br><br>Vincent Rahli and Joe Wells<br>

--000e0cdfdb1edd4f45047845a41c--


--===============3910852575572972844==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--===============3910852575572972844==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Smlnj-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/smlnj-list

--===============3910852575572972844==--