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

⟦b6b9c4b1b⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Main2, seg_040f41

Derivation

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

E3 Source Code



with Text_Io, Lexical, Nom_Jeu, Les_Actions, Les_Definitions, Les_Presentations;
with Les_Liaisons, Les_Anims_Globales, Les_Anims_Locales, Fin_Jeu, Erreur;
with Verbs_Dictionary;
use Text_Io;

procedure Main2 is

    Nomf : constant String := "Ex_Jeu";
    Dict : Verbs_Dictionary.Object;

begin

    Lexical.Init (Nomf);
    Lexical.Next;

    Nom_Jeu.Parse;

    Verbs_Dictionary.Create (Dict);

    Les_Actions.Parse (Dict);

    Verbs_Dictionary.Dump (Dict);

    Les_Definitions.Parse;
    Les_Presentations.Parse;
    Les_Liaisons.Parse;
    Les_Anims_Globales.Parse;
    Les_Anims_Locales.Parse;
    Fin_Jeu.Parse;

    if not Erreur.Is_Any then
        Text_Io.Put ("Ok");
    else
        Text_Io.Put ("pas Ok");
    end if;

    Lexical.Close;

exception

    when Erreur.Erreur_Syntaxe =>
        Text_Io.Put_Line (" -- Erreur Fatale");
        Text_Io.Put_Line ("Bye, bye...");
        Verbs_Dictionary.Destroy (Dict);

    when Verbs_Dictionary.Duplicate_Value =>
        Text_Io.Put ("Lg:");
        Text_Io.Put (Natural'Image (Lexical.Get_Line));
        Text_Io.Put (" Cl:");
        Text_Io.Put (Natural'Image (Lexical.Get_Column));

--      when others => Text_Io.Put_Line ("Erreur inconnue");

end Main2;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=2d rec1=00 rec2=01 rec3=04c
        [0x01] rec0=0c rec1=00 rec2=02 rec3=001
    tail 0x2153baf0086126de847f5 0x42a00088462060003