Re: [Q] Want good coding standards document and tool

Derek M Jones <derek@knosof.co.uk>
15 Jul 1996 11:44:05 -0400

          From comp.compilers

Related articles
[Q] Want good coding standards document and tool klaas@uniface.nl (C++ Freak) (1996-07-13)
Re: [Q] Want good coding standards document and tool derek@knosof.co.uk (Derek M Jones) (1996-07-15)
| List of all articles for this month |
From: Derek M Jones <derek@knosof.co.uk>
Newsgroups: comp.lang.c,comp.lang.c++,comp.compilers
Date: 15 Jul 1996 11:44:05 -0400
Organization: Knowledge Software Ltd
References: 96-07-090
Keywords: tools

All,


klaas@uniface.nl "C++ Freak" writes:


> I am looking for a tool on enforcing C/C++ company coding standards.




Check out our web page.


> The tool should:
> - restyle formatting / indentation


This is the job of an indentation tool, not a checking tool. Check out
gnu indent.


> - parse on functions, static and global variables, classes and structures




I don't understand this requirement.


> - work like a C prepeocessor which allows redefining tokens)
>


A standards enforcing tool has to parse the source. This invariably
involves a preprocessor.


I suspect that, like most people, your requirements for a coding
standard are confused.


Although a little dated you might like to check out the books by Tom
Plum (the "C++ Programming Guidelines" book may have been updated from
my 1991 edition).


derek


--
Derek M Jones tel: +44 (0) 1252 520 667
Knowledge Software Ltd email: derek@knosof.co.uk
                                                                                                  http://www.knosof.co.uk
--


Post a followup to this message

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