Meta-interpreter
First Claim
1. An interpreter apparatus, comprising:
- parser means for converting an input message into a parse table using a grammar table, said parse table having contents thereof;
processing means cooperatively associated with said parser means for comparing the contents of the parse table to data needed in a condition to execute a named function; and
execution means cooperatively associated with said processing means for executing the named function.
2 Assignments
0 Petitions
Accused Products
Abstract
The present invention includes an interpreter in which a parser examines a message using grammar and lexical tables to produce a parse table. The parse table is compared to data needed in a semantics table to fire a rule. The firing of a rule causes a function table to be evaluated. The function table includes function calls which can perform user desired functions. Among the functions is a generate function which will take the contents of a table and turn it into a message and route the message to a destination where the destination can be a table, process or device. Plural interpreters can be created where each interpreter includes a workspace containing the above-mentioned tables. Each interpreter can perform a different task such as recognizing the meaning of a message in one language and performing some action such as sending out a message in a different language or updating a database. The present invention is particularly suitable for managing a machining workcell including machines from different vendors.
-
Citations
17 Claims
-
1. An interpreter apparatus, comprising:
-
parser means for converting an input message into a parse table using a grammar table, said parse table having contents thereof; processing means cooperatively associated with said parser means for comparing the contents of the parse table to data needed in a condition to execute a named function; and execution means cooperatively associated with said processing means for executing the named function. - View Dependent Claims (2, 3, 4)
-
-
5. A machine workcell, comprising:
-
a first device sending messages relative to a first action performed by or a state of said first device; a first protocol handler, coupled to the first device, for receiving messages from said first device and producing an interpreter message having a meaning associated therewith; a first device specialist, coupled to said first protocol handler, for interpreting the meaning of the interpreter message and producing a cell specialist message; a cell specialist coupled to said first device specialist, for interpreting the meaning and evaluating the cell specialist message, updating a cell status table and producing a device interpreter message; a second device specialist, coupled to said cell specialist, for interpreting the meaning of the device interpreter message and producing a device message; a second protocol handler, coupled to said second device specialist, for receiving the device message and creating a protocol modified device message; and a second device, coupled to said second protocol handler, for receiving the protocol modified device message and performing a second action in dependence on the protocol modified device message. - View Dependent Claims (6, 7, 8, 9, 10, 11)
-
-
12. An interpreter, comprising:
-
a memory storing a data structure including a first workspace which is effective for pointing to a second workspace and including a first table, the first table including a first field, a first entry and a first item and which is effective for pointing to a second table; and a processor coupled to said memory for receiving a message having a meaning associated therewith and using the data structure to perform at least one function in dependence on the meaning of the message. - View Dependent Claims (13, 14, 15, 16, 17)
-
Specification