[m-rev.] [dotnet-foreign] diff: use System.Array for mercury arrays

Tyson Dowd trd at cs.mu.OZ.AU
Wed Aug 1 21:39:29 AEST 2001


I don't think this is quite the right approach, but I'm going to think
about it some more.

On 01-Aug-2001, Peter Ross <peter.ross at miscrit.be> wrote:
> Hi,
> 
> 
> ===================================================================
> 
> 
> Estimated hours taken: 2
> Branches: dotnet-foreign
> 
> A change to allow the IL backend represent the mercury type array(T) by
> System.Array.
> 
> mlds.m:
>     Add a new field to mercury_type which records whether or not the
>     type is an array type.  If it is an array type we calculate what the
>     element type is as an mlds type.
>     
> mlds_to_il.m:
>     Use System.Array to represent mercury arrays.
> 
> ml_code_util.m:
> ml_simplify_switch.m:
> ml_switch_gen.m:
> ml_unify_gen.m:
> mlds_to_c.m:
> mlds_to_gcc.m:
> mlds_to_java.m:
> rtti_to_mlds.m:
>     Code to handle the extra field.
> 
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list