home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / objectiv / 529 < prev    next >
Encoding:
Text File  |  1992-09-12  |  2.0 KB  |  51 lines

  1. Newsgroups: comp.lang.objective-c
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!nntp-server.caltech.edu!news
  3. From: ernest@pundit.cithep.caltech.edu (Ernest Prabhakar)
  4. Subject: Re: instance variable declarations..
  5. Message-ID: <1992Sep12.190112.16178@cco.caltech.edu>
  6. Sender: news@cco.caltech.edu
  7. Nntp-Posting-Host: pundit.cithep.caltech.edu
  8. Reply-To: ernest@pundit.cithep.caltech.edu (Ernest Prabhakar)
  9. Organization: California Institute of Technology, Pasadena
  10. References: <1992Sep12.140413.744@stefki.toppoint.de>
  11. Date: Sat, 12 Sep 1992 19:01:12 GMT
  12. Lines: 37
  13.  
  14. In article <1992Sep12.140413.744@stefki.toppoint.de> stefan@stefki.toppoint.de  
  15. (Stefan Krause) writes:
  16. > When you've taken this step, repeating the instance variable
  17. > declarations in the .m file, it comes into your mind that this is
  18. > unnecessary redundancy.  What do you need in a  .h  file
  19. > additionally to the instance variable and method declarations?
  20. >
  21. > Thus I need a way to write these statements in the .m file.
  22. > And I use a simple awk-script to extract the .h
  23. > file from the .m file. If you want to see this script then let me
  24. > know.
  25.  
  26. I have spent a fair amount of time thinking about a generic 'mtoh' converter.   
  27. You would also want the appropriate amount of support so Make would generate  
  28. (and precompile!) the headers whenever 'substantive' changes occurred.  The  
  29. only difference was that I was thinking of something like:
  30. /*@
  31. stuff for .h file
  32. @*/
  33. Instead of '#pragma .h' as the indicator of code for the '.h' file.  Which is  
  34. more robust and general?
  35.  
  36. I may even get as far as writing a man page, even though it will be a while  
  37. before I can code anything.  I would like a copy of your code, Stefan, just in  
  38. case.  It does seem like this is something that should be taken care of  
  39. automatically, doesn't it?
  40.  
  41. - Ernie P.
  42.  
  43.  
  44. --
  45. Ernest N. Prabhakar                  Caltech High Energy Physics
  46. Member, League for Programming Freedom (league@prep.ai.mit.edu)
  47. CaJUN President        NeXTMail:ernest@pundit.cithep.caltech.edu
  48. "...and ourselves, your servants for Jesus sake." - II Cor 4:5b
  49. #import <std/disclaimer.h>
  50.