🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #2580

Re: Complexity of syntax

#2580
From: James Wilbur Lewis
Date: Sat, 05 Jan 1991 04:44
14 lines
1249 bytes
In article <11883:Jan502:21:0191@kramden.acf.nyu.edu> brnstnd@kramden.acf.nyu.edu (Dan Bernstein) writes:
-  [ syntax versus semantics ]
-> For
-> example, is the restriction that you can't declare the same identifier
-> twice in the same declaration syntactic or semantic?
-
-Syntax. It has no effect on semantics.

Gee, all the C grammars I've seen allow the same identifier to be declared
any number of times.  If you can show me a C declaration grammar that 
disallows multiple occurrences of the same identifier, but generates all
valid C declarations, I'll eat my hat!

-- Jim Lewis (computer scientist, and damn proud of it)
Technical Details
Message-ID: <1991Jan5.044445.15116@agate.berkeley.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!sdd.hp.com!ucsd!ucbvax!agate!garnet.berkeley.edu!jwl
References: <18747:Jan220:02:1091@kramden.acf.nyu.edu> <1991Jan4.152846.15917@maths.nott.ac.uk> <11883:Jan502:21:0191@kramden.acf.nyu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!sdd.hp.com!ucsd!ucbvax!agate!garnet.berkeley.edu!jwl
From: jwl@garnet.berkeley.edu (James Wilbur Lewis)
Newsgroups: comp.lang.misc
Subject: Re: Complexity of syntax
Message-ID: <1991Jan5.044445.15116@agate.berkeley.edu>
Date: 5 Jan 91 04:44:45 GMT
References: <18747:Jan220:02:1091@kramden.acf.nyu.edu> <1991Jan4.152846.15917@maths.nott.ac.uk> <11883:Jan502:21:0191@kramden.acf.nyu.edu>
Sender: usenet@agate.berkeley.edu (USENET Administrator)
Organization: University of California, Berkeley
Lines: 14