Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This can be solved with "in-factoring": "(a|b) c" => "ac|bc". Further analysis of the syntax diagram can point out other simplifications like "(ac|bc) (c)*" => "(a|b) c+". Don't do them aggressively until only the last rule is left - further inlining may solve asymmetries where not all alternatives share the exact same parts.

Sections

My siblings (including me):

...