Re: Comments in Tcl (Was: Why you should not use Tcl)

Peter da Silva (
Mon, 26 Sep 1994 19:36:15 GMT

In article <>, D'Arcy J.M. Cain <> wrote:
> Although I like Tcl I must admit that the comment processing does
> bother me. It seems so counter-intuitive. From a perusal of the
> code I also have to wonder why it is handled in the parser. This
> seems like the kind of thing that should be in the scanner.

puts stdout {#!/bin/sh -f
echo "This is a test"

if $var {#!/bin/sh -f
echo "This is a test"

How does the "scanner" distinguish these two cases?

Peter da Silva                                            `-_-'
Network Management Technology Incorporated                 'U`
1601 Industrial Blvd.     Sugar Land, TX  77478  USA
+1 713 274 5180                       "Hast Du heute schon Deinen Wolf umarmt?"