mdaines / grammophone

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

Use span attribute in colgroups; omit empty colgroups #42

Closed mdaines closed 9 months ago

mdaines commented 9 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.