Method and apparatus for automated program-generation
First Claim
Patent Images
1. An automated program-generating apparatus, comprising:
- a transformer for transforming an input specification into a program; and
a referencing unit, connected to said transformer and external to said transformer, for being referenced by said transformer,wherein said transformer includes transformation rules, metarules and an engine;
said engine performing;
an operation (a) of receiving said input specification as an input pattern,an operation (b) of selecting a rule out of said transformation rules and said metarules to which said input pattern is applicable,an operation (c) of obtaining a first output pattern by executing said rule selected in operation (b) if said rule selected in operation (b) is one of said transformation rules,an operation (d) of obtaining a second output pattern by referencing said referencing unit if said rule selected in operation (b) is one of said metarules,an operation (e) of repeating the sequence of operations (b) to (d), using a respective one of said first output pattern and said second output pattern obtained in operation (c) or (d) as said input pattern, until any rule to which said input pattern is applicable cannot be found, andan operation (f) of outputting as said program said input pattern obtained after operation (e).
3 Assignments
0 Petitions
Accused Products
Abstract
An automated program-generating apparatus, includes a program-generating section for receiving an input specification and for transforming the input specification into an output program. A reference device external to the program-generating section is available for referencing by the program-generating section. Metarules in the program-generating section operate with the reference device to transform the input specification into the output program.
-
Citations
21 Claims
-
1. An automated program-generating apparatus, comprising:
-
a transformer for transforming an input specification into a program; and a referencing unit, connected to said transformer and external to said transformer, for being referenced by said transformer, wherein said transformer includes transformation rules, metarules and an engine; said engine performing; an operation (a) of receiving said input specification as an input pattern, an operation (b) of selecting a rule out of said transformation rules and said metarules to which said input pattern is applicable, an operation (c) of obtaining a first output pattern by executing said rule selected in operation (b) if said rule selected in operation (b) is one of said transformation rules, an operation (d) of obtaining a second output pattern by referencing said referencing unit if said rule selected in operation (b) is one of said metarules, an operation (e) of repeating the sequence of operations (b) to (d), using a respective one of said first output pattern and said second output pattern obtained in operation (c) or (d) as said input pattern, until any rule to which said input pattern is applicable cannot be found, and an operation (f) of outputting as said program said input pattern obtained after operation (e). - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An automated program-generating apparatus, comprising:
-
a program-generating section for receiving and transforming an input specification into a program; and a referencing unit, external to and connected to said program-generating section, for being referenced by said program-generating section, wherein said program-generating section includes metarules for dynamically switching between transformation modes, thereby to convert said input specification into said output program through transformation, transformation rules, and an engine; said engine; (a) receiving said input specification as an input pattern, (b) selecting a rule out of said transformation rules and said metarules to which said input pattern is applicable, (c) obtaining a first output pattern by executing said rule selected in operation (b) if said rule selected in operation (b) is one of said transformation rules, (d) obtaining a second output pattern by referencing said referencing unit if said rule selected in operation (b) is one of said metarules, (e) repeating the sequence of operations (b) to (d), using a respective one of said first output pattern and said second output pattern obtained in operation (c) or (d) as said input pattern, until any rule to which said input pattern is applicable cannot be found, and (f) outputting as said program said input pattern obtained after operation (e). - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A method of automating program generation, said method comprising:
-
inputting an input specification; transforming said input specification into a program by applying metarules to said input specification, said metarules referencing an external table; and using an engine, said engine; (a) receiving said input specification as an input pattern, (b) selecting a rule out of said transformation rules and said metarules to which said input pattern is applicable, (c) obtaining a first output pattern by executing said rule selected in operation (b) if said rule selected in operation (b) is one of said transformation rules, (d) obtaining a second output pattern by referencing said referencing unit if said rule selected in operation (b) is one of said metarules, (e) repeating the sequence of operations (b) to (d), using a respective one of said first output pattern and said second output pattern obtained in operation (c) or (d) as said input pattern, until any rule to which said input pattern is applicable cannot be found, and (f) outputting as said program said input pattern obtained after operation (e). - View Dependent Claims (15, 16, 17, 18, 19)
-
-
20. A computer-readable medium storing a program for causing said computer to execute the following:
-
inputting an input specification; transforming said input specification into a program by applying metarules to said input specification, said metarules referencing an external table; and using an engine, said engine; (a) receiving said input specification as an input pattern, (b) selecting a rule out of said transformation rules and said metarules to which said input pattern is applicable, (c) obtaining a first output pattern by executing said rule selected in operation (b) if said rule selected in operation (b) is one of said transformation rules, (d) obtaining a second output pattern by referencing said referencing unit if said rule selected in operation (b) is one of said metarules, (e) repeating the sequence of operations (b) to (d), using a respective one of said first output pattern and said second output pattern obtained in operation (c) or (d) as said input pattern, until any rule to which said input pattern is applicable cannot be found, and (f) outputting as said program said input pattern obtained after operation (e).
-
-
21. A program storage device readable by machine, tangibly embodying a program of instructions executable by the machine to perform a method for automated program generation, said method comprising:
-
inputting an input specification; transforming said input specification into a program by applying metarules to said input specification, said metarules referencing an external table; and using an engine, said engine; (a) receiving said input specification as an input pattern, (b) selecting a rule out of said transformation rules and said metarules to which said input pattern is applicable, (c) obtaining a first output pattern by executing said rule selected in operation (b) if said rule selected in operation (b) is one of said transformation rules, (d) obtaining a second output pattern by referencing said referencing unit if said rule selected in operation (b) is one of said metarules, (e) repeating the sequence of operations (b) to (d), using a respective one of said first output pattern and said second output pattern obtained in operation (c) or (d) as said input pattern, until any rule to which said input pattern is applicable cannot be found, and (f) outputting as said program said input pattern obtained after operation (e).
-
Specification