IP Library Granted Patent US 7,028,289
Granted Patent B2
US 7,028,289 · App. 09/977,507 · Granted Apr 11, 2006

Stream operator in a dynamically typed programming language

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,028,289
App. No.
09/977,507
Granted
Apr 11, 2006
Kind
B2
Abstract

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 fromvalue→tovalue. 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.

Claims (23)

1. A method executing on a computer readable medium for implementing a stream operator built into an environment comprising:

determining if an I/O operation in said environment having said stream operator occurs; and

performing said I/O operation with said stream operator is said I/O operation occurs,

wherein the environment supports dynamic typing.

2. The method executing on a computer readable medium of claim 1 wherein said stream operator allows a value of one type to be streamed to a value of another type.

3. The method executing on a computer readable medium of claim 1 wherein said stream operator allows a value of one type to be streamed to a value of type stream.

4. The method executing on a computer readable medium of claim 1 wherein said stream operator allows a value of type stream to be streamed to a value of another type.

5. The method executing on a computer readable medium of claim 2 wherein said one type is of any type supported by said environment.

6. The method executing on a computer readable medium of claim 4 wherein said any type can be modified depending on the type of operands of said environment.

7. The method executing on a computer readable medium of claim 1 wherein said stream operator is used to access files.

8. The method executing on a computer readable medium of claim 1 wherein said stream operator is used to connect to a network.

9. A computer program product comprising:

a computer useable medium having computer readable program code embodied therein configured to implement a stream operator built into an environment, said computer program product comprising:

computer readable code configured therein to cause a computer to determine if an I/O operation in said environment having said stream operator occurs; and

computer readable code configured therein to cause a computer to perform said I/O operation with said stream operator if said I/O operation occurs,

wherein the environment supports dynamic typing.

10. The computer program product of claim 9 wherein said stream operator allows a value of one type to be streamed to a value of another type.

11. The computer program product of claim 9 wherein said stream operator allows a value of one type to be streamed to a value of type stream.

12. The computer program product of claim 9 wherein said stream operator allows a value of type stream to be streamed to a value of another type.

13. The computer program product of claim 10 wherein said one type is of any type supported by said environment.

14. The computer program product of claim 13 wherein said any type can be modified depending on the type of operands of said environment.

15. The computer program product of claim 9 wherein said stream operator is used to access files.

16. The computer program product of claim 9 wherein said stream operator is used to connect to a network.

Assignments (2)
MERGER AND CHANGE OF NAME Recorded Dec 14, 2015
From: ORACLE USA, INC.; SUN MICROSYSTEMS, INC.; ORACLE AMERICA, INC.
To: ORACLE AMERICA, INC.
Reel/Frame 037280/0221 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 12, 2001
From: ALLISON, DAVID S.
To: SUN MICROSYSTEMS, INC.
Reel/Frame 012266/0693 →