[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU]Language plugins for cscc

From: Rhys Weatherley
Subject: Re: [DotGNU]Language plugins for cscc
Date: Fri, 08 Nov 2002 21:13:13 +1000

Gopal V wrote:

> If memory serves me right, Rhys Weatherley wrote:
> > The real issue is one of support code.  Because the C# plugin
> > wouldn't have direct access to the "pnet/codegen" stuff, it will
> > be necessary for the plugin to implement its own code generation,
> > option processing, type handling, etc, etc, etc.
> Hmm.... that would be a lot of work wouldn't it ? ...

Yep.  Although the effort involved can be alleviated somewhat
by using treecc to generate the C# compiler skeleton.

> But this would
> be an almost idea way of porting IL compilers written in *any* language
> to run in CSCC ...
> Because with this idea I develop the compiler in Python or Perl or even
> Java ?.. We're not restricted to C here..

Exactly.  If it can be launched as a Unix process, it can be used
as a plugin.  I designed it that way on purpose, rather than use
a .so based system for plugins, which would only work from C.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]