Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
language:attributes [2024/08/07 07:02] rajit |
language:attributes [2024/08/07 07:11] (current) rajit [Attributes] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Attributes ====== | ====== Attributes ====== | ||
- | ACT provides a mechanism to specify user-customizable // | + | ACT provides a mechanism to specify user-customizable // |
+ | ===== Production rule attributes ===== | ||
Production rule attributes are specified in the following way: | Production rule attributes are specified in the following way: | ||
Line 14: | Line 15: | ||
* [[tools: | * [[tools: | ||
* [[tools: | * [[tools: | ||
+ | |||
+ | The list of production rule attributes recognized by ACT is user-customizable, | ||
+ | |||
+ | ===== Instance attributes ===== | ||
+ | |||
+ | The other category of attributes is the //instance attribute// | ||
+ | |||
+ | The syntax is: | ||
+ | <code act> | ||
+ | bool a; | ||
+ | a @ [attrib1=value1; | ||
+ | </ | ||