PAL CARD CATALOG ENTRY

SHORT DESCRIPTION

Ada grammar for use with YACC/LEX


MOVEMENT WITHIN THE PAL CARD CATALOG
Move to top-level taxonomy
Move to keyword list

ASSET PROFILE

UNIT NAME
HF-GRAMMAR
VERSION
1.0
REVIEW CODE
NR
INET ADDRESS
HFischer@ECLB
AUTHOR
Herman Fischer
Litton Data Systems
8000 Woodley Ave, ms 44-30
Van Nuys, CA
818-902-5139
G Fisher and P Charles
RIGHTS
PUBLIC DOMAIN
COPYRIGHT
(c) Herm Fischer 1984
DATE CREATED
Not documented in PAL database
DATE RELEASED
15 Dec 84
DATE LAST UPDATED
26 Mar 84
LOCATION
ASR
PAL
ENVIRONMENT
UNIX
LIMITATIONS
Not documented in PAL database

FILE LISTING

Directory Display


languages/ada/asr/ext_tool/grammar:
  File Name                 Size
  ---------                 ----
  grammar.zip             13,914


Totals
  ==============  ==============
    1 Files               13,914

ABSTRACT

        This grammar is organized in the  same  order  as  the  syntax
summary  in appendix E of the ANSI Ada Reference Manual.  All reserved
words are written in  upper  case  letters.   The  lexical  categories
numeric_literal,  string_literal,  etc,  are viewed as terminals.  The
rules for pragmas as  stated  in  chapter  2,  section  8,  have  been
incorporated in the grammar.  Comments are included wherever we had to
deviate from the syntax given in appendix E.  Different  symbols  used
here (to comply with yacc requirements) are of note:

	{,something}	is denoted ...something..			     
	{something}	is denoted ..something..			     
	[something]	is denoted .something.				    

        Constructs involving meta brackets, e.g., ...identifier..  are
represented  by  a  nonterminal  formed by concatenating the construct
symbols ( as ...identifier..  in the example) for which the rules  are
given  at the end.  When reading this grammar, it is important to note
that all symbols appearing in the rules are separated by one  or  more
blanks.   A  string such as 'identifier_type_mark is actually a single
nonterminal symbol defined at the end of the rules.  The '' symbol  is
used  to  indicate  that the rest of the line is a comment, just as in
yacc programs.

        This grammar is presented here in a form suitable for input to
a yacc parser generator.  It has been processed by the Bell System III
lex/yacc combination, and tested against over 400 ACVC tests.


REVISION HISTORY

DATE         VERSION	AUTHOR                  HISTORY
12/15/84	1.0	Herman Fischer		Initial Release


RELEASE NOTICE

This prologue must be included in all copies of this software.

This software is copyright by the author.

This software is released to the Ada community.
This software is released to the Public Domain (note:
  software released to the Public Domain is not subject
  to copyright protection).
Restrictions on use or distribution: See above for the author's
	requested restrictions; commercial use (ie, sale) prohibited


DISCLAIMER

	This software and its documentation are provided "AS IS" and
without any expressed or implied warranties whatsoever.  No warranties
as to performance, merchantability, or fitness for a particular
purpose exist.
	The user is advised to test the software thoroughly before
relying on it.  The user must assume the entire risk and liability of
using this software.  In no event shall any person or organization of
people be held responsible for any direct, indirect, consequential or
inconsequential damages or lost profits.