🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #6321

Re: Language Design

#6321
From: Gordon V. Cormack
Date: Fri, 17 Mar 1989 12:32
15 lines
868 bytes
In article <5200040@m.cs.uiuc.edu>, wsmith@m.cs.uiuc.edu writes:
> 
> 
> (For example, in the language I'm learning now, C++, if you forget to 
> declare a class, it is a *syntax* error.  Not misuse of identifier or 
> undefined class, *syntax* error.)
> 

Don't blame C++.  Blame C.  

C is not context-free parsable [actually I believe it is, but not 
with any sensible grammar].
-- 
Gordon V. Cormack     CS Dept, University of Waterloo, Canada N2L 3G1
gvcormack@waterloo.EDU  gvcormack@uwaterloo.CA  gvcormac@water.BITNET
Technical Details
Message-ID: <12443@watdragon.waterloo.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!watdragon!gvcormack
References: <5200040@m.cs.uiuc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!watdragon!gvcormack
From: gvcormack@watdragon.waterloo.edu (Gordon V. Cormack)
Newsgroups: comp.lang.misc
Subject: Re: Language Design
Message-ID: <12443@watdragon.waterloo.edu>
Date: 17 Mar 89 12:32:50 GMT
References: <5200040@m.cs.uiuc.edu>
Organization: U of Waterloo, Ontario
Lines: 15