Yes, especially where functions and types are is used.

It is in areas like this modern ide like Visual Studio with Resharper 
really shines.

When I program Ocaml, I use emacs and M-x grep or tags-search for 
finding references to a function. Not really good enough.

For types, we could use .annot files, so greping in the .annot files 
will show where a specific type is used.

However, functions are not included in the .annot files (or I am 
incorrect?).

-- Mattias

Martin Jambon wrote:
> On Tue, 13 Mar 2007, mattiasw wrote:
>
>   
>> Any pointers to xref tools for ocaml? I really would like to be able
>> to create a LXR web site for my rather big ocaml program.
>>
>> Something like lxr, cscobe or silentbob:
>>
>> http://www.linux.com/article.pl?sid=07/03/05/1715201
>>     
>
> Do you mean something that for each occurrence of an identifier tells you 
> where it was defined, and where it is used?
>
> I don't think such a thing exists for OCaml.
> Ocamlbrowser is very useful for finding symbols and exploring source code 
> (I use a script which launches it with many -I options), but it doesn't 
> seem it's what you're looking for.
>
>
> Martin
>
> --
> Martin Jambon
> http://martin.jambon.free.fr
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ocaml-developer" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/ocaml-developer?hl=en
For other OCaml forums, see http://caml.inria.fr/resources/forums.en.html
-~----------~----~----~----~------~----~------~--~---

Reply via email to