Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
動的型付け言語で記述されたソースコードを静的型付け言語で記述されたターゲットコードに変換し、実行する方法、並びにそのコンピュータ・プログラム及びコンピュータ・システム
Document Type and Number:
Japanese Patent JP4912452
Kind Code:
B2
Abstract:
The present invention provides a method for converting source code written in a dynamically typed language into target code written in a statically typed language. The method includes the step of generating in a storage device the target code from the source code, the step of generating the target code including storing in a buffer a signature of a function/method used by a caller in the source code. In this step, generation of an interface class is delayed to a time point immediately before execution of a part of the target code corresponding to the function/method call by the caller, the interface class being needed to generate the caller and serving as an interface in the statically typed language. The method also includes the step of generating in the storage device a consolidated interface class for all signatures stored in the buffer, and loading the generated consolidated interface class from the storage device. In this step, all the signatures in the buffer are deleted upon generation of the consolidated interface class.

Inventors:
Michiaki Tachibori
Application Number:
JP2009270506A
Publication Date:
April 11, 2012
Filing Date:
November 27, 2009
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
INTERNATIONAL BUSINESS MASCHINES CORPORATION
International Classes:
G06F9/45; G06F9/44
Domestic Patent References:
JP4317133A
JP63271532A
JP2004326807A
Foreign References:
WO2009002683A2
Other References:
千葉 滋、立堀道昭、佐藤芳樹、中川清志,リフレクションの高速化技術,コンピュータソフトウェア,日本,日本ソフトウェア科学会,2004年11月25日,Vol.21,No.6,pp.9~11
中原 慶,Javaライクな“JSR標準”スクリプト言語 Groovy入門,WEB+DB PRESS,日本,株式会社技術評論社,2005年 1月15日,Vol.24,p.53
Attorney, Agent or Firm:
Takeshi Ueno
Tasaichi Tanae
Yoshihiro City