[antlr-interest] Java parser, Lexer

Juergen Reuter reuter at ipd.uka.de
Thu Jun 28 03:58:54 PDT 2007


I noticed that http://www.antlr.org/download/examples-v3.tar.gz contains a 
sample grammar for Java 1.5 in the directory examples-v3/java/java.  The 
grammar is not ready to create an AST, but may be a good starting point 
for you.

Greetings,
Juergen

On Thu, 28 Jun 2007, Wincent Colaiuta wrote:

> El 28/6/2007, a las 12:26, Janusz Polok escribió:
>
>> Hi,
>> I'm new in ANTLR. Does someone have a Lexer for Java sourcecode?
>> I need to create a AST from java-code file and analyse it complexity.
>> If someone can help me I will be very thankful.
>> Regards
>> janusz
>
> Check out the examples archive downloadable from:
>
>  <http://antlr.org/download.html>
>
> Cheers,
> Wincent
>


More information about the antlr-interest mailing list