[Kaffe] ease of use patch.

Maxim Kizub max at immsp.kiev.ua
Wed Feb 24 06:46:21 PST 1999


Hello.

"java" is not a keyword.

Alex Blewitt wrote:
> 
> > It makes the java grammar more complex.
> >
> > It would require extensive use of lexical states to allow keywords in
> > every location where it's unambiguous.
> >
> > In general, language designers make these compromises, which don't harm
> > the programmer much, in order to make compilers easier to write and debug,
> > and faster in operation.
> 
> As an add-on to this argument, the Java Language Specification dictates
> that you can't use any keywords (including int, private, while etc.) as
> variable names. So in the hope of having a portable tool, following the
> JLS not only makes the compiler easier to write, but also follows the
> spirit of the specification.
> 
> Alex.
> 
> /***************************************************************\
> |*       Alex Blewitt       * Hug, and the world hugs with you *|
> |*   Alex.Blewitt at iee.org   *                                  *|
> |* Mobile: + 44 966 158647  *    Spread a little happiness     *|
> \***************************************************************/



More information about the kaffe mailing list