Language reference · section 34

34. Changing the language

Every change to the language does all of these in one change:

  1. Update the grammar in crates/pin-compiler/src/grammar.lalrpop when the syntax changes.
  2. Update the grammar in section 5 to match.
  3. Update the scenario for each changed rule in this file.
  4. Add or change a test in crates/pin-compiler/tests for each changed rule.
  5. Check the design test in section 1.
  6. Use the terms in section 2. Add a term to section 2 when a new idea needs one.
  7. Check the writing rules in section 3.
  8. Update section 31 when a reserved word is added. A new reserved word breaks code that uses the word as a name. Record that break in the CHANGELOG.