[m-dev.] IL standard library problems

Julien Fischer juliensf at csse.unimelb.edu.au
Wed Nov 7 16:42:15 AEDT 2007




On Wed, 7 Nov 2007, Jonathan Morgan wrote:

> I have been trying to build the standard library in the IL grade
> again.  A few problems that I found:
>
> 1. There was a warning that variables weren't referenced for io.do_make_temp/3.

A warning from what?  mmc, gcc ...?

> 2. Building the new pretty printer fails, because IL does not support
> mutable variables.  Is it necessary to support the new pretty printer
> for anything?

The debugger uses it, but that doesn't work with the IL backend anyway.

> 3. There is no foreign type for region_builtin.region/0.  I would have
> thought that this should not be a problem, since region_builtin should
> never be imported unless RBMM is in use (I suppose the library module
> may have to be compiled anyway).

The module needs to compile.  It should be sufficient to add a Mercury
definition for the non-C backends though, e.g. :- type region ---> region.

Julien.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at csse.unimelb.edu.au
Administrative Queries: owner-mercury-developers at csse.unimelb.edu.au
Subscriptions:          mercury-developers-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the developers mailing list