Source code converting, method program, and systems for first programming language to a code in a second programming language
Abstract
A system, method and computer program product to provide a technique for achieving high speed and stable dispatch of a code in a programming language based on erasure, the code being converted from a code written in a programming language based on reification. The system, method and computer program product perform a function of adding a synthetic class having the same name as a suffix for name mangling of a normal method in a first programming language based on reification, adding a dummy parameter of the type of the synthetic class to a constructor definition, and adding an appropriate value (normally, null) that matches the type of the dummy parameter to a constructor invocation to convert the code in the first programming language to a code in a second programming language based on erasure.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer implemented method for converting a source code in a first programming language to a code in a second programming language, the method comprising the steps of: preparing the source code in the first programming language; scanning the source code in the first programming language; determining, from the scanning, whether parameters of a target method have type parameters; acquiring a suffix if the target method parameters have the type parameters; generating a syntax class whose name is identical to the acquired syntax; generating a constructor having a dummy parameter of a type of th
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (16)
Non-Patent Literature (5)
- "IBM WebSphere eXtreme Scale Version 7.1.1, Programming Guide" ftp://public.dhe.ibm.com/software/webserver/appserv/library/v71/711-prog-pdf.pdf, Feb. 6, 2012.
- "X10: Performance and Productivity at Scale", http://x10-lang.org, last printed Oct. 12, 2012, pp. 1-2.
- “IBM WebSphere eXtreme Scale Version 7.1.1, Programming Guide” ftp://public.dhe.ibm.com/software/webserver/appserv/library/v71/711—prog—pdf.pdf, Feb. 6, 2012.
- English language Abstract of JP09-190349A, Jul. 2, 1997.
- English language Abstract of JP2000-250755a, Sep. 14, 2000.