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 UAA27422; Fri, 16 Apr 2004 20:04:31 +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 UAA27327 for ; Fri, 16 Apr 2004 20:04:30 +0200 (MET DST) Received: from hotmail.com (bay7-f51.bay7.hotmail.com [64.4.11.51]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i3GI4SYM020536 for ; Fri, 16 Apr 2004 20:04:29 +0200 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 16 Apr 2004 11:04:27 -0700 Received: from 66.141.17.195 by by7fd.bay7.hotmail.msn.com with HTTP; Fri, 16 Apr 2004 18:04:27 GMT X-Originating-IP: [66.141.17.195] X-Originating-Email: [writetosafi@hotmail.com] X-Sender: writetosafi@hotmail.com From: "mohammad siddiqui" To: rich@annexia.org Cc: caml-list@inria.fr Subject: Re: [Caml-list] help Date: Fri, 16 Apr 2004 18:04:27 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 16 Apr 2004 18:04:27.0754 (UTC) FILETIME=[4222D4A0:01C423DD] 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 pointers:01 isspace:01 caml-list:01 2004:99 2004:99 autoconf:01 automake:01 compiles:01 rpms:01 bug:01 faq:01 faq:01 beginner's:01 beginners:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, I started the conversion project after completely getting hold of ocaml but I still have some concerns like how we can manage pinters and pointer to pointers, some functions in C like exit(), isspace(). The project is to convert a tool used in text classification from C to Coaml. Thanks, Mohammad S Siddiqui >From: Richard Jones >To: mohammad siddiqui >CC: caml-list@inria.fr >Subject: Re: [Caml-list] help >Date: Fri, 9 Apr 2004 10:04:37 +0100 > >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 _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar – get it now! http://toolbar.msn.com/go/onm00200415ave/direct/01/ ------------------- 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