Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Jean-Christophe Filliatre <filliatr@lri.fr>
To: "Sussillo, David" <sussillo@ftintl.com>
Cc: "'caml-list@inria.fr'" <caml-list@inria.fr>
Subject: Re: unsigned word type in OCaml?
Date: Sun, 31 Jan 1999 13:20:57 +0100 (MET)	[thread overview]
Message-ID: <14004.19113.478392.452813@ext.lri.fr> (raw)
In-Reply-To: <36B23B0D@smtp.ftintl.com>


> 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)

One year ago, I wrote a small (boxed) 32-bit integers library for
ocaml, which is freely available here :

       http://www.lri.fr/~filliatr/ftp/ocaml/int32/

It provides the standard operations, including bitwise boolean operations.
It is easy to adapt it to unsigned 32-bit integers.

-- 
Jean-Christophe FILLIATRE
  mailto:Jean-Christophe.Filliatre@lri.fr
  http://www.lri.fr/~filliatr




  reply	other threads:[~1999-02-03 10:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-29 22:23 Sussillo, David
1999-01-31 12:20 ` Jean-Christophe Filliatre [this message]
1999-02-01 14:10 ` Xavier Leroy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=14004.19113.478392.452813@ext.lri.fr \
    --to=filliatr@lri.fr \
    --cc=Jean-Christophe.Filliatre@lri.fr \
    --cc=caml-list@inria.fr \
    --cc=sussillo@ftintl.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox