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

⟦e36d5e8dc⟧ TextFile

    Length: 2360 (0x938)
    Types: TextFile
    Names: »B«

Derivation

└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 
└─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04
    └─ ⟦d65440be7⟧ »DATA« 
        └─⟦this⟧ 
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦e24fb53b7⟧ 
            └─⟦this⟧ 

TextFile

with Alias;
with Bbr_Kbs;  
with Bbr_Frames;
with Output_Stream;
with Slot;

use Bbr_Kbs, Bbr_Frames;  
use Output_Stream;

package body Bbr_General_Bundle is

    use Kbs;
    use Kbs.Predicate;
    use Kbs.Predicate.System_Defined_Predicate;

    type Rule_Names is (Pair_Ball_And_Boxes, Remove_The_Robots,
                        Dump_Robots_Name_Greta, No_More);

    -------------------------------------------------------------------------------
    package Pair_Ball_And_Boxes_Rule is
        function  Premiss return Fact_Queries;
        procedure Action (The_Pair : Fact_Collection);
    end Pair_Ball_And_Boxes_Rule;

    package body Pair_Ball_And_Boxes_Rule is separate;

    ---------------------------------------------------------------------------

    package Remove_The_Robots_Rule is
        function  Premiss return Fact_Queries;
        procedure Action (Objects : Fact_Collection);
    end Remove_The_Robots_Rule;
    package body Remove_The_Robots_Rule is separate;

    -------------------------------------------------------------------------------
    package Dump_Robots_Name_Greta_Rule is
        function  Premiss return Fact_Queries;
        procedure Action (Objects : Fact_Collection);
    end Dump_Robots_Name_Greta_Rule;
    package body Dump_Robots_Name_Greta_Rule is separate;

    ---------------------------------------------------------------------------

    package Rule_Bundle is
       new Rule_Base.Generic_Rule_Bundle
              (The_Bundle => Bbr_Kbs.Bbr_General_Bundle,
               Rule_Names => Rule_Names,
               Nothing    => Rule_Names'(No_More),

               Rule_1     => Pair_Ball_And_Boxes,
               Premiss_1  => Pair_Ball_And_Boxes_Rule.Premiss,
               Action_1   => Pair_Ball_And_Boxes_Rule.Action,

               Rule_2     => Remove_The_Robots,
               Premiss_2  => Remove_The_Robots_Rule.Premiss,
               Action_2   => Remove_The_Robots_Rule.Action,

               Rule_3     => Dump_Robots_Name_Greta,
               Premiss_3  => Dump_Robots_Name_Greta_Rule.Premiss,
               Action_3   => Dump_Robots_Name_Greta_Rule.Action);

    procedure Do_Action (For_Rule : Kbs.Rule_Id;
                         On_Facts : Kbs.Fact_Collection) is
    begin
        Rule_Bundle.Do_Action (For_Rule, On_Facts);
    end Do_Action;

end Bbr_General_Bundle;