Patent · US Active

Contraction aware parsing system for domain-specific languages

US11036937B2 · kind B2 · utility

1Cited by
4References
17Claims
0Family size

Assignee

Inventors

Key dates

Filing dateNov 8, 2019
Grant dateJun 15, 2021
Priority date
Expiry dateNov 8, 2039

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F40/30
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

Aspects of the present invention disclose a method, computer program product, and system for parsing a domain-specific language (DSL) statement. The method includes one or more processors accessing a DSL statement that includes contracted phrases. The method further includes one or more processors identifying 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. The method further includes one or more processors determining expanded phrases corresponding to the identified one or more contracted phrases based on the annotated domain vocabulary and the grammar rules. The method further includes one or more processors creating 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.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.