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