[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DotGNU]Language plugins for cscc
From: |
Adam Treat |
Subject: |
Re: [DotGNU]Language plugins for cscc |
Date: |
Fri, 8 Nov 2002 09:17:06 -0500 |
User-agent: |
KMail/1.4.7 |
On Friday 08 November 2002 06:13 am, Rhys Weatherley wrote:
> 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.
I think writing plugins in C# or other CIL compilable languages would be
pretty cool. That shared library you mentioned should be written in an IL
compilable language (which leaves C# at the moment ;) that way we can write
plugins in IL compilable languages. A neat snowball effect if you will ;)
> Cheers,
>
> Rhys.
> _______________________________________________
> Developers mailing list
> address@hidden
> http://www.dotgnu.org/mailman/listinfo/developers