This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: annotations for Kawa
- From: Helmut Eller <eller dot helmut at gmail dot com>
- To: kawa at sources dot redhat dot com
- Date: Sun, 05 Dec 2010 20:48:14 +0100
- Subject: Re: annotations for Kawa
- References: <4CFA6782.7070007@bothner.com>
* Per Bothner [2010-12-04 16:08] writes:
> Those of you who've been following Kawa CVS check-ins may have
> noted that the low-level support for annotations is now mostly
> there in gnu.bytecode.
>
> The next issue is the syntactic support. As suggested before,
> the most logical syntax for an individual annotation is probably:
>
> (@AnnotationType keyword1: exp11 ... keywordN: exprN)
>
> where AnnotationType is an annotation type name (identifier),
> and exp1..exprN are compile-time-constant expressions.
Is the @ new lexical syntax or just a naming convention?
Helmut