Linkage of GPLed GCC to Closed Source via XML or Perl

James Michael DuPont mdupont777@yahoo.com
Mon Mar 4 01:56:00 GMT 2002


--- Robert Dewar <dewar@gnat.com> wrote:
> <<The only thing is, for the end user of a
> introspection
> system you will need to present them an interface
> into
> the AST.
> >>
> 
> In the case of Ada, this is taken care of in an
> implementation independent
> manner by the ASIS (Ada Semantic Interface
> Specification) standard, which
> specifies a portable interface to the semantic
> information for an Ada program.
> Too bad there is nothing comparable for C or C++.

The ASIS is what i was looking at months ago,
the sage++ and openc++ presents something very
compariable. 

The modelling of the tree node data structures is one
of the real good things that came out of the work on
the introspector so far (in perl): 
from an abstract description of the nodes that I get
from the first pass dump of the trees, and annotate
using introspective methods and meta programmings, I
generate perl,java,and sql structures to hold the tree
nodes. 
Maybe it is time to start looking at creating a user
level c interface to the tree nodes.

mike


=====
James Michael DuPont

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - sign up for Fantasy Baseball
http://sports.yahoo.com



More information about the Gcc mailing list