From Free Software Directory
Jump to: navigation, search


Visualization tool for bison and yacc grammars

Yaccviso visualizes yacc and bison grammars. It will generate a .dot or .vcg file that you can play around with in graphviz (from AT&T research labs fame) or VCG. The graphics above shows a very simple version of the very same yacc grammar which was used to write Yaccviso. Is is especially helpful when you have a large grammar file. Yaccviso will show you the dependencies between the grammar's left hand side (LHS) and its corresponding RHS non terminals and terminal symbols. It just helps to visualize! This is especially true when you have to keep in mind the first- and follow-sets.


Documentation in pdf at http://www.lo-res.org/~aaron/yaccviso/docu.pdf


LicenseVerified byVerified onNotes
GPLv2orlaterTed Teah16 October 2006

Leaders and contributors

Aaron Kaplan Maintainer
Axel Belifante Contributor

Resources and communication

Software prerequisites

Required to useflex 2.5.4 or higher
Required to usebison or yacc
Required to usegcc
Required to usemake

This entry (in part or in whole) was last reviewed on 31 December 2016.


Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.