This adds red highlights to LR automata states that have a conflict in the corresponding parsing table.
Additionally, this changes the structure of LR(0) parsing tables to be similar to those for other LR tables so that the same components can be used for all of them.
The changes affect all example output for LR(0) parsing tables. The actual changes were obscured by the ordering of other calculations, so this PR also adds sorting to the update script so that diffs should be easier to read in the future.
This adds red highlights to LR automata states that have a conflict in the corresponding parsing table.
Additionally, this changes the structure of LR(0) parsing tables to be similar to those for other LR tables so that the same components can be used for all of them.
The changes affect all example output for LR(0) parsing tables. The actual changes were obscured by the ordering of other calculations, so this PR also adds sorting to the update script so that diffs should be easier to read in the future.