# US 9,355,189 B2 · Determining dependencies during macro expansion

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 9,355,189 B2
- Document ID: US9355189B2
- Status: Granted
- Kind: B2
- Application number: 14/252,038
- Filed: 2014-04-14
- Published: 2014-08-07
- Granted: 2016-05-31
- Earliest claimed: 2011-05-31
- Assignees: CA, Inc.
- Applicants: CA, Inc.
- Inventors: Tad A. Deffler
- Web page: https://patentgrep.com/patent/US9355189B2

## CPC

- G06F 16/30: of unstructured textual data (document management systems G06F16/93)
- G06F 8/427: {Parsing}
- G06F 8/433: {Dependency analysis; Data or control flow analysis}
- G06F 16/90: Details of database functions independent of the retrieved data types
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In certain embodiments, a parser parses a formula to yield one or more functions, at least one function comprising a dependent value of a dependent object. One or more macro handlers configured to execute the functions are determined. At least one macro handler is instructed to register with one or more dominant objects on behalf of the dependent object, where the dominant objects are used to evaluate the dependent value.

## Claims

### Claim 1

A method comprising:
receiving, at a macro handler, a register instruction to register with one or more dominant objects of a first function on behalf of at least one dependent object, a dependent value of the at least one dependent object depending on one or more dominant values of the one or more dominant objects;
in response to receiving the register instruction:
identifying, by the macro handler, the one or more dominant objects comprising input for the first function;
registering with the one or more dominant objects on behalf of the at least one dependent object; and
instructing the one or more dominant objects to notify the at least one dependent object of a change in a dominant value of the dominant object;
receiving an instruction to remove the registration with the one or more dominant objects, the instruction sent in response to receiving a formula comprising a second function differing from the first function; and
removing the registration.

### Claim 2 (depends on 1)

The method of claim 1, wherein the dominant value is necessary to calculate the dependent value.

### Claim 3 (depends on 1)

The method of claim 1, wherein the register instruction is received from a parser.

### Claim 4 (depends on 1)

The method of claim 1, wherein the formula comprises a next formula, and further comprising an initial formula that includes the first function that indicates the dominant value to be used as input and may be used to obtain the dominant value.

### Claim 5 (depends on 1)

The method of claim 1, wherein the dominant object is a table, and the dependent objects comprise columns of the table.

### Claim 6

A computer configured to access a storage device, the computer comprising:
a processor; and
a non-transitory, computer-readable storage medium storing computer-readable instructions that when executed by the processor cause the computer to perform:
receiving, at a macro handler, a register instruction to register with one or more dominant objects of a first function on behalf of at least one dependent object, a dependent value of the at least one dependent object depending on one or more dominant values of the one or more dominant objects;
in response to receiving the register instruction:
identifying, by the macro handler, the one or more dominant objects comprising input for the first function;
registering with the one or more dominant objects on behalf of the at least one dependent object; and
instructing the one or more dominant objects to notify the at least one dependent object of a change in a dominant value of the dominant object;
receiving an instruction to remove the registration with the one or more dominant objects, the instruction sent in response to receiving a formula comprising a second function differing from the first function; and
removing the registration.

### Claim 7 (depends on 6)

The computer of claim 6, wherein the dominant value is necessary to calculate the dependent value.

### Claim 8 (depends on 6)

The computer of claim 6, wherein the register instruction is received from a parser.

### Claim 9 (depends on 6)

The computer of claim 6, wherein the formula comprises a next formula, and further comprising an initial formula that includes the first function that indicates the dominant value to be used as input and may be used to obtain the dominant value.

### Claim 10 (depends on 6)

The computer of claim 6, wherein the dominant object is a table, and the dependent objects comprise columns of the table.

### Claim 11

A computer program product comprising:
a non-transitory computer-readable storage medium having computer-readable program code embodied therewith, the computer-readable program code comprising:
computer-readable program code configured to receive, at a macro handler, a register instruction to register with one or more dominant objects of a first function on behalf of at least one dependent object, a dependent value of the at least one dependent object depending on one or more dominant values of the one or more dominant objects;
computer-readable program code configured to, in response to receiving the register instruction:
identify, by the macro handler, the one or more dominant objects comprising input for the function;
register with the one or more dominant objects on behalf of the at least one dependent object; and
instruct the one or more dominant objects to notify the at least one dependent object of a change in a dominant value of the dominant object;
computer-readable program code configured to receive an instruction to remove the registration with the one or more dominant objects, the instruction sent in response to receiving a formula comprising a second function differing from the first function; and
computer-readable program code configured to remove the registration.

### Claim 12 (depends on 11)

The computer program product of claim 11, wherein the dominant value is necessary to calculate the dependent value.

### Claim 13 (depends on 11)

The computer program product of claim 11, wherein the register instruction is received from a parser.

### Claim 14 (depends on 11)

The computer program product of claim 11, wherein the formula comprises a next formula, and further comprising an initial formula that includes the first function that indicates the dominant value to be used as input and may be used to obtain the dominant value.

### Claim 15 (depends on 11)

The computer program product of claim 11, wherein the dominant object is a table, and the dependent objects comprise columns of the table.
