An easy and uniform mechanism in programming language, which is to fulfill such requirements or functions as active shift of calculating or dispatch mode, active and timely alarms and active dynamic modification or self-adjustable steps, will be highly desirable. Rules defining them are active rules, of which ECA rule is the commonly recognized one.The paper studies architecture of active mechanism on the basis of Source language and object model of object-oriented language. The active mechanism is comprised of two subsystem-Compiler and Executor. In each subsystem, the paper analyses its form, working process, user's model and typical algorithms from the point of object-oriented and technology of active mechanism separately.The paper involves the conception of Internal-procedure and External-procedure, as well the study of method of rule termination analysis in search of active mechanism.
|