Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] int32/int64 literals in next release?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-11-15 (05:32)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] int32/int64 literals in next release?

On Thu, Nov 14, 2002 at 04:14:52PM -0800, Shawn Wagner wrote:

> Anyways, I /think/ I can get camlp4 at least compiled, if I can figure out
> where the constraints in an <:expr< > pattern are checked, and then how to
> add more. Trying to make it recognize $int32:_$ and the like.

For that, it should be necessary to be able to represent these constants
in the syntax tree, what seems not to be implemented in the ocaml compiler.

For the <:expr< >>: they are evaluated at compile time. But, indeed,
if the contents is a function call, it generates a function call which
is of course applied at run time, which is not satisfactory if you want
to speak of "a constant".

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: