DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

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

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦9a5d39947⟧ Ada Source

    Length: 4096 (0x1000)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Bbr_General_Bundle, package body Pair_Ball_And_Boxes_Rule, package body Remove_The_Robots_Rule, seg_02baa9

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 

E3 Source Code



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.Condition;

    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

    begin
        Rule_Bundle.Do_Action (For_Rule, On_Facts);
    end Do_Action;

end Bbr_General_Bundle;

E3 Meta Data

    nblk1=3
    nid=3
    hdr6=4
        [0x00] rec0=21 rec1=00 rec2=01 rec3=02a
        [0x01] rec0=18 rec1=00 rec2=02 rec3=000
        [0x02] rec0=11 rec1=00 rec2=03 rec3=000
    tail 0x21523fc4e83f078e057f0 0x42a00088462063c03
Free Block Chain:
  0x3: 0000  00 00 00 25 80 02 6e 3b 02 00 00 00 00 17 65 6e  ┆   %  n;      en┆