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

⟦52f12d9e6⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, generic, package Parameter_Parser_Defs, seg_02423a

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



--| @SUMMARY This package contains a large amount of stuff from the
--|          parameter parser that do not require to be generic. It
--|          has been separated in order to minimize the size of the code
--|          in the case of multiple instantiations.
--|
with Text_Io;
with String_Utilities;
package Parameter_Parser_Defs is

    package Su renames String_Utilities;
    package Float_Io is new Text_Io.Float_Io (Float);

    type Text  is access String;
    type Image is access String;

    type Iteration_Status is
       (Ok, Ambiguous_Name, Undefined_Name, Undefined_Id, Literal_Has_Value,
        Missing_Name, Has_No_Value, Tilded_Value, Tilded_Literal,

        -- Numeric Conversion

        Malformed_Boolean, Malformed_Integer, Malformed_Float,

        -- Enumeration Values

        Malformed_Enumeration, Ambiguous_Enumeration, Undefined_Enumeration,

        -- Generic Values

        Malformed_Generic_Value);

    type Token_Kind is (Arrow, Bar, Dots, Tilde, Separator, End_String, Other);

    Boolean_Value : constant array (Boolean) of Image :=
       (new String'("False"), new String'("True"));


    -- Normalized Option Names are upper case with a lower bound of 1

    function Deslash (S : String) return String;

    function Clean (S : String) return String;

    function Normal (S : String) return String;

    function May_Be (Arg, Val : String) return Boolean;

    generic
        type Enumeration is (<>);

    procedure Unique_Prefix (S      :     String;
                             Result : out Enumeration;
                             Prefix : out Boolean;
                             Unique : out Boolean);

end Parameter_Parser_Defs;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=21 rec1=00 rec2=01 rec3=018
        [0x01] rec0=19 rec1=00 rec2=02 rec3=000
    tail 0x2151ec74c839c4a64cb9b 0x42a00088462061e03