×

Vectorized LR parsing of computer programs

  • US 5,193,192 A
  • Filed: 08/23/1990
  • Issued: 03/09/1993
  • Est. Priority Date: 12/29/1989
  • Status: Expired due to Term
First Claim
Patent Images

1. In a machine-effected method of operating a parser portion of a compiler for parsing a computer program in an input stream, said computer program being written in a predetermined programming language having a given grammar, including the machine-executed steps of:

  • automatically generating a parser state table means having a plurality of state indicating entries, one entry means for indicating each possible state of the parser, each of said state indicating entries including a declaration of said predetermined programming language in said given grammar;

    automatically generating a linearized vector table means having an input table including a given plurality of input entries respectively related to the parser state table means entries such that one or more of the input entries relate to a one of the state indicating entries, respectively, and an output table having a predetermined plurality of output entries, arranged said output entries to be identically addressable within the output table as the input entries are respectively addressed within the input table, said predetermined plurality of being equal to said given plurality; and

    parsing the computer program in the input stream using the established parser state table means and said linearized table means.

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