[Mono-devel-list] Using mono components
chris at chrisseaton.com
chris at chrisseaton.com
Sat Sep 6 09:20:38 EDT 2003
I'll try to be clearer:
When mono reads an assembly, planning to execute it, it must have a way
to access the structure: getting an array of namespaces that contains an
array of classes, and in that an array of methods, constructors and so
on.
Is this isolated in a library that could be used externally to the rest
of mono in a C program?
Mark Easton <mark.easton at blinksoftware.co.uk> wrote on 06.09.2003,
15:05:55:
> Chris,
>
> I'm not sure from your description what exactly it is that you're after,
> but FYI PNET has a C compiler that produces IL and I believe can consume
> .NET assemblies. Perhaps you already know this, or perhaps it will be
> of no use to you, but thought I'd throw it into the mixing pot,
>
> Yours, wishing I'd flame proofed myself before mentioning PNET in the
> Mono list,
>
> Mark
>
> -----Original Message-----
> From: mono-devel-list-admin at lists.ximian.com
> [mailto:mono-devel-list-admin at lists.ximian.com] On Behalf Of Chris
> Seaton
> Sent: 06 September 2003 13:33
> To: mono-devel-list at lists.ximian.com
> Subject: [Mono-devel-list] Using mono components
>
> Is it possible to use the part of Mono that can read the structure of an
> assembly from a C program (linking as a library or something)?
>
> I'm writing a compiler that targets .net as well as several other
> architectures, so the compiler is not written in a .net lanuguage and I
> can't use the Reflection namespace (unless perhaps I can?...).
>
> Hmm... perhaps I could write a separate program in C# that uses
> Reflection and exports a header file for my language...
>
> --
> Chris Seaton
>
> chris at chrisseaton.com
> http://www.chrisseaton.com/
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list
mailing list