From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 4046BBC84 for ; Tue, 12 Apr 2005 19:19:29 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j3CHJSkI002013 for ; Tue, 12 Apr 2005 19:19:28 +0200 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA15271 for ; Tue, 12 Apr 2005 19:19:28 +0200 (MET DST) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.85]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j3CHJRGw003301 for ; Tue, 12 Apr 2005 19:19:28 +0200 Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (Xserve/8.12.11/smtpout03/MantshX 4.0) with ESMTP id j3CHJQwa027128; Tue, 12 Apr 2005 10:19:26 -0700 (PDT) Received: from [192.168.0.100] (dsl092-032-215.lax1.dsl.speakeasy.net [66.92.32.215]) (authenticated bits=0) by mac.com (Xserve/smtpin08/MantshX 4.0) with ESMTP id j3CHJOig003049; Tue, 12 Apr 2005 10:19:25 -0700 (PDT) In-Reply-To: <20050411125705.GB14415@localhost> References: <20050411074619.GA26797@pegasos> <20050411125705.GB14415@localhost> Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <64f8951e297157fb704cfee8b9ceeef3@mac.com> Content-Transfer-Encoding: 7bit Cc: caml-list@inria.fr From: Paul Snively Subject: Re: [Caml-list] ocaml, int32/64, bigarray and unsigned values ... Date: Tue, 12 Apr 2005 10:19:18 -0700 To: Eric Cooper X-Mailer: Apple Mail (2.619.2) X-Miltered: at concorde with ID 425C0320.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 425C031F.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocaml:01 bigarray:01 ocaml:01 parsing:01 parsing:01 binary:01 binary:01 caml-list:01 beginner's:01 beginners:01 bug:01 ...:98 wrote:01 structures:01 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: On Apr 11, 2005, at 5:57 AM, Eric Cooper wrote: > It would be very cool to have such a "hard core" utility as a > disk partition editor in OCaml! > Let me ditto this: a lot of people are falling all over the new book, "Practical Common Lisp," because it talks about things like parsing ID3 tags from MP3 files, and so talks about the general process of parsing binary files in Common Lisp. What you're trying to do is very similar, and in fact I'd love to see a "general module" for defining, reading, and writing C/C++-style structures to/from binary files. parted sounds like a great example of that kind of work. Thanks for digging into it! > -- > Eric Cooper e c c @ c m u . e d u > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > Best regards, Paul Snively