US 12,367,020 B2
Domain specific inlining for interpreters
Christian Humer, Zurich (CH); and Daniele Bonetta, Amsterdam (NL)
Assigned to Oracle International Corporation, Redwood Shores, CA (US)
Filed by Oracle International Corporation, Redwood Shores, CA (US)
Filed on May 17, 2023, as Appl. No. 18/319,339.
Claims priority of provisional application 63/343,532, filed on May 18, 2022.
Prior Publication US 2023/0376290 A1, Nov. 23, 2023
Int. Cl. G06F 8/41 (2018.01); G06F 9/455 (2018.01)
CPC G06F 8/423 (2013.01) [G06F 8/4443 (2013.01); G06F 9/4552 (2013.01)] 18 Claims
OG exemplary drawing
 
1. A method comprising:
obtaining an interpreter source code comprising a plurality of compiler directives;
performing a host compilation on the interpreter source code to obtain a compiled interpreter, wherein performing host compilation comprises inlining code blocks based on the plurality of compiler directives, wherein performing the host compilation comprises:
initiating compiling the interpreter source code; and
inlining, during compiling the interpreter source code, an interpreter code block according to a compiler inlining policy based on a lack of a compiler exclude directive; and
outputting the compiled interpreter.