caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] [ANN] utop 1.2
@ 2012-07-31  6:03 Jérémie Dimino
  2012-08-05  1:20 ` [Caml-list] " Hongbo Zhang
  0 siblings, 1 reply; 5+ messages in thread
From: Jérémie Dimino @ 2012-07-31  6:03 UTC (permalink / raw)
  To: caml-list

Hi,

The utop team is happy to announce the release of utop 1.2, an
improved toplevel for OCaml. You can download it at this url:

  https://forge.ocamlcore.org/frs/download.php/949/utop-1.2.tar.gz

Important changes are:

* utop now handles parsing/typing/compilation errors itself, this
  means a better highlighting and more importantly that errors are
  emphasized in the emacs mode. The style of errors can be controlled
  via the face "utop-error" in emacs and with the "error" resource of
  ~/.utoprc in the terminal.

* a "Lwt_main.run" is automatically inserted for toplevel expressions
  of type "_ Lwt.t". For example, with the classic toplevel:

  # Lwt_io.printf "Hello, world!\n";;
  - : unit Lwt.t = <abstract>

  and with the new utop:

  # Lwt_io.printf "Hello, world!\n";;
  - : unit = ()

  This behavior can be disabled with "UTop.set_auto_run_lwt false".

* many emacs mode fixes and improvements. It is now possible to
  complete a phrase in a tuareg/typerex buffer using the toplevel
  environment. You have to bind the function "utop-edit-complete" to a
  key for this feature to work, it is unbound by default.

Here is the complete changelog:

  * ocaml 4.00 compatibility
  * prevent findlib from being initialized twice
  * better highlighting of errors
  * automatically insert Lwt_main.run for
    toplevel expressions of type 'a Lwt.t
  * better camlp4 support
    ** parse quotations and antiquotations to
       handle completion inside them
    ** better support revised syntax
  * emacs mode improvements
    ** various fixes
    ** highlight errors
    ** add a menu
    ** add interactive list of findlib packages
    ** packages can be pre-loaded via the file variable
       "utop-package-list"
    ** better tuareg integration
    ** typerex integration
    ** allow to complete using the toplevel environment
       in a tuareg buffer
    ** allow to change the utop command
    ** use the same history as the terminal mode
    ** follow output of ocaml

Enjoy!

-- 
Jérémie

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-08-05 12:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-31  6:03 [Caml-list] [ANN] utop 1.2 Jérémie Dimino
2012-08-05  1:20 ` [Caml-list] " Hongbo Zhang
2012-08-05  2:47   ` Edgar Friendly
2012-08-05  9:25     ` Hongbo Zhang
2012-08-05 12:45   ` Daniel Bünzli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).