mdaines / grammophone

A tool for analyzing and transforming context-free grammars.
https://mdaines.github.io/grammophone
MIT License
200 stars 23 forks source link

Use span attribute in colgroups; omit empty colgroups #42

Closed mdaines closed 5 months ago

mdaines commented 5 months ago

This fixes the display of LR(0) parsing tables for grammars without terminals.

Further, using the span attribute in templates is a bit easier to read than producing <col> elements.

This is related to #41 but doesn't actually address the issue.