Patent · US Active

Systems and methods for dynamic struct variable creation including inline declaration with dynamic keys

US8621447B1 · kind B1 · utility

0Cited by
10References
20Claims
0Family size

Assignee

Inventors

Key dates

Filing dateAug 25, 2009
Grant dateDec 31, 2013
Priority date
Expiry dateJun 18, 2032

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F8/427
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A parser can be configured to parse source code to generate code for dynamically generating structures at runtime. Any or all of the structure name, keys, and values can be defined dynamically (i.e. at runtime), rather than requiring declaration in the source code. Embodiments include a method in which a source file is parsed to identify an expression creating a dynamic structure with at least one key-value pair. The method can comprise generating a plurality of expressions for creating intermediate data structures which, at runtime, can cause the dynamic structure to be defined as set forth in the declarative expression. The dynamic structure may comprise one or more declared key-value pairs and/or may comprise one or more key-value pairs that are also dynamic.

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