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

Parsers for Lisp - was: I don't understand Lisp

4 views
Skip to first unread message

Axel Schairer

unread,
Oct 1, 1998, 3:00:00 AM10/1/98
to
Erik Naggum <cle...@naggum.no> writes:
[snip opinion on `do we need regular expressions in CL?']
> since their [i.e. regular expressions' in CL] presence seem to
> supplant better solutions, like parsers that convert strings into
> data structures
[snip]

Agreed, I almost always parse the input (strings) and work on a more
structured representation. However I have not discovered `my' parser
generator yet.

Which parser generators do people use?

I have tried the following so far:

1) lex and bison (or yacc): Outputting strings to be read in by lisp.
This cannot be the ultimate solution for obvious reasons however.

2) zebu: As far as parser generation and parsing is concerned I liked
zebu (except perhaps for missing operator precedence). However, it
does not seem to be supported any more and the glue code (i.e. its
initialization code and package layout) are a bit unorthodox, it
seems to me (e.g. getting messages about `metagrammar not loaded',
where you don't even dream of using the metagrammar at runtime and
so on).

Any suggestions what I should have a look at? -- Thanks.

Axel


Rainer Joswig

unread,
Oct 2, 1998, 3:00:00 AM10/2/98
to
In article <ydjaf3gnt...@ws-423.ags.uni-sb.de>, Axel Schairer
<scha...@dfki.de> wrote:

> 2) zebu: As far as parser generation and parsing is concerned I liked
> zebu (except perhaps for missing operator precedence). However, it
> does not seem to be supported any more and the glue code (i.e. its
> initialization code and package layout) are a bit unorthodox, it
> seems to me (e.g. getting messages about `metagrammar not loaded',
> where you don't even dream of using the metagrammar at runtime and
> so on).

Is there a later version than
<ftp://ftp.digitool.com/pub/mcl/contrib/zebu-3.5.2.tgz> ?

--
http://www.lavielle.com/~joswig

Alexander Vorobiev

unread,
Oct 5, 1998, 3:00:00 AM10/5/98
to

Rainer Joswig

unread,
Oct 5, 1998, 3:00:00 AM10/5/98
to
In article <yaqve7...@sparrow.diamant.ru>, Alexander Vorobiev
<spa...@sparrow.diamant.ru> wrote:

Oops! Thanks.

> Alexander

Looks like nobody is maintaining that server anymore?

--
http://www.lavielle.com/~joswig

Axel Schairer

unread,
Oct 5, 1998, 3:00:00 AM10/5/98
to
We were talking about Zebu (a parser generator for CL):

jos...@lavielle.com (Rainer Joswig) writes:
> Is there a later version than
> <ftp://ftp.digitool.com/pub/mcl/contrib/zebu-3.5.2.tgz> ?

I don't know. When I needed a parser some time (months?) ago, I
browsed the CMU Artificial Intelligence Repository and found version
3.4.8. That's the one I was talking about. So maybe zebu is
supported and I just got the wrong person's email address when
suggesting our patches.

Axel

PS: This is the info taken from the CMU Artificial Intelligence Repository

---------
Version: 3.4.8 (8-MAR-96); 3.3.6 (30-AUG-94); 3.3.2 (28-JUL-94)

Ports: Tested in Lucid CL and Allegro CL under HP-UX, and MCL
2.0b on the Macintosh

Copying: Copyright (c) 1989 by William M. Wells III
Copyright (c) 1990-93 by Hewlett-Packard Company.
Use, copying, modification and distribution permitted
for non-commercial purposes. (See the file named
COPYRIGHT in the package for details.)

Updated: Thu Mar 7 17:25:22 1996

CD-ROM: Prime Time Freeware for AI, Issue 1-1

Bug Reports: lau...@hplabs.hpl.hp.com

Author(s): Joachim H. Laubsch
---------

0 new messages