caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Re : [Caml-list] OCalDE
@ 2007-07-25 12:30 Matthieu Wipliez
  2007-07-26 16:47 ` Jon Harrop
  0 siblings, 1 reply; 3+ messages in thread
From: Matthieu Wipliez @ 2007-07-25 12:30 UTC (permalink / raw)
  To: caml-list

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

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 

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] OCalDE
  2007-07-25 12:30 Re : [Caml-list] OCalDE Matthieu Wipliez
@ 2007-07-26 16:47 ` Jon Harrop
  2007-07-27  7:18   ` Nicolas Bros
  0 siblings, 1 reply; 3+ messages in thread
From: Jon Harrop @ 2007-07-26 16:47 UTC (permalink / raw)
  To: caml-list

On Wednesday 25 July 2007 13:30:12 Matthieu Wipliez wrote:
> As for developing an IDE from scratch rather than use Eclipse, being given
> the number of features provided by Eclipse,

What exactly does Eclipse provide for IDE developers?

> IMHO it is not only like reinventing the wheel, but more like reinventing
> the car itself... 

And what is rewriting camlp4 in Java like?

-- 
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
OCaml for Scientists
http://www.ffconsultancy.com/products/ocaml_for_scientists/?e


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] OCalDE
  2007-07-26 16:47 ` Jon Harrop
@ 2007-07-27  7:18   ` Nicolas Bros
  0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Bros @ 2007-07-27  7:18 UTC (permalink / raw)
  To: Jon Harrop; +Cc: caml-list

> What exactly does Eclipse provide for IDE developers?

Eclipse provides a gigantic framework for application and plug-in developers.
A lot of features come for free, like:
- Text editors, which support syntax-coloring (with content
partitioning), completion, hyperlinks, code folding, hooking up with
an outline, ...
- Local history, which allow you to restore a previous version of a file
- Content versioning system
- Views, which can be moved, minimized, closed, restored, ...
- A building framework
- A debugging framework
- Progress monitors (which show a progress indicator and allow
interrupting the task)
- Perspectives (a way of organizing views by tasks)
- Preferences, which are automatically saved and restored
- Property pages
- Wizards, for creating new projects, etc.
The list goes on and on...

> And what is rewriting camlp4 in Java like?

There is no need to, camlp4 (like any other command-line tool) can be
called from Eclipse, and its output used in OcaIDE.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-07-27  7:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-25 12:30 Re : [Caml-list] OCalDE Matthieu Wipliez
2007-07-26 16:47 ` Jon Harrop
2007-07-27  7:18   ` Nicolas Bros

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).