From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 83117BB84 for ; Thu, 9 Oct 2008 23:41:43 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai0DAEsX7kjAXQIniGdsb2JhbACBcpFnAQEBFSKrZoFq X-IronPort-AV: E=Sophos;i="4.33,385,1220220000"; d="scan'208";a="15862351" Received: from concorde.inria.fr ([192.93.2.39]) by mail2-smtp-roc.national.inria.fr with ESMTP; 09 Oct 2008 23:41:43 +0200 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id m99LfhhH001547 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Thu, 9 Oct 2008 23:41:43 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsgCAA8X7khDWxLCYGdsb2JhbACBcpFdHiqrZ4Fq X-IronPort-AV: E=Sophos;i="4.33,385,1220220000"; d="scan'208";a="18485812" Received: from ip67-91-18-194.z18-91-67.customer.algx.net (HELO server1.bertec.net) ([67.91.18.194]) by mail1-smtp-roc.national.inria.fr with ESMTP; 09 Oct 2008 23:41:42 +0200 Received: from kuba.bertec.net (kuba.bertec.net [192.168.2.16]) by server1.bertec.net (Postfix) with ESMTP id C6D1B105761; Thu, 9 Oct 2008 17:41:41 -0400 (EDT) From: Kuba Ober To: caml-list@inria.fr Subject: Re: [Caml-list] Teaching ocaml programming Date: Thu, 9 Oct 2008 17:41:39 -0400 User-Agent: KMail/1.9.10 References: <48DCC7B8.4070700@fmf.uni-lj.si> In-Reply-To: <48DCC7B8.4070700@fmf.uni-lj.si> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810091741.40794.kuba@mareimbrium.org> X-Miltered: at concorde with ID 48EE7A97.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 andrej:01 ocaml:01 cygwin:01 toplevel:01 toplevel:01 emacs:01 syntax:01 mingw:01 pointer:01 cygwin:01 cheers:01 wrote:01 experimental:01 caml-list:01 On Friday 26 September 2008, Andrej Bauer wrote: > Once again I am teaching a course on theory of programming languages in > which we will use ocaml to implement mini-languages. And once again I > face the question: which programming environment should we use? > > I have so far tried to use (under Windows) > 1. cygwin + ocaml + XEmacs > 2. Eclipse + OcaIDE > > The second solution worked better than the first, for the simple reason > that XEmacs is a complete mystery to students. They really, really hate > it. But even with the second soltion we had a lot of trouble, because > Eclipse is really complicated, and OcaIDE is sort of experimental and > not so good under Windows, so the whole setup was confusing and fragile. > > The requirements are very simple: > 1. easy access to toplevel (with line-editing) > 2. editor which can send stuff to toplevel, points to errors in source > code, and is not Emacs. I've been reading through this thread and it all seems like a 300-liner in Qt/C++ (yes, it's that powerful) (excluding syntax definition for Qt's editor widget, if one doesn't exist somewhere for grabs). Is there a non-Cygwin (mingw?) version of Ocaml for Windows that's "good enough" for you? If so, I will tackle it over the weekend. My numerical methods prof was looking for something like that too. Just give me a pointer to a non-Cygwin version of Ocaml that works for you; I refuse to deal with anything that has "Cygwin" in it :) Cheers, Kuba