lwj@cs.kun.nl (Luc Rooijakkers) (02/08/91)
Recently, there were some enquiries about a package for making railroad diagrams (syntax diagrams) like those used in the Pascal reports. In response, I cleaned up my software a bit and here it is: The Rail package, version 1.0 #0 -------------------------------- The Rail package allows you to include syntax diagrams (also known as railroad diagrams) in a LaTeX document. A UNIX manual page and LaTeX documentation are included. The package consists of a LaTeX style file (rail.sty) and a C program (rail) and works in two passes not unlike BibTeX. Diagrams are specified in a regular-expression like format between \begin{rail} and \end{rail} brackets, and are formatted using the standard LaTeX picture environment. To use the package, you need a UNIX system with LaTeX. Actually, the rail program should be portable to non-UNIX systems, but you need lex and yacc (or compatible programs such as flex and bison) and a C compiler. No fancy ANSI C constructions are used, and the program passes lint quite silently. As of version 1.0, the Rail package is available for Internet anonymous FTP from host phoibos.cs.kun.nl (131.174.81.1) in the directory pub/Rail. There is both a compressed and an uncompressed tar file, named rail.1.0.tar and rail.1.0.tar.Z, respectively. If you cannot use FTP, mail copies can be requested from the author of the package. -- Luc Rooijakkers Internet: lwj@cs.kun.nl Faculty of Mathematics and Computer Science UUCP: uunet!cs.kun.nl!lwj University of Nijmegen, the Netherlands tel. +3180652271 -- Send compilers articles to compilers@iecc.cambridge.ma.us or {ima | spdcc | world}!iecc!compilers. Meta-mail to compilers-request.