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:04] rajit [Production rule attributes] |
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 ===== | ||
Line 18: | Line 17: | ||
The list of production rule attributes recognized by ACT is user-customizable, | 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; | ||
+ | </ | ||