English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
How to refactor a large Ocaml program
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-12-13 (14:12)
From: Jon Harrop <jon@f...>
Subject: Re: [Caml-list] How to refactor a large Ocaml program
On Wednesday 13 December 2006 14:00, Yann Coscoy wrote:
> And if these tools do not exists it is not because nobody need nor want
> them. It is because it requires a huge effort to have good ones. And
> nobody has done is effort yet.

I don't think it would be a huge effort to write refactoring tools for OCaml. 
Indeed, I've propose this idea for F#. The hard part is writing the lexer and 
parser, which is already found in the front end of the compiler (albeit 
without parsing of comments). Then you're just rewriting an AST, which is a 
piece of cake in ML. :-)

Dr Jon D Harrop, Flying Frog Consultancy Ltd.
Objective CAML for Scientists