[Mono-list] Novel Proposal for Mono Compiler Implementations

David Gardner david@pipco.freeserve.co.uk
Wed, 11 Jul 2001 01:15:36 GMT

On 7/11/01, 12:51:26 AM, "Bob Salita" <bsalita@hotmail.com> wrote regarding 
[Mono-list] Novel Proposal for Mono Compiler Implementations:

> Instead, compilers should NOT emit IL, bytecodes, or even native code. 
> should emit NOTHING. 

Sorry, but I spilt my tea everywhere at the thought of a compiler that 
emitted nothing but a sequence of NOP!

<bit about splitting compiler into parsetree and emitter snipped>

> I propose that Open Compiler Technology be the architecture of compilers
> used in Mono, furthermore we should demand this style of compiler
> architecture from all our compiler vendors. The benefits of an Open 
> are unlike any that we have experienced.

I like this idea. Maybe it's slightly too radical, but the best ideas 
are. Would you envisage that it would be faster to write a compiler 
according to the 'parsetree + emitter' scheme as opposed to the 
'monolith' scheme? It's worth further discussion.