Patent · US Expired

Object oriented framework for creating new emitters for a compiler

US5911076A · kind A · utility

15Cited by
6References
31Claims
0Family size

Assignee

Inventors

Key dates

Filing dateJun 14, 1993
Grant dateJun 8, 1999
Priority date
Expiry dateJun 14, 2013

Classification

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

Abstract

An emitter framework including several classes of support objects and a generic emitter class that can be subclassed to produce a new emitter for a compiler. The input to the framework is a first intermediate data structure called an abstract syntax graph which is produced by a parser within the compiler from an interface definition file. The new emitter converts the first intermediate data structure to the desired output file. The first intermediate data structure and a set of entry classes which correspond to elements in the interface definition file are input to an object graph builder. The object graph builder translates the first intermediate data structure to a second intermediate data structure called the object graph by creating instances from the set of entry classes. Typically, a new instance of a user-defined subclass of the emitter class is created by subclassing, the new emitter object instance translates the second intermediate data structure to the desired output file. Additionally, the emitter can be changed by creating a new subclass of at least one of the entry classes by subclassing so that the second intermediate data structure created by the object graph builde…

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