[2213] in java-interest

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

Java Grammar

daemon@ATHENA.MIT.EDU (John D. Mitchell)
Wed Sep 27 01:34:04 1995

Date: Tue, 26 Sep 1995 20:44:40 -0700
From: "John D. Mitchell" <johnm@mitchell.org>
To: java-interest@java.sun.com

                            Proposed Standard
                        Java Programming Language
                          Grammar Specification

                            September 26, 1994	

AUTHORS:
        Terence J. Parr		parrt@parr-research.com
	John D. Mitchell	johnm@mitchell.org
	Gary Funck		gary@intrepid.com

OWNERSHIP:
	For the moment, we maintain the copyright on this grammar.

REVISION:
	1.00	Initial proposal

LOCATION:
        This file is located at:
            ftp://ftp.parr-research.com/pub/Java/java.g.proposed

NOTES:
	This grammar is designed for language specification purposes and is
	*not* executable. Its purpose is to define the syntactic structure of
	the Java language.  Neither PCCTS nor YACC will accept this file as
	input.  It is most certainly non-LL(k) for any k and probably not
	LALR(1) due to context-sensitivity (must use symbol table info to
	parse, but due to forward references, one doesn't have that
	information).  The grammar is much tighter than you'd probably use in
	practice; for example, we differentiate between lvalues and rvalues
	rather than letting it slide to the semantic analysis phase.

	No semantic information is used in this grammar; i.e., we have not
	predicated any productions on symbol table information.

	It is built from our experience in writing an initial Java front end
	using PCCTS.  The front end is not yet available.  Stay tuned for more
	information.

        We hope this will facilitate the open discussion of and eventual
        standardization of the Java programming language so that we can
        all move forward from a safe and sane base and write lots of
        truly cool software.
....
-
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