Yacco2 --- New Open source multi-threaded lr(1) compiler/compiler

Dave Bone <cc.yacco2@yahoo.ca>
Sun, 22 Feb 2015 06:41:56 -0800

          From comp.compilers

Related articles
Yacco2 --- New Open source multi-threaded lr(1) compiler/compiler cc.yacco2@yahoo.ca (Dave Bone) (2015-02-22)
| List of all articles for this month |

From: Dave Bone <cc.yacco2@yahoo.ca>
Newsgroups: comp.compilers
Date: Sun, 22 Feb 2015 06:41:56 -0800
Organization: Compilers Central
Keywords: tools, available
Posted-Date: 25 Feb 2015 10:27:58 EST

The project name is: Yacco2, a compiler/compiler generator where it can be
downloaded from www.ctan.org under this name.

It is a full LR(1) compiler/compiler system implementing Knuth's algorithm
extended by threads making it a super-set
to the regular Lr(1) algorithm. The system is written in ``Literate
programming'' genre and emits ``literate grammars'' producing pdf documents
whereby each grammar is drawn in the spirit of Wirth's Pascal diagrams within
the Cweb's cweave template.

The READMEv1.1.pdf provides a fuller description of the system and its
accompanying documents to acclimatize the potential user as ``to use or not to
use'' that is the question :}.

Below is its README overviewing the compiler/compiler system for

Project: Yacco2 --- Multi-threaded lr(1) Compiler/compiler
Distributed under license: Mozilla Public License, v. 2.0.
Distribution Date: 14 Feb. 2015
Distribution version: 1.1
Comments: Currently for the Unix flavoured Platforms
Author: Dave Bone
Support email: cc.yacco2@yahoo.ca

Contributors list:
    Dave Bone

The distribution contains the programs: compiler/compiler O2 and its linker
O2linker, along
with its runtime library yacco2. There are build scripts for platforms: Apple,
GNU, Solaris.
Various documents, grammars, reference manual, quality assurance suites, and
c++ source code are included.
These items are elaborated upon in the READMEv1.1.pdf document.

1) License.
Yacco2's distributed source code is subject to the terms of the Mozilla Public
License, v. 2.0.
If a copy of the MPL was not distributed with this file, you can obtain one at

As best as I could, the ``Literate programming'' w type files contain a
reference to this license along with
  their generated documents.
The c++ source files generated from the w files

  ``do not and will not have any comments referencing this license but are also
subject to its terms''.

The ctangle program generating the c++ code does not emit programmer c type
It emits ``#line'' macro references to the w file and only c comments to its
gened document's section number.
Any discovered license omissions required to be referenced within Yacco2's
Project files
are still covered by this license and will be corrected in future

2) Yacco2 install Instructions.
Unzip the yacco2.zip file.
Please read READMEv1.1.pdf document as this is your oracle to installing
It also has other pertinent comments on documentation, open source tools used,
and ``how to'' directives.

There are binaries prebuilt for the Apple Maverick platform: o2, o2linker, and
API yacco2 library.

You will find instructions/Bash scripts for other Unix platforms: GNU and

Post a followup to this message

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