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

⟦8c6cdbc5b⟧ TextFile

    Length: 936 (0x3a8)
    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

with Diana;
procedure Walk_Generic (Node : Diana.Tree) is
    List     : Diana.Seq_Type;
    Continue : Boolean;
begin
    Process (Node, Continue);
    if not Continue then
        return;
    end if;

    case Diana.Arity (Node) is
        when Diana.Nullary =>
            return;  
        when Diana.Unary =>

            Walk_Generic (Diana.Child1 (Node));
        when Diana.Binary =>

            Walk_Generic (Diana.Child1 (Node));
            Walk_Generic (Diana.Child2 (Node));
        when Diana.Ternary =>

            Walk_Generic (Diana.Child1 (Node));
            Walk_Generic (Diana.Child2 (Node));
            Walk_Generic (Diana.Child3 (Node));
        when Diana.Arbitrary =>

            List := Diana.As_List (Node);

            while not Diana.Is_Empty (List) loop
                Walk_Generic (Diana.Head (List));
                List := Diana.Tail (List);
            end loop;
    end case;

end Walk_Generic;