In my experience (development of a plug-in using the GEF framework), Eclipse plug-ins are written in Java. However, nothing prevents you to write it in another language that allows C bindings, and make it available as a shared library (.so or .dll); calling functions is then done using JNI (Java - C bindings). Which is possible with OCaml since it allows callbacks from C.

As for developing an IDE from scratch rather than use Eclipse, being given the number of features provided by Eclipse, IMHO it is not only like reinventing the wheel, but more like reinventing the car itself...

----- Message d'origine ----
De : Jon Harrop <jon@ffconsultancy.com>
À : caml-list@yquem.inria.fr
Envoyé le : Mercredi, 25 Juillet 2007, 11h33mn 53s
Objet : Re: [Caml-list] OCalDE

On Wednesday 25 July 2007 08:27:58 Nicolas Bros wrote:
> For now, you can't. OcaIDE uses a custom parser written in Java,
> ...

I was wondering how the Eclipse plug-in was written given that the underlying
infrastructure is written in Java. Would it not be much easier to develop an
IDE in OCaml using something like LablGTK?

--
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
OCaml for Scientists
http://www.ffconsultancy.com/products/ocaml_for_scientists/?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



Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail