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

⟦efa19fa8e⟧ Ada Source

    Length: 8192 (0x2000)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Bbr_General_Bundle, package body Dump_Robots_Name_Greta_Rule, package body Pair_Ball_And_Boxes_Rule, package body Remove_The_Robots_Rule, seg_02d0c2, seg_02d102, seg_03b8e6

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

E3 Meta Data

    nblk1=7
    nid=4
    hdr6=6
        [0x00] rec0=22 rec1=00 rec2=01 rec3=00c
        [0x01] rec0=17 rec1=00 rec2=07 rec3=01e
        [0x02] rec0=0d rec1=00 rec2=05 rec3=000
        [0x03] rec0=13 rec1=00 rec2=04 rec3=000
        [0x04] rec0=1a rec1=00 rec2=04 rec3=032
        [0x05] rec0=07 rec1=00 rec2=05 rec3=000
        [0x06] rec0=70 rec1=98 rec2=00 rec3=002
    tail 0x2152610fa841549ed0465 0x42a00088462063c03
Free Block Chain:
  0x4: 0000  00 03 02 f0 80 0d 6c 6c 5f 41 6e 64 5f 42 6f 78  ┆      ll_And_Box┆
  0x3: 0000  00 02 03 fa 80 02 29 3b 02 00 00 00 00 3f 20 20  ┆      );     ?  ┆
  0x2: 0000  00 06 03 fa 80 04 28 43 29 2c 04 00 4d 20 20 20  ┆      (C),  M   ┆
  0x6: 0000  00 00 00 18 80 15 28 28 43 6f 6c 6f 75 72 20 3d  ┆      ((Colour =┆