From: Dave Bakhash
Subject: C-bsaed S-expression implementation
Date: 
Message-ID: <c29bsljcmko.fsf@no-knife.mit.edu>
Hi,

I was wondering if anyone's had success with a particular C
implementation of an S-expression parser.  I'm looking for one that's
very small and tight, and writtin in ANSI C, without need tons of other
libraries.  I guess I don't need it to support the full set of CL sexps, 
but a reasonable subset at least.

thanks,
dave

From: Thomas F. Burdick
Subject: Re: C-bsaed S-expression implementation
Date: 
Message-ID: <xcvn153kxrj.fsf@famine.OCF.Berkeley.EDU>
Dave Bakhash <·····@alum.mit.edu> writes:

> Hi,
> 
> I was wondering if anyone's had success with a particular C
> implementation of an S-expression parser.  I'm looking for one that's
> very small and tight, and writtin in ANSI C, without need tons of other
> libraries.  I guess I don't need it to support the full set of CL sexps, 
> but a reasonable subset at least.

I've heard good things about lispreader from a user of one of my lisp
programs.  It's listed in freshmeat at
<http://freshmeat.net/projects/lispreader/>, but its homepage seems to
be down.
From: Marco Antoniotti
Subject: Re: C-bsaed S-expression implementation
Date: 
Message-ID: <y6c66bqkb27.fsf@octagon.mrl.nyu.edu>
We have been using the CRSCL (Contains a Reimplementation of a Subset
of Common Lisp) library to read S-exprs in a variety of programs.  The
library is based on an old one originating from Berkeley (and it bears
the same licensing style).  I kept tweaking it over the years to make
sure that the reader behavior gets closer to CL, but it ain't a full
blown CL Reader (no reader macros!) and there is still a huge amount
of kruft in it.

It serves our purposes and it does a good job at reading simple
S-expressions.

Write me if you need it.

Cheers

-- 
Marco Antoniotti ========================================================
NYU Courant Bioinformatics Group        tel. +1 - 212 - 998 3488
719 Broadway 12th Floor                 fax  +1 - 212 - 995 4122
New York, NY 10003, USA                 http://bioinformatics.cat.nyu.edu
                    "Hello New York! We'll do what we can!"
                           Bill Murray in `Ghostbusters'.
From: Bob Bane
Subject: Re: C-bsaed S-expression implementation
Date: 
Message-ID: <3B793B2E.AB86996F@removeme.gst.com>
I've successfully used SIOD (http://people.delphi.com/gjc/siod.html) for
this purpose.  It's yet another dialect of Scheme, but is culturally
close to CL (car and cdr of the empty list don't error), and obvious
S-expression utilities like assoc are close at hand.

Someday, in my Copious Free Time(tm), I must ball up my SIOD hacks and
submit them...
-- 
Remove obvious stuff to e-mail me.
Bob Bane