Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Teaching ocaml programming
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-09-26 (22:09)
From: Nathaniel Gray <n8gray@g...>
Subject: Re: [Caml-list] Teaching ocaml programming
On Fri, Sep 26, 2008 at 5:10 AM, Brighten Godfrey <> wrote:
> I use, on a daily basis, a small script which acts as a front-end to `make'
> and automatically points you to the error in the code in nedit, highlighting
> the characters that the ocaml compiler complains about.  It uses the
> existing nedit window if you have the file open already, or else opens it
> for you.  The script also works with gcc instead of ocaml, and (though I
> can't vouch for it much) gvim instead of nedit.  So my typical development
> environment consists of nedit and a shell in which I compile via the script.
> If anyone is interested, I'd be happy to share this.

I for one am interested -- that could come in handy!

> I guess the main question would be integrating the toplevel with nedit.  I
> imagine there are a number of ways to do this, depending on your needs.  You
> might be able to put something together using nedit's scripting language, or
> just do something entirely external to the editor.

You won't have any luck integrating the toplevel into nedit.  There's
just no way to do it within the editor as it stands today.  But it's
not *that* hard to run a shell alongside your editor.


>>>-- Nathaniel Gray -- Caltech Computer Science ------>
>>>-- Mojave Project -- -->