The present invention provides a method and apparatus for implementation of an
input/output stream operator in a dynamically typed language. This operator is
built into the language, and allows a value of one type to be streamed to a value
of another type by taking the form fromvaluetovalue. Since the programming
language is dynamic, the type of values on either side of the operator
is of any supported type, and can be modified depending upon the type of operands.
For example, a value of any type can be streamed to a value of type "stream". In
this instance, the destination value is attached to, for example, a device such
as a terminal or disk drive. A value of type "stream" can also be streamed into
a value of any type. In this instance an external source is inputted, for example,
into a program.