Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

C-bsaed S-expression implementation

2 views
Skip to first unread message

Dave Bakhash

unread,
Aug 14, 2001, 12:06:15 AM8/14/01
to
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

Thomas F. Burdick

unread,
Aug 14, 2001, 1:37:20 AM8/14/01
to
Dave Bakhash <ca...@alum.mit.edu> writes:

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.

Marco Antoniotti

unread,
Aug 14, 2001, 9:47:44 AM8/14/01
to

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'.

Bob Bane

unread,
Aug 14, 2001, 10:52:30 AM8/14/01
to
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

0 new messages