From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id LAA26829; Fri, 9 Apr 2004 11:08:10 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id LAA24902 for ; Fri, 9 Apr 2004 11:08:09 +0200 (MET DST) Received: from aomori.annexia.org (annexia.force9.co.uk [212.56.101.183]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i39987YM005047 for ; Fri, 9 Apr 2004 11:08:08 +0200 Received: from rich by aomori.annexia.org with local (Exim 3.36 #1 (Debian)) id 1BBrwD-0005Yb-00; Fri, 09 Apr 2004 10:04:37 +0100 Date: Fri, 9 Apr 2004 10:04:37 +0100 To: mohammad siddiqui Cc: caml-list@inria.fr Subject: Re: [Caml-list] help Message-ID: <20040409090436.GA21111@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.5.1+cvs20040105i From: Richard Jones X-Miltered: at concorde by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 2004:99 autoconf:01 automake:01 compiles:01 rpms:01 ltd:98 ocaml:01 ocaml:01 constructs:02 wrote:03 recursive:03 08,:03 gnu:05 functions:05 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk X-Status: X-Keywords: X-UID: 207 On Thu, Apr 08, 2004 at 10:57:26PM +0000, mohammad siddiqui wrote: > I am new to OCAML. I Just started learning. I need to convert the source > code of an applicaton which runs in 4000 lines from C to OCAML. Can anyone > help me how to get started? is there any good online resource which may > help conveting the code? i s there any tool available which does this? > Since it is a functional language, it is rather difficult to replace > constructs like loops with recursive functions and assignments statements > of structured programming language like 'C'. 4,000 lines of C isn't a lot of code. Perhaps it's better to do it by hand rather than looking for an automatic tool? Rich. -- Richard Jones. http://www.annexia.org/ http://www.j-london.com/ Merjis Ltd. http://www.merjis.com/ - improving website return on investment MAKE+ is a sane replacement for GNU autoconf/automake. One script compiles, RPMs, pkgs etc. Linux, BSD, Solaris. http://www.annexia.org/freeware/makeplus/ ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners