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

⟦eca3fd2c1⟧ Ada Source

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

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 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 (Ms);
    Intermediate_Code.Close;
    Scene.Jouer_Scene (Ms);
    Text_Io.Put_Line ("************** FIN DU PROGRAMME ...");
    Text_Io.Put_Line ("************** MERCI DE VOTRE ATTENTION ...");
end Compil_And_Play;

E3 Meta Data

    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 0x21736703284e8444c4e04 0x42a00088462060003