FIELD: information technology.
SUBSTANCE: method of generating syntactically and semantically correct commands includes converting a text Backus-Naur form (BNF), containing a command meta-description, into a relational BNF containing recognisable SUBD command meta-description. A text semantic rule containing a command usage restriction is converted to a relational semantic rule containing a recognisable SUBD command usage restriction. A command is identified and a basic rule is assigned for the identified command, wherein the basic semantic rule consists of a plurality of relational semantic rules. A resultant dynamic structure is formed for the identified command. Elements of the basic semantic rule are identified for the identified command and all elements of all relational semantic rules are applied to the identified command. A syntactically and semantically correct command is then generated.
EFFECT: automation and high accuracy of generating SUBD commands and less amount of computations required to generate SUBD commands.
38 cl, 18 dwg
Authors
Dates
2014-12-10—Published
2013-09-23—Filed