[comp.lang.lisp] flavors, CLOS, parsers

parr@sanquentin.berkeley.edu (Ron Parr) (06/15/91)

I am porting a large program from Flavors to CLOS and I am wondering if
there are any programs that automate this process.  I realize that there are
some things that just will not translate.

More generally, are there programs like sed or awk for lisp?  I would be
interested in something that matches s-expressions and performs
programmer specified transformations on these expressions.

Thanks,
Ron.
-----------
parr@cs.berkeley.edu

barmar@think.com (Barry Margolin) (06/15/91)

In article <42391@ucbvax.BERKELEY.EDU> parr@sanquentin.berkeley.edu (Ron Parr) writes:
>I am porting a large program from Flavors to CLOS and I am wondering if
>there are any programs that automate this process.  I realize that there are
>some things that just will not translate.

Symbolics Genera 8.0 includes a loadable system called CONVERSION-TOOLS
that provides Zmacs-based utilities for converting Flavors to CLOS.  This
assumes you have Symbolics Lisp Machines.

>More generally, are there programs like sed or awk for lisp?  I would be
>interested in something that matches s-expressions and performs
>programmer specified transformations on these expressions.

The CONVERSION-TOOLS system includes substrate utilities that do this, and
there is documentation about how to extend it to implement your own
conversions.  Besides Flavor->CLOS, they also provide
Zetalisp->Common-Lisp, and in Genera 8.1 Dynamic-Windows->CLIM.
-- 
Barry Margolin, Thinking Machines Corp.

barmar@think.com
{uunet,harvard}!think!barmar