|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T V
Length: 1104 (0x450)
Types: TextFile
Names: »V«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
└─⟦129cab021⟧ »DATA«
└─⟦this⟧
with Bounded_String;
with Text_Io;
package Lex is
type Token is (Avec, Binary_Message, Identifier, Integer,
Key_Word, L_End, Ok, Pour, Prendre, Renvoyer,
Special, Tiny_String, Unknown, Dot, Open_Bracket,
Close_Bracket, Open_Parenthesis, Close_Parenthesis);
subtype Lex_String is Bounded_String.Variable_String (50);
Fichier_Source : Text_Io.File_Type;
procedure Next_Token;
function Get_Line return Natural;
function Get_Token return Token;
function Get_Value return Lex_String;
procedure Open (Name : in String);
procedure Close (Name : in String);
private
type State_Key is (Normal, Different, Less, Greater, Equal, Tiny_Str,
Special, Less_Equal, Greater_Equal, Identifier,
Integer, Key_Word, Unknown, Operator, Found);
Lex_Token : Token;
Lex_Value : Lex_String;
Lex_Line : Natural := 1;
function In_Reserved_Word (Lex_Value : Lex_String) return Boolean;
procedure Spell_Reserved_Word (Lex_Value : in out Lex_String);
end Lex;