next up previous contents
Next: Language Syntax Up: The Prototyping Environment Previous: The Design History

Constraints and Update Rules Compiler

A compiler is provided to generate C++ code for the constraints and the update rules. First, the syntax of the language that is used to describe the constraints and the update rules is described. Second, the generated code is determined.

Using a compiler instead of generic on-line evaluator for the constraints and the update rules has the following advantages:

On the other hand, it has the following disadvantages:

Notice that the changes in the constraints or the update rules are not frequent, so recompiling the system is not a big problem. Also, the syntax used is very simple; therefore the compiler for such language is not difficult to implement.





Matanya Elchanani
Wed Dec 18 17:00:21 EST 1996