From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id UAA05998 for caml-redistribution; Fri, 29 Jan 1999 20:46:45 +0100 (MET) 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 UAA27543 for ; Fri, 29 Jan 1999 20:26:50 +0100 (MET) Received: from proxy_02.ftintl.com (www.ftintl.com [12.3.88.194]) by nez-perce.inria.fr (8.8.7/8.8.7) with ESMTP id UAA13324 for ; Fri, 29 Jan 1999 20:26:48 +0100 (MET) Received: from gateway.ftintl.com by proxy_02.ftintl.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.0.1457.7) id DWV88AV7; Fri, 29 Jan 1999 14:22:34 -0500 Received: from mail_01.ftintl.com ([192.168.221.43]) by 12.3.88.195 (Norton AntiVirus for Internet Email Gateways 1.0) ; Fri, 29 Jan 1999 19:27:25 0000 (GMT) Received: from 192.168.221.48 by mail_01.ftintl.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.0.1460.8) id DKH9KV1W; Fri, 29 Jan 1999 14:25:48 -0500 Received: by smtp.ftintl.com with Microsoft Mail id <36B23B0D@smtp.ftintl.com>; Fri, 29 Jan 99 14:49:49 PST From: "Sussillo, David" To: "'caml-list@inria.fr'" Subject: unsigned word type in OCaml? Date: Fri, 29 Jan 99 14:23:00 PST Message-ID: <36B23B0D@smtp.ftintl.com> Encoding: 19 TEXT X-Mailer: Microsoft Mail V3.0 Sender: weis Hello, I'm working on a low level systems project, and I'm thinking about using OCaml as the langauge. However, try as I might, I simply cannot find a reference to a machine word type. More specially, I need: a. byte access to machine words b. unsigned 32 bit quantities (e.g. physical address) c. bitwise boolean operations (shifts, not, and & or) Have I missed something either in the mailing list or the documentation? What about (yuk) storing my OCaml words as strings and then passing these strings to C and operating on them there? Wouldn't be great, but maybe a it's a temporary solution. Thanks, dave