Patent ID: 11861389
Assignee: RED HAT, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A method comprising:
receiving, by a processor and from a first virtual application, a request to execute a specified instruction in a second different virtual application, wherein the first virtual application is associated with a first programming language and a second virtual application is associated with a second different programming language;
creating, using a library of a second virtual application, a target data structure within the second virtual application;
storing, to a template directory in the target data structure, one or more templates identified from the specified instruction;
identifying, from the specified instruction, first syntax features, wherein each first syntax feature defines a respective variable;
generating, using the specified instruction, an abstract syntax tree to derive, for each first syntax feature, a modified definition for the respective variable;
generating, based on the modified definitions, and using the library of the second virtual application, second syntax features that define the respective variables more precisely than the first syntax features;
rendering, using the second virtual application, the specified instruction into the one or more templates, the specified instruction expressed via the second syntax features and their respective variables; and
executing, by the processor, the specified instruction using the second syntax features, wherein executing the specified instruction using the second syntax features results in less CPU cycles than executing the specified instruction using the first syntax features.