home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / text / sgml / 912 < prev    next >
Encoding:
Text File  |  1992-07-22  |  1.5 KB  |  36 lines

  1. Newsgroups: comp.text.sgml
  2. Path: sparky!uunet!cs.utexas.edu!torn!watserv1!watdragon.waterloo.edu!drraymon
  3. From: drraymon@watdragon.waterloo.edu (Darrell Raymond)
  4. Subject: Re: It's Not Just for Text Anymore
  5. Message-ID: <BrsK7L.6M5@watdragon.waterloo.edu>
  6. Organization: University of Waterloo
  7. References: <710783547snx@sgmlinc.com> <92202.164904U35395@uicvm.uic.edu> <ETNKNA.92Jul22122415@hisoy2.etn.ericsson.se>
  8. Date: Wed, 22 Jul 1992 13:02:09 GMT
  9. Lines: 25
  10.  
  11. In article <ETNKNA.92Jul22122415@hisoy2.etn.ericsson.se>, etnkna@hisoy2.etn.ericsson.se (Aksnes Knut-Havard) writes:
  12. >On Tue, 21 Jul 1992 22:09:35 GMT, drraymon@watdragon.waterloo.edu (Darrell Raymond) said:
  13. >>   This example doesn't work for several reasons.  First, the BNF of C 
  14. >> doesn't define C - that requires a lot of semantic information as well 
  15.     .
  16.     .
  17.     .
  18. >> Finally, are you confusing two 
  19. >> languages? - namely, the language consisting of the set of strings that 
  20. >> represent valid C programs (which is context free) 
  21. >
  22. >The set of all strings representing valid C programs can not be
  23. >described by a context free grammar, a superset of all valid C programs
  24. >can be recognised by a context free grammar. To recognize correct C
  25. >programs you will need a semantical analysis as well. 
  26.  
  27.   Your correction is noted. It should be clear from the opening of my 
  28. paragraph that I know about the need for semantic information.
  29.  
  30.   Sheesh!  You can't get away with anything in this group...but just
  31. try to get people to use the term "data model" in a precise fashion!
  32.  
  33.   :-)
  34.  
  35. -Darrell
  36.