[996] in java-interest

home help back first fref pref prev next nref lref last post

Official grammar?

daemon@ATHENA.MIT.EDU (G. David Kuhlman)
Wed Aug 16 17:48:45 1995

From: dkuhlman@netcom.com (G. David Kuhlman)
To: java-interest@java.sun.com
Date: Wed, 16 Aug 1995 07:49:57 -0700 (PDT)


    "r.17  Appendix A:  Grammar Summary

    This appendix is not part of the C++ reference manual proper
    and does not define C++ language features.

    This summary of C++ syntax is intended to be an aid to
    comprehension.  It is not an exact statment of the language.
    ..."

        B. Stroustrup; The C++ Programming Language

I laughed when I read that.  It was a sick laugh.

As someone hoping to provide tools to support Java programmer and
hoping that others provide programmers tools for me, I want to
encourage the Java development team to provide an "official"
grammar and to ensure that this grammar accurately reflects the
syntax of the language accepted by the Java compiler.

Of course, the best way to do that is to use a parser generator to
implement the Java compiler and then to extract the rules from the
grammar fed to that parser generator.


-- 
Dave Kuhlman
Reify, Redwood City, CA
Internet: dkuhlman@netcom.com

-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post