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 - metrics - download
Index: B T

⟦2131e16ae⟧ TextFile

    Length: 1031 (0x407)
    Types: TextFile
    Names: »B«

Derivation

└─⟦180fe333a⟧ Bits:30000405 8mm tape, Rational 1000, SW CATALOG, 10_20_0
└─⟦180fe333a⟧ Bits:30000537 8mm tape, Rational 1000, SW Catalog 10_20_0
    └─⟦5cb1d1d7f⟧ »DATA« 
        └─⟦3b1ee7bd8⟧ 
            └─⟦this⟧ 

TextFile

procedure Diana_Tree_Walk_Generic (Node : Diana.Tree; S : in out State) is
    List : Diana.Seq_Type;
    Cs : State := S;
begin
    Preprocess (Node, S, Cs);

    case Diana.Arity (Node) is
        when Diana.Nullary =>
            null;
        when Diana.Unary =>
            Diana_Tree_Walk_Generic (Diana.Child1 (Node), Cs);
        when Diana.Binary =>
            Diana_Tree_Walk_Generic (Diana.Child1 (Node), Cs);
            Diana_Tree_Walk_Generic (Diana.Child2 (Node), Cs);
        when Diana.Ternary =>
            Diana_Tree_Walk_Generic (Diana.Child1 (Node), Cs);
            Diana_Tree_Walk_Generic (Diana.Child2 (Node), Cs);
            Diana_Tree_Walk_Generic (Diana.Child3 (Node), Cs);
        when Diana.Arbitrary =>
            List := Diana.As_List (Node);

            while not Diana.Is_Empty (List) loop
                Diana_Tree_Walk_Generic (Diana.Head (List), Cs);
                List := Diana.Tail (List);
            end loop;
    end case;
    Postprocess (Node, Cs, S);
end Diana_Tree_Walk_Generic;