DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦e0a8a1cd9⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Ayacc, seg_030b09

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« 
        └─⟦this⟧ 

E3 Source Code



with Source_File, File_Names, Options, Parser,
     Tokens_File, Output_File, Parse_Table, Text_Io,
--     u_env,\x09  -- For getting the command line arguments

     Symbol_Table, -- Used for statistics only
     Rule_Table;   -- Used for statistics only

procedure Ayacc is

    Rcs_Id : constant String :=
       "$Header: ayacc.a,v 0.1 86/04/01 15:04:07 ada Exp $";

    Copyright : constant String :=
       "@(#) Copyright (c) 1990 Regents of the University of California.";
    Copyright2 : constant String := "All rights reserved.";

    use Text_Io;

    Illegal_Argument_List : exception;

    procedure Initialize is separate;
    procedure Print_Statistics is separate;

begin

    Initialize;

    Source_File.Open;
    Tokens_File.Open;

    Parser.Parse_Declarations;
    Parser.Parse_Rules;
    Parse_Table.Make_Parse_Table;
    Output_File.Make_Output_File;
    Tokens_File.Complete_Tokens_Package;

    Source_File.Close;
    Tokens_File.Close;

    if Options.Interface_To_C then
        Tokens_File.Make_C_Lex_Package;
    end if;

    Print_Statistics;

exception


    when File_Names.Illegal_File_Name =>
        Put_Line ("Ayacc: Illegal Filename.");

    when Options.Illegal_Option | Illegal_Argument_List =>
        null;

    when Parser.Syntax_Error =>   -- Error has already been reported.
        Source_File.Close;

    when Text_Io.Name_Error | Text_Io.Use_Error =>
        null;  -- Error has already been reported.

    when others =>
        Put_Line ("Ayacc: Internal Error, Please Submit an LCR.");
end Ayacc;
-- Copyright (c) 1990 Regents of the University of California.
-- All rights reserved.
--
--    The primary authors of ayacc were David Taback and Deepak Tolani.
--    Enhancements were made by Ronald J. Schmalz.
--
--    Send requests for ayacc information to ayacc-info@ics.uci.edu
--    Send bug reports for ayacc to ayacc-bugs@ics.uci.edu-
-- Redistribution and use in source and binary forms are permitted
-- provided that the above copyright notice and this paragraph are
-- duplicated in all such forms and that any documentation,
-- advertising materials, and other materials related to such
-- distribution and use acknowledge that the software was developed
-- by the University of California, Irvine.  The name of the
-- University may not be used to endorse or promote products derived
-- from this software without specific prior written permission.
-- THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
-- IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
-- WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

-- Module       : ayacc_separates.ada
-- Component of : ayacc
-- Version      : 1.2
-- Date         : 11/21/86  12:28:51
-- SCCS File    : disk21~/rschm/hasee/sccs/ayacc/sccs/sxayacc_separates.ada

-- $Header: ayacc_separates.a,v 0.0 86/02/19 18:36:14 ada Exp $
-- $Log:\x09ayacc_separates.a,v $
-- Revision 0.0  86/02/19  18:36:14  ada
--
-- These files comprise the initial version of Ayacc
-- designed and implemented by David Taback and Deepak Tolani.
-- Ayacc has been compiled and tested under the Verdix Ada compiler
-- version 4.06 on a vax 11/750 running Unix 4.2BSD.
--
-- Revision 0.1  88/03/16
-- Additional argument added to allow user to specify file extension
-- to be used for generated Ada files.  -- kn



E3 Meta Data

    nblk1=4
    nid=0
    hdr6=8
        [0x00] rec0=27 rec1=00 rec2=01 rec3=006
        [0x01] rec0=22 rec1=00 rec2=02 rec3=002
        [0x02] rec0=13 rec1=00 rec2=03 rec3=070
        [0x03] rec0=0e rec1=00 rec2=04 rec3=000
    tail 0x2172a442a84a64fb96d12 0x42a00088462060003