Xref: utzoo comp.sys.ibm.pc:21364 comp.unix.questions:10268 Path: utzoo!utgpu!watmath!clyde!att!cbnews!lvc From: lvc@cbnews.ATT.COM (Lawrence V. Cipriani) Newsgroups: comp.sys.ibm.pc,comp.unix.questions Subject: Re: AWK on a PC? Summary: Awk to C translator, awkcc Message-ID: <2203@cbnews.ATT.COM> Date: 18 Nov 88 14:49:18 GMT References: <7660@dasys1.UUCP> Distribution: comp Organization: AT&T Bell Laboratories, Columbus Lines: 34 In article <7660@dasys1.UUCP>, eravin@dasys1.UUCP (Ed Ravin) writes: > Does anyone manufacture a compiler for AWK on an IBM PC? Money is no > object. One of my associates has an AWK program that he developed using > the MKS Toolkit Unix-lookalike tools for the PC, but wants to distribute > a standalone version of it (e.g., without interpreter, especially without > someone else's interpreter). I sent Charles this mail and am posting it as there might be some interest. The AT&T Toolchest sells a program called "awkcc" which is a AWK to C translator. Awkcc translates "new awk" programs into C which are then compiled with cc. The main purpose for awkcc is to speed up programs, speed up factors between 2 and 6 are common, however, some awk scripts are faster than the generated C code. The toolchest advertises that it works on these machines 3B2, 3B20, DEC VAX, 68000, and IBM MAXI/AMDAHL. The toolchest advertises that works on SVR3 and BSD based operating systems. I built it successfully on a 3B20 running SVR2. It shouldn't be too hard to port to a PC. The cost is $175.00 for source and $2000.00 for binary sublicensing. The $175.00 lets you distribute source and binary for awkcc in unlimited number on your own companies machines. The $2000.00 lets you distribute binary for awkcc in unlimited number on customer machines. In this case, Charles only needs to pay $175.00 for awkk, and since he isn't register with the AT&T Toolchest nor has a UNIX source license, its another $100.00 to register. The reason for the low price is the lack of support for the program. What a bargain! The AT&T Toolchest can be reached via dialup at 1200 baud. The phone number is (201) 522-6900, login as guest, no password. -- Larry Cipriani, AT&T Network Systems, Columbus OH, Path: att!cbnews!lvc Domain: lvc@cbnews.ATT.COM