PCCTS Resources and "Notes for New Users of PCCTS"

Maintained by Tom Moog, Polhode, Inc.

PCCTS is the Purdue Compiler-Compiler Tool Set

The PCCTS toolkit was written by Terence J. Parr of the MageLang Institute . His current project is antlr 2 - a complete redesign of pccts, written in Java, that generates Java or C++

Source Code distribution kit for PCCTS 1.33 MR33 (Maintenance Release #33)

Released on 21 April 2002.

This maintenance release contains about 300 changes to the original PCCTS 1.33 kit, including many fixes and some minor features to make life easier. Sorcerer is now distributed as part of the PCCTS kits.

A detailed description of all changes, fixes, and improvements is available in the file "CHANGES_FROM_133.txt".

This maintenance release contains fixes to (or addresses) almost all publicly known problems of PCCTS based on postings to the comp.compilers.tools.pccts newsgroup.

Mailing List

Join the mailing list at onelist.com or send "subscribe" to pccts_1-33-subscribe@onelist.com

Ready-To-Run

A ready-to-run version of PCCTS 1.33MR33 for Win32/NT/Win2k along with two sample DevStudio PCCTS projects (one simple, one complex).

Kenji Tanaka has prepared a ready-to-run version of 1.33MR21 for the Macintosh. This includes antlr, dlg, and sorcerer for both the Motorola 68K and PowerPC.

Ryan Weaver has prepared a ready-to-run version of pccts MR33 for RedHat Linux.

Andrey Zakhvatov has prepared a FreeBSD port for 2.2.8 and 3.2. For additional information see http://www.FreeBSD.org/ports/devel.html (describes N packages - 125 kBytes).

Skeleton Projects

Vivian De Smedt has created a Visual Studio 6 Wizard to assist in starting pccts projects.

Juin-Shien Tzeng had prepared a skeleton Borland project for building pccts applications.

Notes for New Users

Version 2 of Notes For New Users of PCCTS and extended examples for C++ mode users

Version 1 of Notes For New Users of PCCTS for C mode users

The PCCTS Reference Book

The PCCTS Reference: Language Translation Using PCCTS and C++

Some Tools Which Use PCCTS

Tim Littlefair's C++ Parser

Tim Littlefair has developed a "fuzzy" C++ parser for computing software metrics. The source code for his C++ parser is available from SourceForge.

Tutorials

Tutorial on PCCTS by Scott Stanchfield

Tutorial on PCCTS by Randall Fisher

John Lilley

He has made a great number of improvements and corrections to the PCCTS version of the C++ grammar which was originally written by T.J. Parr and members of NeXT. Anyone interested in the C++ grammar should visit his web page.

Vern Paxson's Flex with PCCTS

Download an example of flex with PCCTS in C++ mode

This example by Philip A. Wilsey is distributed as a zip file of about 4 kBytes. Revised for 1.33MR11 (and later).

Early (and ugly) notes on using flex with pccts in C mode.

These are available due to popular demand, despite my better judgement.

Additional Details

Version 2.22 of Notes for New Users of PCCTS

Version 1 of Notes For New Users of PCCTS for C mode users

Help Downloading Files With Unrecognized File Types

Utilities For Unpacking Distribution Kits

To home page of Thomas H. Moog - Polhode Inc.