Re: Syntax of Comments (was: language design tradeoffs)

tmb@arolla.idiap.ch (Thomas M. Breuel)
Tue, 6 Oct 1992 00:13:15 GMT

          From comp.compilers

Related articles
[10 earlier articles]
Re: Syntax of Comments (was: language design tradeoffs) macrakis@osf.org (1992-09-24)
Re: Syntax of Comments (was: language design tradeoffs) fjh@munta.cs.mu.OZ.AU (1992-09-24)
Re: Syntax of Comments (was: language design tradeoffs) delacour@parc.xerox.com (Vincent Delacour) (1992-09-24)
Re: Syntax of Comments (was: language design tradeoffs) macrakis@osf.org (1992-09-25)
Re: Syntax of Comments (was: language design tradeoffs) de19@umail.umd.edu (1992-10-04)
Re: Syntax of Comments (was: language design tradeoffs) Bruce.Hoult@bbs.actrix.gen.nz (1992-10-05)
Re: Syntax of Comments (was: language design tradeoffs) tmb@arolla.idiap.ch (1992-10-06)
Re: Syntax of Comments (was: language design tradeoffs) liblit@cs.psu.edu (1992-10-06)
Re: Syntax of Comments (was: language design tradeoffs) pcbeard@ucdavis.edu (1992-10-06)
Re: Syntax of Comments (was: language design tradeoffs) kendall@centerline.com (1992-10-07)
Re: Syntax of Comments (was: language design tradeoffs) drw@euclid.mit.edu (1992-10-07)
| List of all articles for this month |

Newsgroups: comp.compilers,comp.human-factors
From: tmb@arolla.idiap.ch (Thomas M. Breuel)
Organization: IDIAP (Institut Dalle Molle d'Intelligence Artificielle Perceptive)
Date: Tue, 6 Oct 1992 00:13:15 GMT
Keywords: design, comment
References: 92-09-048 92-10-010

de19@umail.umd.edu (Dana S Emery) writes:


      I'm surprised no one has suggested coloration or styleing to reflect
      semantics.


It's been done. "vgrind" prints C programs that way, and Symbolics'
ZWEI editor edits Lisp files using different fonts for comments,
definitions, etc.
Thomas.
[There are plenty of programs that highlight keywords and the like. An
article in the CACM last year, excerpted from a larger book, points out that
highlighting the keywords is probably the worst possible way to format a
program, since the keywords are the noise. You want to see the variables,
control structure, data structure definitions, etc. But printing the keywords
in bold is an ancient tradition, at least back to Algol 60. -John]
--


Post a followup to this message

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