Stream operator in a dynamically typed programming language
US7028289B2 · kind B2 · utility
Assignee
Inventor
Key dates
| Filing date | Oct 12, 2001 |
| Grant date | Apr 11, 2006 |
| Priority date | — |
| Expiry date | Dec 30, 2023 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F8/315
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
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.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.