sed compiler?

Tony Kanawati <tonyk@ontos.com>
Mon, 26 Jul 1993 15:12:32 GMT

          From comp.compilers

Related articles
sed compiler? tonyk@ontos.com (Tony Kanawati) (1993-07-26)
sed compiler? macrakis@osf.org (Stavros Macrakis) (1993-07-28)
| List of all articles for this month |
Newsgroups: comp.compilers
From: Tony Kanawati <tonyk@ontos.com>
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,
etc...)


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 tonyk@ontos.com when you reply to this post]
--
Antoun (Tony) Kanawati | ONTOS, Inc., 3 Burlington Woods
tonyk@ontos.com | 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.