IP Library Patent Application 11752662
Patent Application
App. No. 11/752,662

NATIVE ACCESS TO FOREIGN CODE ENVIRONMENT

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 None
App. No.
11/752,662
Abstract

Mechanisms afford access to a foreign code environment from a native computer programming language. A program includes an attribute or declarative tag identifying foreign code associated with a native program construct. The attribute is subsequently morphed into script code that matches the calling convention and/or semantics of a related native construct.

Claims (26)

1 . A computer programming system, comprising:

an identifier component that identifies an attribute in a native language program that specifies foreign code associated with a native construct; and

a transformation component that transforms the code to match native code calling conventions.

2 . The system of claim 1 , the attribute is specified external to the native construct.

3 . The system of claim 2 , the native construct includes an implementation in the native language.

4 . The system of claim 2 , the native construct is one of a class, method, property, constructor and event.

5 . The system of claim 1 , further comprises a code generation component that generates foreign code that matches native construct semantics.

6 . The system of claim 5 , further comprising a component that optimizes the generated code for execution.

7 . The system of claim 1 , further comprising a component that determines a function name from the native language construct.

8 . The system of claim 1 , further comprising an analysis component that analyzes the code for syntactic and/or semantic errors.

9 . The system of claim 1 , the native language program is an intermediate language program.

10 . The system of claim 1 , the foreign code is browser script code.

11 . A method of program compilation, comprising:

acquiring an intermediate language program including an attribute associated with a member that identifies foreign code; and

transforming the code to match intermediate language calling conventions and member semantics.

12 . The method of claim 11 , further comprising performing syntactic and/or semantic checking of the code for errors.

13 . The method of claim 11 , transforming a static method to a script function.

14 . The method of claim 11 , transforming an instance method to a script function including an additional parameter as a pointer to an object instance on which the method is called.

15 . The method of claim 11 , transforming a property or specially named method to a script function.

16 . The method of claim 11 , transforming an object constructor to a script function that attaches type information to a return value of a generated method.

17 . The method of claim 11 , transforming an event to one or more script functions that enable multiple handlers to be implemented on top of single handler script events.

18 . A computer-readable medium having stored thereon a computer program, comprising:

a representation of a class including a member thereof, and

a representation of a declarative tag external to the member that specifies a browser script function and/or property to facilitate implementation of the member in a browser script environment.

19 . The computer-readable medium of claim 18 , the class and declarative tag are represented in a common intermediate language.

20 . The computer-readable-medium of claim 18 , the member is one of a method, a property, a constructor and an event.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 9, 2014
From: MICROSOFT CORPORATION
To: MICROSOFT TECHNOLOGY LICENSING, LLC
Reel/Frame 034542/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 23, 2007
From: BOZZA, BRUNO S.; MEIJER, HENRICUS JOHANNES MARIA; BECK, STEVEN THOMAS; GOGH, JEFFREY VAN; ZHU, WEI
To: MICROSOFT CORPORATION
Reel/Frame 019334/0548 →