[mercury-users] Mercury compiler running in C#

Jeff Thompson jeff at thefirst.org
Sat Nov 27 06:57:50 AEDT 2010


Thanks for the quick feedback!  I will give that a try.

On 11/25/2010 6:54 PM, Peter Wang wrote:
> On 2010-11-25, Jeff Thompson<jeff at thefirst.org>  wrote:
>    
>> I'm working with the shiny new C# back end. Very nice.  My
>> understanding is that the Mercury compiler is also written in
>> Mercury.  Can the C# back end compile and run the compiler, so that
>> it is fully bootstrapped in C#?
>>      
> Yes.  It's not supported by the build system, and it's not really fast
> enough, but it's possible.  If you want to try it, create a new
> directory containing all the *.m files and mercury_dotnet.cs, then run a
> command like this (you might need a couple more options):
>
>      mmc -s csharp -m top_level -j4 --no-mercury-stdlib-dir \
> 	--allow-stubs --link-object mercury_dotnet.cs
>
> Peter
> --------------------------------------------------------------------------
> mercury-users mailing list
> Post messages to:       mercury-users at csse.unimelb.edu.au
> Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
> Subscriptions:          mercury-users-request at csse.unimelb.edu.au
> --------------------------------------------------------------------------
>
>
>
>    

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



More information about the users mailing list