|
|
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: 3072 (0xc00)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Compil_And_Play, seg_038e6f
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
with Lex;
with Shownet_File;
with Intermediate_Code, Spectacle_Definition;
with Error, Symbol, Binary_Tree, Scene;
procedure Compil_And_Play
(Source_File : String := "source_code";
Object_File : String := "object_code";
Error_File : String := Text_Io.Name (Text_Io.Standard_Output)) is
Ok : Boolean := True;
Time : Natural := 0;
The_Scene : Scene.P_Scene;
begin
Text_Io.Put_Line
("************** DEBUT DU PROGRAMME (Initialisation en cours) ...");
Text_Io.Put_Line ("");
Error.Initialize;
Symbol.Initialize;
Text_Io.Put_Line ("************** ANALYSE SYNTAXIQUE EN COURS ...");
Text_Io.Put_Line ("");
Lex.Open (Source_File);
Lex.Next;
Shownet_File.Parse (Ok);
Lex.Close;
if Error.Exist then
Error.Display_In_Source (Source_File, Error_File);
end if;
Text_Io.Put_Line
("************** GENERATION DU CODE INTERMEDIAIRE EN COURS ...");
Text_Io.Put_Line ("");
Intermediate_Code.Open (Object_File, Text_Io.Out_File);
Spectacle_Definition.Generate (Symbol.Get_Start_Point ("main"), Time);
Intermediate_Code.Close;
Text_Io.Put_Line ("************** LE SPECTACLE COMMENCE !! ...");
Text_Io.Put_Line ("");
Intermediate_Code.Open (Object_File, Text_Io.In_File);
Scene.Lire_Scene (The_Scene);
Intermediate_Code.Close;
Scene.Jouer_Scene (The_Scene);
Text_Io.Put_Line ("************** FIN DU PROGRAMME ...");
Text_Io.Put_Line ("************** MERCI DE VOTRE ATTENTION ...");
end Compil_And_Play;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=1d rec1=00 rec2=01 rec3=090
[0x01] rec0=0e rec1=00 rec2=02 rec3=001
tail 0x21531e69e84e8689f2867 0x42a00088462060003