Syntax
rascal-0.40.13-BOOT2
rascal-tutor-0.19.9
Synopsis
Part of the synopsis that summarizes syntax introduced by this concept.
Syntax
#### Syntax
_MarkedText_
Description
The syntax section is intended to describe syntactic aspects of language constructs. The contents of this section are arbitrary text.
Examples
The syntax section for an if-then statement can be written as:
#### Syntax
`if ( Exp ) Statement;`
Benefits
- Syntax elements are usually "by example" such that you can immediately read what to write.
Pitfalls
- Syntax elements are not yet generated from actual syntax definitions