Invention Application
US20090055800A1 Modular Integration of Distinct Type Systems for the Compilation of Programs
失效
用于汇编程序的不同类型系统的模块化集成
- Patent Title: Modular Integration of Distinct Type Systems for the Compilation of Programs
- Patent Title (中): 用于汇编程序的不同类型系统的模块化集成
-
Application No.: US11844315Application Date: 2007-08-23
-
Publication No.: US20090055800A1Publication Date: 2009-02-26
- Inventor: Igor Peshansky , Mukund Raghavachari
- Applicant: Igor Peshansky , Mukund Raghavachari
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Main IPC: G06F9/44
- IPC: G06F9/44

Abstract:
A method for extending functionality of a compiler includes: receiving a first source file written in a language that supports multiple system types, wherein the first source file includes a plurality of source constructs associated with parameter types of the multiple type systems; annotating each of the plurality of source constructs with the type system from one of the multiple type systems and precise parameter type to which its associated type system belongs; retrieving type system rules corresponding to each type system referred to in the first source file from a type system loader; verifying, using the type system rules, that instances of use of variables, expressions, and methods in the first source file are appropriate with respect to the type system of annotated types associated with the source constructs; and compiling the first source file to produce a second source file including type information retained from the first source file.
Public/Granted literature
- US08196121B2 Modular integration of distinct type systems for the compilation of programs Public/Granted day:2012-06-05
Information query