Description of the language R++ from http://www.research.att.com/sw/tools/r++/ :

R++ extends the C++ language with a single new programming construct -- the rule. In addition to data-members and member functions, R++ adds a new kind of member to C++ classes namely "member rules". A rule is a statement composed of a condition and an action that specifies what to do when the condition becomes true. Whenever some program data changes, rules whose conditions involve that data are examined, and if a rule's condition evaluates to true, its action is executed. The action may of course modify data and therefore trigger other rules. Currently R++ is implemented as a pre-processor. It translates R++ rules into C++ code.


CategorySystem, CategoryLanguage | Contributions by EelcoVisser

Revision: r1.1 - 25 Oct 2001 - 14:24 - EelcoVisser
Transform > ObjectOrientedRules
Copyright © 1999-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback