|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 4096 (0x1000)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Main2, seg_0421f6
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
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;
nblk1=3
nid=0
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
tail 0x2153d1d18862960fcd9b0 0x42a00088462060003