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

⟦396ea31b4⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Main2, seg_042d25, seg_0436d0

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 
└─⟦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 Text_Io, Lexical, Nom_Jeu, Les_Actions, Les_Definitions, Les_Presentations;
with Les_Liaisons, Les_Anims_Globales, Les_Anims_Generales,
     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;

    Put ("Nom_Jeu ............... ");
    Nom_Jeu.Parse;
    Put_Line ("OK");

    Verbs_Dictionary.Create (Dict);

    Put ("Les_Actions ........... ");
    Les_Actions.Parse (Dict);
    Put_Line ("OK");

    Put ("Les_Definitions ....... ");
    Les_Definitions.Parse;
    Put_Line ("OK");

    Put ("Les_Presentations ..... ");
    Les_Presentations.Parse;
    Put_Line ("OK");

    Put ("Les_Liaisons .......... ");
    Les_Liaisons.Parse;
    Put_Line ("OK");

    Put ("Les_Anims_Generales ... ");
    Les_Anims_Generales.Parse;
    Put_Line ("OK");

    Put ("Les_Anims_Globales .... ");
    Les_Anims_Globales.Parse;
    Put_Line ("OK");

    Put ("Les_Anims_Locales ..... ");
    Les_Anims_Locales.Parse;
    Put_Line ("OK");

    Put ("Fin_Jeu ............... ");
    Fin_Jeu.Parse;
    Put_Line ("OK");

    if not Erreur.Is_Any then
        Text_Io.Put ("Source Ok.");
    else
        Text_Io.Put ("Erreurs !!!");
    end if;

    Verbs_Dictionary.Dump (Dict);

    Verbs_Dictionary.Destroy (Dict);

    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=4
    nid=4
    hdr6=6
        [0x00] rec0=2c rec1=00 rec2=01 rec3=00c
        [0x01] rec0=28 rec1=00 rec2=02 rec3=00a
        [0x02] rec0=02 rec1=00 rec2=03 rec3=001
        [0x03] rec0=94 rec1=00 rec2=00 rec3=000
    tail 0x21743941e86307ccb8aa6 0x42a00088462060003
Free Block Chain:
  0x4: 0000  00 00 00 04 80 01 75 01 6f eb 00 00 00 00 00 00  ┆      u o       ┆