×

Language scoping for modular, flexible, concise, configuration descriptions

  • US 5,500,881 A
  • Filed: 07/12/1993
  • Issued: 03/19/1996
  • Est. Priority Date: 07/12/1993
  • Status: Expired due to Term
First Claim
Patent Images

1. In a computer system for processing a computer program, said computer program including a plurality of functions including a plurality of variables, a method for defining said variables comprising the steps of:

  • A) storing in a static scope a first plurality of variable names corresponding to a first plurality of said variables and a plurality of first values associated with said first plurality of variable names;

    B) storing a dynamic scope a second plurality of variable names corresponding to a second plurality of said variables and a plurality of second values associated with said second plurality of said variable names;

    C) binding at least one of said first and second values to each said variable during evaluation of said functions, said binding step including, with respect to each said variable, the steps ofi) searching for the variable name corresponding to said variable in said static scope and, if found, binding to said variable the one of said first values associated with said corresponding variable name in said static scope; and

    ii) if said corresponding variable name is not found in said static scope, searching for said corresponding variable name in said dynamic scope and, if found, binding to said variable the one of said second values associated with said variable name in said dynamic scope,whereby said static scope takes precedence over said dynamic scope in evaluating said functions.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×