|sed compiler? email@example.com (Tony Kanawati) (1993-07-26)|
|sed compiler? firstname.lastname@example.org (Stavros Macrakis) (1993-07-28)|
|From:||Tony Kanawati <email@example.com>|
|X-Organization:||Ontos, Inc.; Burlington, Mass; USA|
|Keywords:||tools, translator, DFA, comment|
|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 firstname.lastname@example.org when you reply to this post]
Antoun (Tony) Kanawati | ONTOS, Inc., 3 Burlington Woods
email@example.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]
Return to the
Search the comp.compilers archives again.