caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Rafael <unfalkster@gmail.com>
To: "Christophe Raffalli" <christophe.raffalli@univ-savoie.fr>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] OcaIDE: a new Eclipse plug-in for O'Caml
Date: Thu, 19 Jul 2007 14:43:21 +0200	[thread overview]
Message-ID: <710e3f920707190543p9a21182qdaf6c75c9519f3b6@mail.gmail.com> (raw)
In-Reply-To: <469F5A8B.3030807@univ-savoie.fr>

[-- Attachment #1: Type: text/plain, Size: 2401 bytes --]

On 7/19/07, Christophe Raffalli <christophe.raffalli@univ-savoie.fr> wrote:
>
>
> >
> > Yes exactly, let definition with very small name and/or very
> > small scope do not need to be displayed in the outline.
> >
>
> In fact, and because we dont know what we want yet, the best would be to
> have
>
> - a minimum length (in char) for indentifier
> - a minimum length (in line) for scope size
> - and a choice between and and or
>
> Then you could say: I display an identifier if its length >= 3 and its
> scope size >= 30
>
> Or you could say I display an identifier if its length >= 10000 or its
> scope size >= 30
> (which means that the length is useless)
>
> The only question is whether OCalIDE can compute the scop size of an ident
> ?


Yes it would be a good idea. I think it could be done, but I'm not sure,
so we will have to wait until the person who writes the parser for the code
(Nicolas) came back. An AST (Abstract Syntax Tree) is build to represent the
code, then I guess we could find the scope of a definition...
Regards,

Rafael

>> Regards,
> >>
> >>
> >>
> ------------------------------------------------------------------------
> >>
> >> _______________________________________________
> >> 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
> >
>
> --
> Christophe Raffalli
> Université de Savoie
> Batiment Le Chablais, bureau 21
> 73376 Le Bourget-du-Lac Cedex
>
> tél: (33) 4 79 75 81 03
> fax: (33) 4 79 75 87 42
> mail: Christophe.Raffalli@univ-savoie.fr
> www: http://www.lama.univ-savoie.fr/~RAFFALLI
> ---------------------------------------------
> IMPORTANT: this mail is signed using PGP/MIME
> At least Enigmail/Mozilla, mutt or evolution
> can check this signature. The public key is
> stored on www.keyserver.net
> ---------------------------------------------
>
> _______________________________________________
> 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
>

[-- Attachment #2: Type: text/html, Size: 3581 bytes --]

  reply	other threads:[~2007-07-19 12:43 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-13 20:17 Nicolas Bros
2007-07-14  6:24 ` [Caml-list] " Vu Ngoc San
2007-07-14  7:48   ` Luca Pascali
2007-07-14  8:13     ` Nicolas Bros
2007-07-14 15:36       ` David Allsopp
2007-07-14 15:46         ` Luca Pascali
2007-07-14 15:47         ` Nicolas Bros
2007-07-14 15:52           ` David Allsopp
2007-07-14  8:18   ` Nicolas Bros
2007-07-14 17:36     ` Gabriel Kerneis
2007-07-14 17:43       ` Nicolas Bros
2007-07-14 15:54 ` Gabriel Kerneis
2007-07-14 16:19   ` Nicolas Bros
2007-07-19  0:19   ` Grégory Guyomarc'h
2007-07-19  7:09     ` Rafael
2007-07-19  9:39 ` Christophe Raffalli
2007-07-19  9:51   ` Rafael
2007-07-19 10:00     ` Gabriel Kerneis
2007-07-19 10:09       ` Rafael
2007-07-19 11:55       ` Christophe Raffalli
2007-07-19 12:35         ` Christophe Raffalli
2007-07-19 12:43           ` Rafael [this message]
2007-07-19 10:02   ` Hugo Ferreira
2007-07-19 12:00     ` Christophe Raffalli
2007-07-23  7:43 Jon Harrop
2007-07-23  8:14 ` [Caml-list] " Christophe Raffalli
2007-07-23  8:36   ` Jon Harrop
2007-07-31  8:17 ` Roland Kaufmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=710e3f920707190543p9a21182qdaf6c75c9519f3b6@mail.gmail.com \
    --to=unfalkster@gmail.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=christophe.raffalli@univ-savoie.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).