Ynot Logic Simulator: A Literate C++ Program

  Bruno Richard Preiss. Draft (154 pp.), July 1995[50].

This book comprises the source code to the tex2html_wrap_inline1150 (pronounced ``why not?'') logic simlator. It is my first serious foray into the realm of ``literate programming.'' Literate programming was pioneered by Donald Knuth during the development of the TeX typesetting software.

The essential idea is that a literate program is the combination of documentation and source code in a form suitable for reading by human beings. The TeX source to this book and the C++ source code it documents are combined in common files. A literate programming tool which I wrote, called loma, weaves the the files into the TeX source that produced this book and into the C++ source programs which can be compiled to produce the executable program.

The source to this book is not in the public domain. However, the C++ source code for the tex2html_wrap_inline1150 simulator is available. The C++ source code is cross-referenced with this book, so that you can easily find the page in this which defines and describes the code. The tex2html_wrap_inline1150 source code can be found on the world-wide web at http://www.brpreiss.com/books/opus3.

Copyright 1995 by Bruno R. Preiss.

Full text. BibTeX entry.