|
|
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: 1091 (0x443)
Types: TextFile
Names: »V«
└─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04
└─⟦d65440be7⟧ »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);
Fichier_Source : Text_Io.File_Type;
procedure Next_Token;
function Get_Token return Token;
function Get_Value return 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 : Bounded_String.Variable_String (50);
function In_Reserved_Word
(Lex_Value : in Bounded_String.Variable_String) return Boolean;
procedure Spell_Reserved_Word (Lex_Value : in out
Bounded_String.Variable_String);
end Lex;