发明名称 Extension mechanism for scripting language compiler
摘要 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.
申请公布号 US8997070(B2) 申请公布日期 2015.03.31
申请号 US201113327532 申请日期 2011.12.15
申请人 SAP SE 发明人 Klemenz Oliver;Mueller Andreas;Kabala Anna;Zhao Lu
分类号 G06F9/44;G06F9/45 主分类号 G06F9/44
代理机构 Schwegman Lundberg & Woessner, P.A. 代理人 Schwegman Lundberg & Woessner, P.A.
主权项 1. A computer-implemented method comprising: receiving a source code at a compiler on 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; the extension compiler module is further configured to support various contexts by specifying snippet metadata describing the context in which the language is used and define different snippet signatures from different runtime contexts; and generating an executable machine code based on a process of the extension compiler module and the compiler.
地址 Walldorf DE
您可能感兴趣的专利