METHOD AND APPARATUS FOR EXTENDING A PROGRAM ELEMENT IN A DYNAMICALLY TYPED PROGRAMMING LANGUAGE

Patent №

US 6,925,640

Granted

2005-08-02

Filed 2001

Owner

SUN MICROSYSTEMS, INC.

Lab

AI components

1

hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

09977508

Embodiments of the present invention are directed to a method and apparatus for extending a program element in a dynamically typed programming language. In one embodiment, a program element is extended without altering the source code defining the program element. An extend structure is used to extend a program element in a particular program. In one embodiment, the program element is a function. The function is extended by adding code to be executed by the function. In another embodiment, the program element is an enumeration. The enumeration is extend by adding additional constants to the enumeration. In another embodiment, the program element is a class. In one embodiment, a class is extended by adding code to the constructor of the class. In another embodiment, a class is extended by adding member variables to the class. In yet another embodiment, a class is extended by adding member functions to the class.

AI hardwareG06F 8/70G06F 9/4486G06F 9/449

AI classification

AI hardware0.99
Knowledge representation0.03
Natural language0.01
Evolutionary computation0.00
Vision0.00
Machine learning0.00
Planning0.00
Speech0.00

Ownership

SUN MICROSYSTEMS, INC.

assignment · 122680260

Assignors

ALLISON, DAVID S.

On an employer assignment, the assignors are typically the inventors.

© 2026 NYSGPT2525 LLC