Patents
US 8,627,281 B2#13776171 Most CitedActiveUnited States (USPTO)Utility

Method, computer program and computer system for converting source code written in dynamically typed language into target code written in statically typed language and executing target code

8Forward Citations (#13776171 Global)
0.7/yrCitation Velocity (#11474898 Global)
1.60Citation PageRank (#20689448 Global)
16Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

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.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 8.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for converting source code written in a dynamically typed language into target code written in a statically typed language, the method comprising the steps, executed by a computer, of: generating in a storage device the target code from the source code, the step of generating the target code in turn comprising storing in a buffer a signature of a function/method used by a caller in the source code, wherein 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 in

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (5)

  • "SugerCRM-Commmercial Open Source CRM" downloaded from http://www.sugarcrm.com/crm/ on Nov. 19, 2010.
  • "The Reflection API", downloaded from http://download.oracle.com/javase/tutorial/reflect/ on Nov. 20, 2010.
  • Ancona et al., "RPython-a Step Towards Reconciling Dynamically and Statically Typed OO Languages", 2007 ACM, DLS'07, Oct. 22, 2007, Montréal, Quebéc, Canada, pp. 1-12; .
  • Ancona et al., "RPython—a Step Towards Reconciling Dynamically and Statically Typed OO Languages", 2007 ACM, DLS'07, Oct. 22, 2007, Montréal, Quebéc, Canada, pp. 1-12; <http://dl.acm.org/citation.cfm?doid=1297081.1297091>.
  • Baars et., "Typing Dynamic Typing", 2002 ACM, ICFP'02, 2002, Pittsburgh, Pennsylvania, USA, pp. 1-10; .