-
Notifications
You must be signed in to change notification settings - Fork 0
Pragmas
Pragmas are instructions given to the interpreter and affect its behavior during interpretation and translation time. Pragmas apply on the associated scope to which the comment belongs to.
Pragmas are declared within square brackets inside a comment. Each pragma contains keywords. Keywords are separated by spaces and pragmas are separated by commas.
#[sort all, unindent all]
The sort
pragma will sort all constructs within the scope in alphabetical order.
The unindent
pragma will insist that the entire scope will come within one line (when possible).
If a comment comes in between two constructs, then a line break will come before and after the comment.
If the scope has end-comments, then they will produce line breaks at the end of the scope as well.
The all
keyword will apply the pragma to all nested scopes as well.