home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / shell / 3760 < prev    next >
Encoding:
Internet Message Format  |  1992-09-01  |  1.2 KB

  1. Path: sparky!uunet!usc!snorkelwacker.mit.edu!ai-lab!life.ai.mit.edu!friedman
  2. From: friedman@gnu.ai.mit.edu (Noah Friedman)
  3. Newsgroups: comp.unix.shell
  4. Subject: Re: shell to "C" compilers, any out there??
  5. Message-ID: <FRIEDMAN.92Sep2050151@nutrimat.gnu.ai.mit.edu>
  6. Date: 2 Sep 92 09:01:51 GMT
  7. References: <1992Sep2.010825.2610@philips.oz.au>
  8. Sender: news@ai.mit.edu
  9. Organization: Free Software Foundation, 675 Mass Ave. Cambridge, MA 02139
  10. Lines: 12
  11. In-reply-to: rod@philips.oz.au's message of 2 Sep 92 01:08:25 GMT
  12.  
  13. In article <1992Sep2.010825.2610@philips.oz.au> rod@philips.oz.au (Rod Roberts) writes:
  14. >I have been wondering if there is such a thing as a shell script compiler
  15. >either commercial or pd/freeware. I have heard of such beasts but havn't
  16. >seen one. I imagine it would take a shell script is input and generate a
  17. >"C" source file. Can anyone point me in the right direction. ThanX in
  18. >advance.
  19.  
  20.    I'd suggest using Archie (I don't know of any shell-to-C compilers out
  21. there off-hand).  I mainly wanted to mention that a shell to C compiler is
  22. not likely to buy you much, since the most expensive parts of most shell
  23. scripts are the parts that exec external programs.  That's going to be slow
  24. whether you do it in shell script or using `system' from a C program. 
  25.