[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TreeCC for the GCC (was [DotGNU]IRC Meeting Summary : 2002-10-19)
From: |
James Michael DuPont |
Subject: |
Re: TreeCC for the GCC (was [DotGNU]IRC Meeting Summary : 2002-10-19) |
Date: |
Sun, 20 Oct 2002 23:37:39 -0700 (PDT) |
--- Rhys Weatherley <address@hidden> wrote:
> James Michael DuPont wrote:
>
> > 1. dependancies, I do not yet have a full topological sort of the
> > nodetypes dependancies worked out, that means that I cannot put the
> > files (yet) into the right order for including and compilation.
>
> Since you are using C#, the compiler will rearrange the classes
> for you. It is perfectly OK to compile B.cs then A.cs, if B
> inherits from A. I don't see what the problem is.
>
> > I think the way to go with this is to get the treecc stuff
> generated,
> > the I hope there is someway to use the c interfaces to talk to the
> c#
> > interfaces. Right now I guess the c and c# interfaces are excluding
> > each other, it would be great if I could fill out the c interface
> and
> > automagically feed that to the c# interface.
>
> Why are you using C# at all? The goal of the discussion on
> gcc/treecc so far is to allow third parties to quickly build
> new front-ends for gcc, with _no_ dependency on anything except
> treecc itself. Using C# introduces a dependency on pnet.
> You should be using treecc to generate C code to solve this
> problem. Unless of course you are solving a different problem.
Yes you are right, I have removed the Cs, Added in pointers for the
members *. Removed the output statment, it now produces on file.the C
code, I have not tested yet, is here
http://introspector.sourceforge.net/dotgnu/introspect_treecc_c.tgz
More to come. Testing, documentation , fine tuning.
Mike
=====
James Michael DuPont
http://introspector.sourceforge.net/
__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/