Creating grammar patches

Emily informed me that it’s possible to create “grammar patches” that include small changes to a grammar that someone might want for their particular use case. I have a few questions about this concept:

  1. What sorts of changes can go into a grammar patch?
  2. If someone makes a patch, how do they compile it alongside the grammar so the patch is reflected in the compiled version?