Patent Document ID: 9361075
Application ID: 14538959

Base Claim:
1. A computer program product for parsing a domain-specific language (DSL) statement, the computer program product comprising: one or more computer readable storage media and program instructions stored on the one or more computer readable storage media, the program instructions comprising: program instructions to access a DSL statement that includes contracted phrases; program instructions to identify one or more contracted phrases in the DSL statement utilizing an annotated domain vocabulary for a DSL associated with the DSL statement and grammar rules for the DSL; program instructions to determine expanded phrases corresponding to the identified one or more contracted phrases based on the annotated domain vocabulary and the grammar rules; program instructions to create an expanded abstract syntax tree (AST) that is representative of the DSL statement with the determined expanded phrases replacing the identified one or more contracted phrases; determine whether the expanded AST includes any contracted phrases; and responsive to determining that the expanded AST does include contracted phrases, identify one or more contracted phrases in the expanded AST utilizing the annotated domain vocabulary for the DSL and the grammar rules for the DSL.

---

Claim 4:
4. The computer program product of claim 1 , wherein the program instructions to determine expanded phrases corresponding to the identified one or more contracted phrases based on the annotated domain vocabulary and the grammar rules, further comprise program instructions to: expand the one or more identified contracted phrases according to the domain vocabulary for the DSL.