Click here to Skip to main content
15,891,184 members
Articles / Desktop Programming / MFC

Another Enum Viewer

Rate me:
Please Sign up or sign in to vote.
4.50/5 (2 votes)
22 Oct 20015 min read 83K   1.3K   19  
An article on the usage and design of another Enum Viewer
/*
 * TOK_PUBLIC DOMAIN PCCTS-BASED C++ GRAMMAR, Version 2.0
 *
 * This version by:
 *      John Lilley                jlilley@ix.netcom.com
 *      Empathy Software           http://www.empathy.com/empathy
 *
 * This C++ grammar is based on a C++ grammar originally developed
 * by the authors listed below.  It is with thanks and apologies that
 * I distribute this version of the grammar, which has been "improved"
 * beyond recognition from its original form.  The following major features
 * were added by John Lilley to the original grammar:
 *     -- A full ANSI preprocessor
 *     -- Complete type and declaration information
 *     -- Nested scopes
 *     -- STL-based symbol tables
 *     -- Numerous grammar bugfixes
 *     -- Basic semantic validation
 *
 * The original grammar authors are:
 *      Sumana Srinivasan, NeXT Inc.;            sumana_srinivasan@next.com
 *      Terence Parr, Parr Research Corporation; parrt@parr-research.com
 *      Russell Quong, Purdue University;        quong@ecn.purdue.edu
 *
 * Orinal grammar sponsored by:
 *      NeXT Computer Inc.
 *      900 Chesapeake Dr.
 *      Redwood City, CA 94555
 *      12/02/1994
 *
 * SOFTWARE RIGHTS
 *
 * This file is a part of the ANTLR-based C++ grammar and is free
 * software.  We do not reserve any LEGAL rights to its use or
 * distribution, but you may TOK_NOT claim ownership or authorship of this
 * grammar or support code.  An individual or company may otherwise do
 * whatever they wish with the grammar distributed herewith including the
 * incorporation of the grammar or the output generated by ANTLR into
 * commerical software.  You may redistribute in source or binary form
 * without payment of royalties to us as long as this header remains
 * in all source distributions.
 *
 * We encourage users to develop parsers/tools using this grammar.
 * In return, we ask that credit is given to us for developing this
 * grammar.  By "credit", we mean that if you incorporate our grammar or
 * the generated code into one of your programs (commercial product,
 * research project, or otherwise) that you acknowledge this fact in the
 * documentation, research report, etc....  In addition, you should say nice
 * things about us at every opportunity.
 *
 * As long as these guidelines are kept, we expect to continue enhancing
 * this grammar.  Feel free to send us enhancements, fixes, bug reports,
 * suggestions, or general words of encouragement jlilley@ix.netcom.com.
 * PCCTS-related questions, concerns, and praise should be sent to
 * parrt@parr-research.com.
 * 
 * Requires PCCTS 1.32b4 or higher to get past ANTLR. 
 * 
 * DISCLAIMER: we make no guarantees that this grammar works, makes sense,
 * or can be used to do anything useful. 
 * [ But we may help on mercenary terms -- John Lilley ]
 */

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions