caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Ledit 3.10
@ 2007-06-17 16:31 Ralph Douglass
  2007-06-17 16:52 ` [Caml-list] " micha
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ralph Douglass @ 2007-06-17 16:31 UTC (permalink / raw)
  To: Caml List

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

Is there a copy of ledit floating around that compiles under 3.10?  The
latest version I found was 1.13, at http://pauillac.inria.fr/~ddr/ledit/.  I
may just not know where to look.

Thanks,
Ralph

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

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

* Re: [Caml-list] Ledit 3.10
  2007-06-17 16:31 Ledit 3.10 Ralph Douglass
@ 2007-06-17 16:52 ` micha
  2007-06-17 17:40 ` Daniel de Rauglaudre
  2007-06-18 20:34 ` Jon Harrop
  2 siblings, 0 replies; 4+ messages in thread
From: micha @ 2007-06-17 16:52 UTC (permalink / raw)
  To: caml-list

Am Sun, 17 Jun 2007 12:31:55 -0400
schrieb "Ralph Douglass" <ralph@grayskies.net>:

> Is there a copy of ledit floating around that compiles under 3.10?
> The latest version I found was 1.13, at
> http://pauillac.inria.fr/~ddr/ledit/.  I may just not know where to
> look.

you can also try rlwrap, works very well

 Michael


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

* Re: [Caml-list] Ledit 3.10
  2007-06-17 16:31 Ledit 3.10 Ralph Douglass
  2007-06-17 16:52 ` [Caml-list] " micha
@ 2007-06-17 17:40 ` Daniel de Rauglaudre
  2007-06-18 20:34 ` Jon Harrop
  2 siblings, 0 replies; 4+ messages in thread
From: Daniel de Rauglaudre @ 2007-06-17 17:40 UTC (permalink / raw)
  To: Caml List

Hi,

On Sun, Jun 17, 2007 at 12:31:55PM -0400, Ralph Douglass wrote:

> Is there a copy of ledit floating around that compiles under 3.10?  The
> latest version I found was 1.13, at http://pauillac.inria.fr/~ddr/ledit/.  I
> may just not know where to look.

Ledit compiles perfectly with Camlp4s that you can download on my site.

I am sorry, I am not going to port my softwares (GeneWeb, ledit,
mlrogue, olibrt) into the new Camlp4, because I don't agree with the
fundamental choices of that camlp4 (in particular, changes in the
syntax tree, and I disagree the use of some libraries, programs,
programming and compilation technics, interfaces, tools, source
tree).

These choices are too different to be compatible with my point of
view. I would like to cooperate with the OCaml team to improve their
Camlp4, they are nice people but they are taking to what I call
wrong directions. (They know my point of view, I told them.)

I need Camlp4 for GeneWeb, but I did not manage to port it to the new
Camlp4, and it is the main reason why I resurected the version of
Camlp4 I had. These days, I have been preparing a new version with a
new pretty printing system used and documentation pages.

If it is a question of naming, I can rename my Camlp4 into Camlp5 or
whatever, but ledit will not be translated into the Camlp4 distributed
with OCaml.

-- 
Daniel de Rauglaudre
http://pauillac.inria.fr/~ddr/


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

* Re: [Caml-list] Ledit 3.10
  2007-06-17 16:31 Ledit 3.10 Ralph Douglass
  2007-06-17 16:52 ` [Caml-list] " micha
  2007-06-17 17:40 ` Daniel de Rauglaudre
@ 2007-06-18 20:34 ` Jon Harrop
  2 siblings, 0 replies; 4+ messages in thread
From: Jon Harrop @ 2007-06-18 20:34 UTC (permalink / raw)
  To: caml-list

On Sunday 17 June 2007 17:31:55 Ralph Douglass wrote:
> Is there a copy of ledit floating around that compiles under 3.10?  The
> latest version I found was 1.13, at http://pauillac.inria.fr/~ddr/ledit/. 
> I may just not know where to look.

You just need to translate the sources into vanilla OCaml using OCaml 3.09 and 
camlp4 and then it is forwards compatible:

$ mkdir trans
$ camlp4o -I ext pa_s.cmo pr_dump.cmo pr_o.cmo cursor.ml >trans/cursor.ml
$ camlp4o -I ext pa_s.cmo pr_dump.cmo pr_o.cmo ledit.ml >trans/ledit.ml
$ camlp4o -I ext pa_s.cmo pr_dump.cmo pr_o.cmo go.ml >trans/go.ml

Then you can compile the new sources (in ./trans) with OCaml 3.10:

$ cd trans
$ ocamlopt unix.cmxa cursor.ml ledit.ml go.ml -o ledit

Hey presto, new ledit binary. Ah, the beauty of camlp4. :-)

-- 
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] 4+ messages in thread

end of thread, other threads:[~2007-06-18 20:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-17 16:31 Ledit 3.10 Ralph Douglass
2007-06-17 16:52 ` [Caml-list] " micha
2007-06-17 17:40 ` Daniel de Rauglaudre
2007-06-18 20:34 ` Jon Harrop

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