- The expression of precedence 1000 (i.e. belonging to
syntactic category term(1000)), which is written
denotes the term ','(X,Y)
in standard
syntax.
- The parenthesized expression (belonging to syntactic category
term(0))
denotes simply the term X
.
- The curly-bracketed expression (belonging to syntactic category
term(0))
denotes the term {}(X)
in standard syntax.
- Note that, for example,
-3
denotes a number whereas -(3)
denotes a compound term that has - /1
as its
principal functor.
- The character ‘"’ within a string must be written duplicated: ‘""’.
Similarly for the character ‘'’ within a quoted atom.
- Backslashes in strings, quoted atoms, and integers written in
‘0'’ notation denote escape sequences.
- A name token declared to be a prefix operator will be treated as
an atom only if no term-read-in can be read by treating it
as a prefix operator.
- A name token declared to be both an infix and a postfix operator
will be treated as a postfix operator only if no
term-read-in can be read by treating it as an infix
operator.
- The whitespace following the full stop is not considered part of the full
stop, and so it remains in the input stream.