Re: Reusing GCJ compiler

Scott Finnie <scott.finnie@logiquence.com>
9 Mar 2003 17:22:02 -0500

          From comp.compilers

Related articles
Reusing GCJ compiler chere-loque@wanadoo.fr (Vincent Richard) (2003-02-21)
Re: Reusing GCJ compiler scott.finnie@logiquence.com (Scott Finnie) (2003-03-09)
Re: Reusing GCJ compiler james.power@may.ie (2003-03-24)
| List of all articles for this month |
From: Scott Finnie <scott.finnie@logiquence.com>
Newsgroups: comp.compilers
Date: 9 Mar 2003 17:22:02 -0500
Organization: Virgin Net Usenet Service
References: 03-02-118
Keywords: Java
Posted-Date: 09 Mar 2003 17:22:02 EST

Vincent,


You may want to look at gccxml (http://www.gccxml.org/HTML/Index.html).
    I haven't used it with Java, but it sits on the back end of the gcc
framework, so I think should work with gcj. The author is pretty
responsive on the mailing list, you could ask him directly.


hth,
Scott.


Vincent Richard wrote:
> I am searching for some documentation about reusing GCJ (GNU Java
> compiler) parsing code into my own program. In fact, I want GCJ to
> parse a ".java" file and return all the information useful to
> understand the structure of a Java program (the parsing tree) :
> classes, methods, attributes names/types, etc...
>
> I have started by checking C source files, but nothing is really clear about
> how to interface with the parser.
>
> Does anybody have some documentation/links about that ?


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.