Extension mechanism for scripting language compiler
AssigneeSap SE
InventorsOliver Klemenz, Andreas Mueller, Anna Kabala, Lu Zhao
Life of this patent
Estimating the term…
Abstract
A method for forming an extension to a scripting language compiler is disclosed. A compiler of a machine receives a source code that has a new keyword to a scripting language of the compiler. An extension compiler module processes the source code to support the new keyword. The compiler and the extension compiler module generate an executable machine code based on a process of the extension compiler module and the compiler.
Claims20
A computer-implemented method comprising:
- receiving a source code at a compiler of a machine, the source code comprising a new keyword to a scripting language of the compiler;
- processing, using a processor of the machine, the source code with an extension compiler module configured to support the new keyword;
- and
- generating an executable machine code based on a process of the extension compiler module and the compiler.
A system comprising:
- a compiler of a machine configured to receive a source code comprising a new keyword to a scripting language of the compiler;
- an extension compiler module coupled to the compiler, the extension compiler module configured to support the new keyword and process the source code,
- the compiler and extension compiler module configured to generate an executable machine code based on the source code.
A non-transitory machine readable medium embodying a set of instructions that, when executed by one or more processors, causes the processor to perform a method, the method comprising:
- receiving a source code at a compiler of a machine, the source code comprising a new keyword to a scripting language of the compiler;
- processing the source code with an extension compiler module configured to support the new keyword without having to modify the syntax and semantic of the source code;
- and
- generating an executable machine code based on a process of the extension compiler module and the compiler.
Dependencies are inferred from the claim text.