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

⟦1ab5f2991⟧ TextFile

    Length: 1127 (0x467)
    Types: TextFile
    Names: »B«

Derivation

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

TextFile

with Lex;
with Statements;
with Object;
with Text_Io;
with Graphic_Object;
with Error_Broadcaster;
with Easy_X;
with Unparser;
procedure Tiny_Talk
             (Terminal : String; File : String; Unparsed_File : String) is
    Node : Statements.Node;
    Bool : Boolean;
    Monobjet : Object.Reference;
    package Io is new Text_Io.Integer_Io (Integer);

begin
    Lex.Open (File);
    Lex.Next_Token;
    Statements.Parse (Node, Bool);  
    Lex.Close (File);
    if not Bool then
        Graphic_Object.Open (Terminal);
        loop
            case Easy_X.Next_Event is
                when Easy_X.Update =>
                    Monobjet := Statements.Interpret (Node, Monobjet);
                    Io.Put (Monobjet.Identity);
                when Easy_X.Button_Down =>
                    exit;
                when Easy_X.Button_Up =>
                    null;
            end case;
        end loop;
        Graphic_Object.Close;
    end if;
    Unparser.Create (Unparsed_File);
    Statements.Unparse (Node);
    Unparser.Close (Unparsed_File);
exception
    when others =>
        Graphic_Object.Close;
end Tiny_Talk;