Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
[ANN] OCamlSpotter: OCaml compiler extension for source browsing
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jun Furuse  
View profile  
 More options Sep 8 2008, 7:24 am
Newsgroups: fa.caml
From: "Jun Furuse" <jun.fur...@gmail.com>
Date: Mon, 08 Sep 2008 11:24:28 UTC
Local: Mon, Sep 8 2008 7:24 am
Subject: [Caml-list] [ANN] OCamlSpotter: OCaml compiler extension for source browsing
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.

It is still in a beta version quality, but it is already very useful
to browse very complex ocaml project trees.

The source is available as a diff against a cvs version of OCaml compiler at:

http://www.furuse.info/jun/hacks/ocamlspotter/

Comments and suggestions are welcome.

Regards,
Jun FURUSE

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jon Harrop  
View profile  
 More options Sep 8 2008, 9:29 am
Newsgroups: fa.caml
From: Jon Harrop <jonathandeanhar...@googlemail.com>
Date: Mon, 08 Sep 2008 13:29:28 UTC
Local: Mon, Sep 8 2008 9:29 am
Subject: Re: [Caml-list] [ANN] OCamlSpotter: OCaml compiler extension for source browsing
On Monday 08 September 2008 12:24:02 Jun Furuse wrote:

Brilliant idea!

Throwback should also include the ocamldoc comment for the original definition
and, as Yann Le Du recently suggested for F#, typeset LaTeX. :-)

--
Dr Jon Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/?e

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathaniel Gray  
View profile  
 More options Sep 9 2008, 1:18 am
Newsgroups: fa.caml
From: "Nathaniel Gray" <n8g...@gmail.com>
Date: Tue, 09 Sep 2008 05:18:11 UTC
Local: Tues, Sep 9 2008 1:18 am
Subject: Re: [Caml-list] [ANN] OCamlSpotter: OCaml compiler extension for source browsing

On Mon, Sep 8, 2008 at 4:24 AM, Jun Furuse <jun.fur...@gmail.com> 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 -- http://mojave.cs.caltech.edu -->

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jun Furuse  
View profile  
 More options Sep 9 2008, 6:09 am
Newsgroups: fa.caml
From: "Jun Furuse" <jun.fur...@gmail.com>
Date: Tue, 09 Sep 2008 10:09:13 UTC
Local: Tues, Sep 9 2008 6:09 am
Subject: Re: [Caml-list] [ANN] OCamlSpotter: OCaml compiler extension for source browsing
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.

Cheers,
Jun

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Xavier Leroy  
View profile  
 More options Sep 18 2008, 1:02 pm
Newsgroups: fa.caml
From: Xavier Leroy <Xavier.Le...@inria.fr>
Date: Thu, 18 Sep 2008 17:02:38 UTC
Local: Thurs, Sep 18 2008 1:02 pm
Subject: Re: [Caml-list] [ANN] OCamlSpotter: OCaml compiler extension for source browsing

>> 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.
>From what I've heard, there's also an OCaml summer of code project

that enriched the info found in .annot files.  So, it's certainly time
to discuss extensions to .annot files, but let's do that globally, not
one at a time.  It is probably too late for inclusion in 3.11, but as
long as these extensions are backward compatible, inclusion in bugfix
releases can be considered.

- Xavier Leroy

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google