Path: utzoo!utgpu!news-server.csri.toronto.edu!helios.physics.utoronto.ca!ists!yunexus!oz From: oz@yunexus.yorku.ca (Ozan Yigit) Newsgroups: comp.sources.wanted Subject: Re: Speeding up awk processing Keywords: awk Message-ID: <22215@yunexus.YorkU.CA> Date: 3 Apr 91 16:24:49 GMT References: <1991Mar29.193608.25056@odin.corp.sgi.com> <1991Apr3.112312.27113@athena.mit.edu> Sender: news@yunexus.YorkU.CA Organization: York U. Communications Research & Development Lines: 36 Jonathan I. Kamens writes: > I believe that AT&T sells an awk to C translator in one of their toolchests, >but it isn't free. [disclaimer: I have no association with AT&T or ToolChest. I am just a happy customer, glad to have some of this stuff available, even for a fee.] The translator is called "awkcc". The toolchest price for source is 175.00, naturally, not freely redistributable. Here is the brief description of Awkcc: Tool name: awkcc awkcc - awk to C translator awkcc is a preprocessor that translates awk code into C code. The C code is then compiled using cc. awkcc can speed awk scripts by a factor of 2 to 6. awkcc is transparent; compiled scripts produce the same results as interpreted scripts. awkcc is easily ported and it has been used on a variety of machines and operating systems including System V, BSD4.3, and Sun 3.2. awkcc is meant to be used in conjunction with awk, an interpreted pattern scanning and processing language. The latest version of awk can be found in the Toolchest listed under "awk". enjoy. oz --- What ought to disturb us are not mistakes | Internet: oz@nexus.yorku.ca in general, but only those of them that we | Uucp: utzoo/utai!yunexus!oz are powerless to correct. -- David Miller | Phone: 1+416-736-5257-33976