Railroad diagrams for LaTeX now available for FTP

lwj@cs.kun.nl (Luc Rooijakkers)
8 Feb 91 13:19:55 GMT

          From comp.compilers

Related articles
Railroad diagrams for LaTeX now available for FTP lwj@cs.kun.nl (1991-02-08)
| List of all articles for this month |

Newsgroups: comp.text.tex,comp.compilers
From: lwj@cs.kun.nl (Luc Rooijakkers)
Followup-To: comp.text.tex
Summary: Rail package 1.0 now available for FTP
Keywords: syntax, parse, debug, tools
Organization: University of Nijmegen, The Netherlands
Date: 8 Feb 91 13:19:55 GMT

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


--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.