Railroad Diagrams¶

The code in this notebook helps with drawing syntax-diagrams. It is a (slightly customized) copy of the excellent library from Tab Atkins jr., which unfortunately is not available as a Python package.

Prerequisites

This notebook needs some understanding on advanced concepts in Python and Graphics, notably

* classes
* the Python `with` statement
* Scalable Vector Graphics