Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[ANN] OCamlSpotter: OCaml compiler extension for source browsing
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-09-09 (10:09)
From: Jun Furuse <jun.furuse@g...>
Subject: Re: [Caml-list] [ANN] OCamlSpotter: OCaml compiler extension for source browsing

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.


On Tue, Sep 9, 2008 at 2:17 PM, Nathaniel Gray <> wrote:
> On Mon, Sep 8, 2008 at 4:24 AM, 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.
> You have completely blown my mind.  I was thinking about this very
> idea about 10 minutes ago in my car, and *blam* there it is.  I should
> think about some other, more profitable ideas...
> I would suggest submitting this as a patch for inclusion.  I've heard
> there are going to be enhancements to the .annot format in 3.11 so
> it's not unprecedented.
> Cheers,
> -n8
> --
>>>>-- Nathaniel Gray -- Caltech Computer Science ------>
>>>>-- Mojave Project -- -->