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: ┃ T V

⟦3fd9dfb8c⟧ TextFile

    Length: 1758 (0x6de)
    Types: TextFile
    Names: »V«

Derivation

└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 

TextFile

with Block;  
with Custom;
with Message;
with Object;  
with Parameters;
with Scanner;
with Symbols;

package Block_Class is

    procedure Create_Program_Block;
    function Create return Object.Reference;
    procedure Unparse (The_Block : Object.Reference);
    procedure Close;

    procedure New_Symbols_Table;
    function Table_Created return Boolean;
    procedure Set_Predefined_Identifiers;
    procedure Init_Symbol (The_Symbol : Scanner.Lexeme);
    procedure Set_Value (The_Symbol : Scanner.Lexeme;
                         The_Value : Object.Reference);
    function Get_Value (The_Symbol : Scanner.Lexeme) return Object.Reference;
    procedure New_Arg_List;
    procedure Set_Node (For_Block : Object.Reference; The_Node : Block.Node);
    procedure Set_Keyword (The_Keyword : Scanner.Lexeme);
    procedure Set_Argument (The_Argument : Scanner.Lexeme);

    function Send (To_Object : Object.Reference; The_Message : Scanner.Lexeme)
                  return Object.Reference;
    procedure Send (To_Object : Object.Reference;
                    The_Message : in out Message.Selector;
                    With_Arguments : in out Parameters.List;
                    Back_Object : out Object.Reference);

private

    type Size is range 0 .. Custom.Block_Max_Number;
    type Block_Def is
        record
            Free : Boolean := True;
            Parse_Node : Block.Node := Block.Empty_Node;
            Local_Symb : Symbols.Table := Symbols.Nil;
            Keywords : Message.Selector := Message.Nil;
            Arguments : Message.Selector := Message.Nil;
            Enclosing : Size := 0;
        end record;
    type Block_Map is array (Size) of Block_Def;
    Blocks : Block_Map;
    Current_Block : Size := 0;

end Block_Class;