Re: [Caml-list] [ANN] OCamlSpotter: OCaml compiler extension for source browsing, version 1.0

2008-12-26 Thread Jun Furuse
Hi, On Fri, Dec 26, 2008 at 8:15 PM, David Allsopp dra-n...@metastack.com wrote: This sounds really cool - but is it really necessary to patch OCaml 3.11.0 to achieve it? The .annot files produced by OCaml 3.11 give external reference information already... e.g. [Test.ml] open List;;

RE: [Caml-list] [ANN] OCamlSpotter: OCaml compiler extension for source browsing, version 1.0

2008-12-26 Thread David Allsopp
Jun Furuse wrote: snip Sorry, but I do not think so: include List let g = length ocamlc 3.11.0 with -annot never informs about length, included from List. This is why a compiler patch is required at least for version 3.11.0. This is a bug and should be reported in Mantis -

[Caml-list] [ANN] OCamlSpotter: OCaml compiler extension for source browsing, version 1.0

2008-12-25 Thread Jun Furuse
Hi, OCaml programmers, Here is your free holiday gift, OCamlSpotter version 1.0, a small patch for OCaml 3.11.0. OCamlSpotter : OCaml source browsing Camel spotter: Oh, it was extremely interesting, very, very - quite... it was dull; dull, dull, dull,

Re: [Caml-list] [ANN] OCamlSpotter: OCaml compiler extension for source browsing

2008-09-18 Thread Xavier Leroy
I have written a small compiler patch called ocamlspotter. It extends -annot option and records all the variable definition locations, so that we can jump from variable uses to their definitions easily from editors such as emacs. You have completely blown my mind. I was thinking about this

Re: [Caml-list] [ANN] OCamlSpotter: OCaml compiler extension for source browsing

2008-09-09 Thread Jun Furuse
Hi, Of course, I've already expressed my hope of incorporating it into the official compiler to the dev team. But I think it is not the right moment. I am sure it has some bugs and many things to be improved. Hopefully in future, when things become more stable and if the dev team is convinced.

Re: [Caml-list] [ANN] OCamlSpotter: OCaml compiler extension for source browsing

2008-09-08 Thread Jon Harrop
On Monday 08 September 2008 12:24:02 Jun Furuse wrote: Hi, I have written a small compiler patch called ocamlspotter. It extends -annot option and records all the variable definition locations, so that we can jump from variable uses to their definitions easily from editors such as emacs.

Re: [Caml-list] [ANN] OCamlSpotter: OCaml compiler extension for source browsing

2008-09-08 Thread Stefano Zacchiroli
On Mon, Sep 08, 2008 at 08:24:02PM +0900, Jun Furuse wrote: The source is available as a diff against a cvs version of OCaml compiler at: Why not a wish list bug report against OCaml itself? :-) Very cool, thanks! -- Stefano Zacchiroli -*- PhD in Computer Science \ PostDoc @ Univ. Paris 7

Re: [Caml-list] [ANN] OCamlSpotter: OCaml compiler extension for source browsing

2008-09-08 Thread Nathaniel Gray
On Mon, Sep 8, 2008 at 4:24 AM, Jun Furuse [EMAIL PROTECTED] wrote: Hi, I have written a small compiler patch called ocamlspotter. It extends -annot option and records all the variable definition locations, so that we can jump from variable uses to their definitions easily from editors such