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

⟦9b5e719cf⟧ Ada Source

    Length: 12288 (0x3000)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, generic, package Generic_Kbs, seg_02cc80

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 Generic_Expression;
with Generic_Fact_Base;
with Generic_Rule_Base;
with Generic_Predicate;

generic

    Max_Frame_Count                : Positive := 200;
    Max_Slots                      : Positive := 20;
    Max_Condition_Elements_By_Rule : Positive := 10;  
    Max_Condition_Elements         : Positive := 200;
    Max_Rules                      : Positive := 50;

    type User_Defined_Expression_Operators is (<>);

    with function User_Defined_Evaluate
                     (Using_Operator : User_Defined_Expression_Operators;
                      Left, Right    : Integer) return Integer is <>;

    with function User_Defined_Image
                     (Op : User_Defined_Expression_Operators) return String is
       User_Defined_Expression_Operators'Image;

    type User_Defined_Predicate_Operators is (<>);

    with function User_Defined_Match
                     (Using_Operator : User_Defined_Predicate_Operators;
                      Value          : Integer;
                      Against        : Integer) return Boolean is <>;

    with function User_Defined_Image
                     (Op : User_Defined_Predicate_Operators) return String is
       User_Defined_Predicate_Operators'Image;

    type Rule_Bundles is (<>);

package Generic_Kbs is

    package Expression is  
       new Generic_Expression
              (User_Defined_Operators => User_Defined_Expression_Operators,
               User_Defined_Evaluate  => User_Defined_Evaluate,
               User_Defined_Image     => User_Defined_Image);

    package Predicate is new Generic_Predicate
                                (User_Defined_Operators =>
                                    User_Defined_Predicate_Operators,
                                 User_Defined_Match     => User_Defined_Match,
                                 User_Defined_Image     => User_Defined_Image,
                                 Expression_Object      => Expression.Object,
                                 Integer_Expression     => Expression.Value,
                                 Alias_Expression       => Expression.Value,
                                 Evaluate               => Expression.Evaluate,
                                 Put                    => Expression.Put);

    package Fact_Base is  
       new Generic_Fact_Base (Max_Frame_Count  => Max_Frame_Count,
                              Max_Slots        => Max_Slots,
                              Predicate_Object => Predicate.Object,
                              Null_Predicate   => Predicate.Null_Predicate,
                              Predicate_Match  => Predicate.Match,
                              Predicate_Put    => Predicate.Put);

    package Rule_Base is
       new  
           Generic_Rule_Base
              (Max_Rules                      => Max_Rules,
               Max_Condition_Elements_By_Rule => Max_Condition_Elements_By_Rule,
               Max_Condition_Elements         => Max_Condition_Elements,
               Rule_Bundles                   => Rule_Bundles,
               Fact_Name                      => Fact_Base.Object,
               Fact_Collection                => Fact_Base.Collection,
               Empty_Fact_Collection          => Fact_Base.Empty_Collection,
               Fact_Put                       => Fact_Base.Put,
               Fact_Query                     => Fact_Base.Query,
               Null_Fact_Query                => Fact_Base.Null_Query,
               Fact_Queries                   => Fact_Base.Queries,
               Null_Premiss                   => Fact_Base.Null_Premiss,
               Retrieve                       => Fact_Base.Retrieve,
               Queries_Put                    => Fact_Base.Put);

end Generic_Kbs;

E3 Meta Data

    nblk1=b
    nid=7
    hdr6=c
        [0x00] rec0=1d rec1=00 rec2=01 rec3=024
        [0x01] rec0=01 rec1=00 rec2=05 rec3=042
        [0x02] rec0=16 rec1=00 rec2=04 rec3=056
        [0x03] rec0=0b rec1=00 rec2=0b rec3=04a
        [0x04] rec0=11 rec1=00 rec2=03 rec3=068
        [0x05] rec0=04 rec1=00 rec2=0a rec3=000
        [0x06] rec0=14 rec1=00 rec2=06 rec3=088
        [0x07] rec0=01 rec1=00 rec2=02 rec3=046
        [0x08] rec0=17 rec1=00 rec2=09 rec3=000
        [0x09] rec0=06 rec1=00 rec2=07 rec3=000
        [0x0a] rec0=87 rec1=5d rec2=d0 rec3=000
    tail 0x215255d9c840c7b365db3 0x42a00088462063c03
Free Block Chain:
  0x7: 0000  00 09 00 44 00 22 20 20 20 20 65 6e 64 20 53 79  ┆   D "    end Sy┆
  0x9: 0000  00 02 03 fc 80 2d 3a 20 45 78 70 72 65 73 73 69  ┆     -: Expressi┆
  0x2: 0000  00 06 00 2d 80 04 65 63 74 3b 04 00 23 20 20 20  ┆   -  ect;  #   ┆
  0x6: 0000  00 08 03 fc 80 0e 44 69 66 66 65 72 65 6e 74 5f  ┆      Different_┆
  0x8: 0000  00 00 00 1a 80 17 20 20 6e 65 77 20 47 65 6e 65  ┆        new Gene┆