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

⟦8859ae44f⟧ TextFile

    Length: 1209 (0x4b9)
    Types: TextFile
    Names: »B«

Derivation

└─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04
    └─ ⟦d65440be7⟧ »DATA« 
        └─⟦this⟧ 

TextFile

with Bounded_String;
package body Symbol_Table is


    String_Max_Size : constant := 80;


    package Symbol is

        type Object is private;


        function Image (Of_The_Object : Object) return String;
        function Make (With_The_String : String; Of_Type : Symbol_Type)
                      return Object;

    private

        type Object is
            record
                The_Name : Bounded_String.Variable_String (String_Max_Size);
                The_Type : Symbol_Type;
            end record;
    end Symbol;



    package Symbol_Tree is

        type Object is private;

        function Find (In_The_Object : Object; S : String) return Boolean;  
        function Make (With_The_String : String; Of_Type : Symbol_Type)
                      return Object;
        procedure Insert (To : Object; S : String; Of_Type : Symbol_Type);

    private

        type Node;

        type Object is access Node;

        type Node is
            record
                The_Symbol : Symbol.Object;
                Left_Son, Right_Son : Object;
            end record;


    end Symbol_Tree;





    package body Symbol is separate;
    package body Symbol_Tree is separate;

end Symbol_Table;