发明名称 |
Tailored language sets for business level scripting |
摘要 |
A subset of a standardized scripting language can be defined, and a tailored grammar for the subset of the standardized scripting language can be created to match the subset language features. The tailored grammar need not be a subset of a grammar of the standardized scripting language. A subset-specific type system can be provided for the subset of the standardized scripting language such that the subset-specific type system sits on top of a defined type system for the standardized scripting language. A user scripting input can be received via a script editor that employs the subset of the standardized scripting language, the tailored grammar, and the subset-specific type system. The user scripting input can include creating a user interface feature accessing data in one or more objects. Related systems, methods, and computer program products are also described. |
申请公布号 |
US9152388(B2) |
申请公布日期 |
2015.10.06 |
申请号 |
US201313835390 |
申请日期 |
2013.03.15 |
申请人 |
SAP SE |
发明人 |
Hille-Doering Reiner;Jesse Stefan |
分类号 |
G06F9/44;G06F9/455 |
主分类号 |
G06F9/44 |
代理机构 |
Mintz Levin Cohn Ferris Glovsky and Popeo, P.C. |
代理人 |
Mintz Levin Cohn Ferris Glovsky and Popeo, P.C. |
主权项 |
1. A computer program product comprising a non-transitory machine-readable medium storing instructions that, when executed by at least one programmable processor, cause the at least one programmable processor to perform operations comprising:
receiving a user scripting input via a script editor displayed to a user on a displayed of a computing device, the user scripting input comprising a script using a subset language of a standardized scripting language, the subset language being simplified relative to the standardized scripting language while retaining a syntax of the standardized scripting language and comprising a tailored grammar matching features of the subset language without being a subset of a grammar of the standardized scripting language, each of the subset language features being defined within the tailored grammar of the subset to be compatible with a specification of the standardized scripting language, the user scripting input creating a user interface feature accessing data in one or more objects; determining a type for a variable entered as part of the scripting input during input of a character string of the scripting input, the determining comprising use of a subset-specific type system for the subset of the standardized scripting language, the subset-specific type system providing a type inference capability that accesses information about an underlying data structure of the one or more objects, the subset-specific type system adding to a defined type system for the standardized scripting language; and querying a type library to display to the user assistance information for resolving the character string to a correct type and description compatible with the underlying data structure. |
地址 |
Walldorf DE |