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

⟦27af90fe5⟧ Ada Source

    Length: 4096 (0x1000)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Main, seg_047998

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 String_Table, Actions, Directions, Objets, Pnjs, Int_Lib, Error, Lex,
     Parse, Text_Io, Bounded_String, Token_Pkg, Struct_Component, Pieces, Monde;

procedure Main is
    Ok : Boolean := True;
    Verb_Table, Direction_Table : String_Table.I_Table (1 .. 50);
    Object_Table : String_Table.I_Table (1 .. 100);
    Pnj_Table : String_Table.I_Table (1 .. 10);
    Tab : Int_Lib.I_Result;
    Index : Natural;
begin
    Text_Io.Put_Line ("Parsing ...");
    Parse.Start (Ok);  
    Text_Io.Put_Line ("..Terminated.");
    if not Ok then
        Error.Image;
    else
        Verb_Table := Actions.Table;
        Direction_Table := Directions.Table;
        Object_Table := Objets.Table;
        Pnj_Table := Pnjs.Table;
        Text_Io.Put_Line ("PIECES :");
        Struct_Component.Image (Pieces.Liste);
        Text_Io.New_Line;
        Text_Io.Put_Line ("OBJETS :");
        Struct_Component.Image (Objets.Liste);
        Text_Io.New_Line;
        Text_Io.Put_Line ("PNJS :");
        Struct_Component.Image (Pnjs.Liste);
        Text_Io.New_Line;
        Text_Io.Put_Line ("LIENS :");
        Struct_Component.Image (Monde.Liste_Lien);
        Text_Io.Put ("PIECE COURANTE : ");
        Text_Io.Put_Line (Bounded_String.Image
                             (Struct_Component.Liste_Structure.Cellvalue
                                 (Pieces.Piece_Courante).Name));
        for I in 1 .. 10 loop
            Int_Lib.Interpretor (Verb_Table, Object_Table,
                                 Direction_Table, Tab);
            Index := 1;
            while Token_Pkg.Token'Image (Tab (Index).Token) /= "T_END" loop
                Text_Io.Put (Token_Pkg.Token'Image (Tab (Index).Token));
                Text_Io.Put (" - index : ");
                Text_Io.Put (Natural'Image (Tab (Index).Index));
                Text_Io.New_Line;
                Index := Index + 1;
            end loop;
        end loop;
    end if;
end Main;


E3 Meta Data

    nblk1=3
    nid=0
    hdr6=6
        [0x00] rec0=1d rec1=00 rec2=01 rec3=014
        [0x01] rec0=16 rec1=00 rec2=02 rec3=010
        [0x02] rec0=02 rec1=00 rec2=03 rec3=000
    tail 0x2174b3018865477a75f92 0x42a00088462060003