DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

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 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ B T

⟦1d38c0fd9⟧ TextFile

    Length: 1257 (0x4e9)
    Types: TextFile
    Names: »B«

Derivation

└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 

TextFile

with Text_Io;
with Reduct;
with Parser;
with Nodes;
with Product;
with Io_Exceptions;
procedure Compilo is
    use Reduct;
    use Nodes;
    package Int_Io is new Text_Io.Integer_Io (Integer);
    Ptr : Reduct.Preductnode;
    Nin, Nout : Natural := 0;
    Input_Name, Output_Name : String (1 .. 50);

    procedure Release is
    begin
        Text_Io.New_Line;
        Text_Io.Put_Line
           ("-- Compilateur de fichiers source SHOW-NET (v1.0) --");
        Text_Io.Put_Line
           ("     (c) BROCHET - CHAUVINEAU - FREYERMUTH 1994     ");
        Text_Io.New_Line;
    end Release;
begin
    Release;
    Text_Io.Put ("Entrer le nom du fichier a compiler : ");
    Text_Io.Get_Line (Input_Name, Nin);
    Text_Io.New_Line;
    -- Text_Io.Put ("Entrer le nom du fichier en sortie : ");
    -- Text_Io.Get_Line (Output_Name, Nout);

    Parser.Parse_File (Input_Name (1 .. Nin));
    Ptr := Reduct.Reducttree;
    -- Product.Openoutputfile (Output_Name (1 .. Nout));
    Product.Openoutputfile ("OutFile");
    Product.Producttree (Ptr);
    Product.Closeoutputfile;
    Text_Io.Put_Line ("Fin de la compilation.");
exception
    when others =>  
        Text_Io.New_Line;
        Text_Io.Put_Line ("Erreur pendant la compilation.");
end Compilo;