Railroad (syntax) diagrams

Railroad diagrams are a graphical way of representing the syntax of a programming language. The following railroad diagrams for Modula-3 are available in PostScript format:

m3poster.ps (1 page, 11" x 17")
A poster of the complete Modula-3 syntax, including definitions of terminals. This will print on an 11x17 inch sheet if your printer has such a paper tray; otherwise, it will print on a normal-sized page.
m3syntax.ps (4 pages)
These four pages contain railroad diagrams for the complete Modula-3 grammar, not counting the defintions of the terminals.
m3tokens.ps (1 page)
This page contains railroad diagrams for the terminals of the Modula-3 grammar such as identifiers, literals, comments, and pragmas.

These railroad diagrams were written by Bill Kalsow. All of the pages print in landscape orientation.


[Modula-3 home page]

m3-request@src.dec.com
Last modified on Thu Mar  7 18:29:23 PST 1996 by heydon 
Copyright (C) 1992, 1996, Digital Equipment Corporation. All rights reserved.
See the COPYRIGHT for a full description.