Re: Parsing Java

"Oliver Wong" <>
15 Dec 2005 02:22:05 -0500

          From comp.compilers

Related articles
Parsing Java (s h) (2005-12-11)
Re: Parsing Java (Scott Nicol) (2005-12-15)
Re: Parsing Java (Florian Liekweg) (2005-12-15)
Re: Parsing Java (Oliver Wong) (2005-12-15)
Re: Parsing Java (s h) (2005-12-19)
| List of all articles for this month |

From: "Oliver Wong" <>
Newsgroups: comp.compilers
Date: 15 Dec 2005 02:22:05 -0500
Organization: GlobeTrotter
References: 05-12-028
Keywords: Java
Posted-Date: 15 Dec 2005 02:22:05 EST

"s h" <> wrote in message news:05-12-028@comp.compilers...
> I am newbie! pls guide me,
> 1- I want to parsing a java code [java package] and extract [call
> dependency graph] between methods then for each method construct a
> if there is any tools or some way to do that please guide me.

        You didn't specify what language you're planning on writing your parser
in. Presumably since you're analyzing Java code, you know Java well enough
to program in it. You might want to look into JavaCC, which is a parser
generator which generates a parser in the Java language. There are a few
grammars online, including one for Java 1.4. AFAIK, there isn't a JavaCC
grammar for Java 1.5 yet.

Parser Generator:


        - Oliver

Post a followup to this message

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