Topic: C/C++ SIG: Mar 24, Jerry Schwartz on New Lang Features & Parsing
Author: mcorcora@ix.netcom.com (Marian Corcoran)
Date: 17 Mar 1995 04:53:26 GMT Raw View
C/C++ SIG
OF SOFTWARE FORUM
March 24, Friday, 6:15 to 8:15 p.m.
Parsing New Features in C++
Discussion of the differences between the ANSI/ISO Draft
and the ARM with an emphasis on how these changes
affect a parser.
Speaker: Jerry Schwartz, Ph.D.
- an author of iostream class library
- Has worked at University of Edinburgh,
Bell Labs, and Declarative Systems
- Member, joint ANSI/ISO standards committee
- For free software relevant to this topic, anonymous
ftp at ftp.crl.com at /user/ro/jss/slice.Z (see man
pages below)
FUTURE MEETINGS: (Fridays, 6:15 to 8:15 p.m.)
April 28 Avoiding Re-Compilation of Class Libraries
by Michael Ball of SUN Microsystems
May 12 DirectToSOM C++- Programming
it Directly in C++ ( IBM s System
Object Module for binary compatibility)
by Tom Pennello, Founder of MetaWare
June 9 Topic to be announced. Dmitry Lenkov of
Hewlett Packard Laboratories,
Chair of ANSI C++ Committee
Location: UC Santa Cruz Extension,
3120 De La Cruz Blvd., Santa Clara
Contact: Marian Corcoran, mcorcora@ix.netcom.com
Cost: $10.00, $3.00 for students
free to one photography buff willing to take pictures
free to someone willing to write article
Note: Although all are welcome and all will learn from
these presentations, the target level is for those with an intermediate
to advanced understanding of C++
A summary of our last meeting and some examples of STL will
be discussed at the 6:15 to 6:45 slot in this meeting.
>Dear Colleague,
>
>What's the greatest invention since sliced bread? Sliced programs.
>
>Have you ever spent hours trying to reduce a 50,000 line program to a
>small test case, and have you ever thought it ought to be possible to
>automate the process? I know I have. Using Declarative System's C++
>Auditor I have built such a tool. As a promotional offer I'm making
>it available via anonymous ftp. Feel free to use it and pass it on to
>your friends. The man page for "slice" is attached below. A
>compressed SunOs 4.X executable can be picked via anonymous ftp from
>ftp.crl.com at /users/ro/jss/slice.Z
>
>All I ask is that if you pick it up and use it, you let me know.
>Feel free to report any bugs you find, but this is (obviously)
>unsupported software.
>
>And if you have any interest in, or questions about, the C++ Auditor
>please contact me. The ftp site also has the postscript for a short
>paper (intro.ps) describing the Auditor in more detail.
>
> -- Jerry Schwarz
> -- jss@declarative.com
> -- 415-321-2613
>
>
>---------------------------------------------------------------
>
>
>
>SLICE(1) USER COMMANDS SLICE(1)
>
>
>
>NAME
> slice - cut a C++ source file down to size
>
>SYNOPSIS
> slice [ -bom ] [ sourcefile ]
>
>DESCRIPTION
> The sourcefile (or standard input if no sourcefile is speci-
> fied) should contain a preprocessed C++ program. The pur-
> pose of slice is to reduce that program to the last top
> level declaration, and (recursively) any declarations of
> names referred to.
>
> Line breaks are preserved but whitespace is not. The source
> file may contain comments, #line and #pragma directives but
> no #define or #include preprocessor directives.
>
> slice may be useful to anyone who develops C++ tools and
> needs to deal with customer bug reports of the form "your
> tool breaks on line 41368 of the attached program."
>
>OPTIONS
> -b Normally slice does not include the bodies of function
> definitions (or the member initializers in construc-
> tors.) When -b is specified slice includes bodies in
> function definitions.
>
> -o Normally slice includes only variants of overloaded
> functions that are really needed. If -o is specified
> it includes declarations for all variants if one vari-
> ant is referred to.
>
> -m Normally slice only includes members of a class that
> are actually referenced. If -m is specified it will
> include all members of a class if it includes any part
> of the definition of that class.
>
>AVAILABILITY
> slice is provided free by Declarative Systems as a demons-
> tration of the C++ Auditor, which is the parser used to
> build slice. For more information on the C++ Auditor (or to
> report a bug in slice) send email to auditor@declarative.com
> or call us at 415-321-2613.
>
>BUGS
> References to default and copy constructors are sometimes
> ignored.
>
> Aggregate initializations (using {}) don't count as refer-
> ences to the members being initialized.
>
>
>
>
>
>Sun Release 4.1 Last change: January 1995 1
>
>
>
>
>
>
>SLICE(1) USER COMMANDS SLICE(1)
>
>
>
> slice does not report errors it detects in the source file.
> If errors are present and its error recovery fails, refer-
> ences may be ignored.