Re: Homegrown java parser ?!?

"Peter H. Froehlich" <>
16 Feb 2002 01:09:23 -0500

          From comp.compilers

Related articles
Homegrown java parser ?!? (bf.) (2002-02-06)
Re: Homegrown java parser ?!? (Peter H. Froehlich) (2002-02-16)
Re: Homegrown java parser ?!? (2002-02-16)
| List of all articles for this month |

From: "Peter H. Froehlich" <>
Newsgroups: comp.compilers
Date: 16 Feb 2002 01:09:23 -0500
Organization: Compilers Central
References: 02-02-026
Keywords: Java, parse
Posted-Date: 16 Feb 2002 01:09:23 EST

Hi there!

On Wednesday, February 6, 2002, at 08:40 , bf. wrote:

> Our problem is how to proceed. How do we convert a series of tokens
> into a tree of language nodes ?

Short of guessing right all the time, you'll *have* to parse the
token stream to identify it's structure. :-) However, if you are
only concerned with Java, you might want to check out the Barat

It provides a complete Java frontend that ends up with a tree
structure similar to the one you describe.

Several people in our research group have used Barat successfully,
although I hear that there can be a somewhat steep learning curve
to understand all it's fancy internals. :-)

Peter H. Froehlich []->[!]<-[]
OpenPGP: D465 CBDD D9D2 0D77 C5AF 353E C86C 2AD9 A6E2 309E

Post a followup to this message

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