Use standard C arithmetic and logical operations as you define and use symbols in the LCF. All operators are left-associative. The following table lists these operators in the order of precedence. For additional information about these operators, refer to the C Compiler Reference.
| Precedence | Operators |
|---|---|
| 1 | - ˜ ! |
| 2 | * / % |
| 3 | + - |
| 4 | >> << |
| 5 | == != > < <= >= |
| 6 | & |
| 7 | | |
| 8 | && |
| 9 | || |
To add comments to your file, use the pound character, C-style slash and asterisk characters, or C++-style double-slash characters, in any of these formats:
# This is a one-line comment
/* This is a
multiline comment */
* (.text) // This is a partial-line comment