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

⟦a40cfa1d1⟧ TextFile

    Length: 836 (0x344)
    Types: TextFile
    Names: »V«

Derivation

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

TextFile

-- This package parses and interprets the following rules
--
--  Only 1 rule:
--  syntax:     value ::= binary more_value
--  semantic:   result = binary.result;
--              if token=scanner.T_Keyword then
--                  message_list = more_value.message
--                  argument_list = more_value.argument
--                  value.result = result <| send(message_list,argument_list)
--              else
--                  value.result = result
--              endif
--
with Object;
package Value is
    type Node is private;
    Empty_Node : constant Node;

    procedure Parse (N : in out Node);
    procedure Unparse (N : in Node);
    function Interpret (N : Node) return Object.Reference;

private
    type Node_Structure;
    type Node is access Node_Structure;
    Empty_Node : constant Node := null;
end Value;