Language reference · section 3

3. Writing rules

These rules apply to this file, to all pin documentation, and to compiler error messages. They follow ASD-STE100.

  1. Use the terms in section 2. Use one word for one meaning.
  2. Write one instruction in one sentence.
  3. Write sentences of 20 words or fewer.
  4. Use the active voice. Use the present simple tense for rules.
  5. Use must for a requirement, should for advice, may for an option, and cannot for a prohibition.
  6. Write the condition first. For example: "If the file contains a tab, the compiler reports an error."
  7. Do not use contractions, idioms, or slang.
  8. Do not use "and/or". Write one option or the other.
  9. Write numbers as digits. For example: "1 to 32".
  10. Write "for example", not "e.g.".
  11. Do not use a noun cluster of more than three nouns. Use "of".
  12. Use general words from the ASD-STE100 approved list where a word exists in it.
  13. Keep one topic in one paragraph.
  14. Use the same words for the same action. Always write "the compiler reports an error".

Every pin example must compile, unless its scenario says it is an error. Comments in examples use #.