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

⟦2e5001444⟧ Ada Source

    Length: 4096 (0x1000)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Verbs_Dictionary, seg_0489ff

Derivation

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

E3 Source Code



with Binary_Trees_Pkg, Bounded_String;
use Bounded_String;

package Verbs_Dictionary is

    Duplicate_Value : exception;

    type Object is private;


    -- Creation d'un objet dictionaire de verbes ------------------------------------------

    procedure Create (Dict : in out Object);


    -- Destruction d'un dictionaire -------------------------------------------------------

    procedure Destroy (Dict : in out Object);


    -- Ajout d'un nouveau verbe -----------------------------------------------------------
    --
    -- Duplicate_Value (Exception) est levee si le nouveau verbe existe deja dans le
    --                             dictionaire.

    procedure Add_New (New_Verb : String; Dict : Object);


    -- Ajout d'un nouveau synonyme pour le dernier verbe ----------------------------------
    --
    -- Duplicate_Value (Exception) est levee si le nouveau synonyme existe deja dans le
    --                             dictionaire.

    procedure Add_Synonym (New_Syn : String; Dict : Object);


    -- Test la presence d'un verbe dans le dictionaire ------------------------------------

    function Exist (Scan_Verb : String; Dict : Object) return Boolean;


    -- Retourne le verbe de base pour un synonyme -----------------------------------------

    function Synonym_From (Scan_Syn : String; Dict : Object) return String;


    -- Affiche un dictionnaire de verbe ---------------------------------------------------
    procedure Dump (Dict : Object);

private

    type Verb is
        record
            Name : Variable_String (32);
            Source : Variable_String (32);
        end record;

    function Compare (A, B : Verb) return Integer;

    package Verbs_Tree is new Binary_Trees_Pkg (Verb, Compare);

    type Object is
        record
            Root : Verbs_Tree.Tree;
        end record;

end Verbs_Dictionary;

E3 Meta Data

    nblk1=3
    nid=2
    hdr6=4
        [0x00] rec0=21 rec1=00 rec2=01 rec3=04c
        [0x01] rec0=24 rec1=00 rec2=03 rec3=001
        [0x02] rec0=10 rec1=3a rec2=39 rec3=195
    tail 0x2174ce762865a5243ebd6 0x42a00088462060003
Free Block Chain:
  0x2: 0000  00 00 03 fc 80 25 20 20 20 20 20 20 20 20 20 20  ┆     %          ┆