Code converting method, program, and system
Abstract
A computer-implemented method, system, and article of manufacture for processing a programming language, which is able to describe data conversion of data input by an iterator. The method includes: converting iterator code of the programming language to a generator code in an intermediate language that includes a generator as an operator; reading a consumer side code; and overwriting code by inline substitution between the consumer side code and the generator code.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for processing a programming language able to describe data conversion of data input by an iterator, said method comprising: converting iterator code of the programming language to a generator code in an intermediate programming language including a generator as an operator, wherein the intermediate programming language differs from the programming language, and wherein the generator code comprises one or more yield statements, and wherein the conversion comprises recursively processing a subexpression of said iterator code; reading a consumer code in the programm
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 (4)
Non-Patent Literature (2)
- Noll, "Writing an Hadoop MapReduce Program in Python, Sep. 21, 2007, pp. 1-24".
- Watt, "A Technique for Generic Iteration and Its Optimization", Sep. 16, 2006, pp. 76-86.