From: Soutaro Matsumoto <matsumoto@soutaro.com>
To: Emmanuel Dieul <emmanuel.dieul@free.fr>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] ODT: a *new* OCaml IDE integrated into Eclipse
Date: Wed, 16 May 2007 18:33:22 +0900 [thread overview]
Message-ID: <464ACFE2.3050000@soutaro.com> (raw)
In-Reply-To: <464A1927.3010801@free.fr>
Hi,
> By the way, I already have a parser for ml and mli files,
> based on the ocamlc -dparsetree option.
I think the -dparsetree output is not enought for refactoring purpose.
It may produces same output for these three programs.
let f x = x+1
let f = fun x -> x+1
let f = function x -> x+1
Since I would like to use a syntax tree formatter to produce the result
of refactoring, the parser and AST should distinguish these three
programs. (I'm not sure that how existing refactoring editors work. Does
anyone have any ideas?)
# Of course, the output of -dparsetree is enough for outline-view.
--
Soutaro Matsumoto
prev parent reply other threads:[~2007-05-16 9:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-11 17:18 Emmanuel Dieul
2007-05-11 18:50 ` [Caml-list] " Dmitry Bely
2007-05-11 19:23 ` Emmanuel Dieul
2007-05-11 21:13 ` Dmitry Bely
2007-05-14 13:51 ` Soutaro Matsumoto
2007-05-15 20:33 ` Emmanuel Dieul
2007-05-16 9:33 ` Soutaro Matsumoto [this message]
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=464ACFE2.3050000@soutaro.com \
--to=matsumoto@soutaro.com \
--cc=caml-list@yquem.inria.fr \
--cc=emmanuel.dieul@free.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