Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] AspectJ BNF grammar?

Jim might have more to say, but following is a copy of 
his response to "Grammar for AspectJ 1.1" from 
the old email archives.


The grammar source is in the eclipse jdt patch source 
distribution under   org/eclipse/jdt/internal/compiler/parser/aj_grammar.txt

The AspectJ parts of this grammar are unusual in a number 
of ways in order to maximize compatibility with the existing 
Java grammar.  This should not be considered a grammar 
specification, but rather an implementation of the grammar 
within the constraints of the jikespg parser generator tool.


Shimon Rura wrote:
> Does anyone have a BNF grammar for AspectJ, or an AspectJ grammar used as
> input for any kind of parser generator?  (Perhaps something used in the
> compiler?)  It would be very helpful for an analysis project I'm working on.
> Thank you,
> Shimon Rura
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx

Back to the top