sed compiler?

Tony Kanawati <>
Mon, 26 Jul 1993 15:12:32 GMT

          From comp.compilers

Related articles
sed compiler? (Tony Kanawati) (1993-07-26)
sed compiler? (Stavros Macrakis) (1993-07-28)
| List of all articles for this month |

Newsgroups: comp.compilers
From: Tony Kanawati <>
X-Organization: Ontos, Inc.; Burlington, Mass; USA
Keywords: tools, translator, DFA, comment
Organization: Compilers Central
Date: Mon, 26 Jul 1993 15:12:32 GMT

A colleague of mine is working on a (very) large sed script that must be
operated on a wide variety of platforms (SunOS, AIX, HP/UX, OS/2, SCO,

The size of the script, and the infinite variations in sed features
between platforms promise a lot of problems.

A Sed->C compiler, if such a thing exists, would provide us with a
significantly more portable result (a C program).

Is there such a translator? or something of similar functionality?

[Please CC to when you reply to this post]
Antoun (Tony) Kanawati | ONTOS, Inc., 3 Burlington Woods | Burlington, MA 01803, USA
uunet!uupsi!ontos!tonyk | (617) 272-8101 (Fax)
(800) 388-7110 x328 (Direct) | (617) 272-7110 x328 (Front desk)
[One possibility would be to recast your script as a flex program, since
its regular expressions are at least as powerful as sed's. Flex turns into
very portable C. -John]

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.