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

⟦74ab33cfb⟧ TextFile

    Length: 2053 (0x805)
    Types: TextFile
    Names: »B«

Derivation

└─⟦149519bd4⟧ Bits:30000546 8mm tape, Rational 1000, !projects 93-07-13
    └─ ⟦124ff5788⟧ »DATA« 
        └─⟦this⟧ 

TextFile

with Bbr_Kbs;
with Bbr_Attributes;
with Bbr_Frames;
with Output_Stream;

use Bbr_Kbs, Bbr_Attributes, Bbr_Frames;  
use Output_Stream;

package body Bbr_General_Bundle is

    use Kbs;
    use Kbs.Expression;
    use Kbs.System_Defined_Expression;

    type Rule_Names is (Pair_Ball_And_Boxes, Remove_The_Robots, No_More);

    -------------------------------------------------------------------------------
    package Pair_Ball_And_Boxes_Rule is
        function  Premiss return Fact_Base.Queries;
        procedure Action (The_Pair : Fact_Base.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_Base.Queries;
        procedure Action (Objects : Fact_Base.Collection);
    end Remove_The_Robots_Rule;
    package body Remove_The_Robots_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);
    --
    procedure Do_Action (For_Rule : Rule_Base.Rule_Id;
                         On_Facts : Fact_Base.Collection) is
        Q : constant Fact_Base.Queries := Pair_Ball_And_Boxes_Rule.Premiss;
        R : constant Fact_Base.Queries := Remove_The_Robots_Rule.Premiss;  
    begin
        null; --Rule_Bundle.Do_Action (For_Rule, On_Facts);
    end Do_Action;

end Bbr_General_Bundle;