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

⟦0106a4a1d⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Scanner, seg_038133, seg_03860c, seg_038a98

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 
└─⟦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 Bounded_String;

package Scanner is

    Inexistant_File : exception;

    Max_Size : constant := 160;

    subtype B_String is Bounded_String.Variable_String (Max_Size);

    type Token is (L_Unknown, L_Integer, L_Identifier, L_String,
                   L_Key_Word, L_Avec, L_Pour, L_Prendre, L_Renvoyer,
                   L_Open_Bracket, L_Close_Bracket, L_Dot, L_Open_Parenthesis,
                   L_Close_Parenthesis, L_Binary_Msg, L_Eof);


    -- ouverture du fichier
    procedure Open (File_Name : String);


    -- fermeture du fichier
    procedure Close;


    -- renvoi VRAI si fin de l'analyse lexical (avec fermeture du fichier)
    function Is_At_End return Boolean;


    -- analyse lexicale du symbole suivant
    procedure Next;


    -- retourne la chaine courante
    function Value return String;


    -- retourne le token courant
    function Symbol return Token;


    -- retourne la ligne courante du fichier
    function Line_Number return Integer;

end Scanner;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=2a rec1=00 rec2=01 rec3=048
        [0x01] rec0=04 rec1=00 rec2=02 rec3=001
    tail 0x215315ab284e678347b3a 0x42a00088462060003