[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gcl-devel] XP - ansi pprint
From: |
Camm Maguire |
Subject: |
Re: [Gcl-devel] XP - ansi pprint |
Date: |
26 Aug 2002 23:47:50 -0400 |
Greetings, and thanks for the suggestion!
I've downloaded the code, and it would seem pretty straightforward to
include.
1) I compiled xp-code, loaded xp-tests and eval'ed do-tests. I got
one error with my local tree fixing some dotted list problems.
I'd like to see your test output.
2) I cannot seem to compile xpx-code.lisp, as one of the format
strings cannot be coerced to the designated destination type.
3) I'm a bit unclear on how the integration should take place. What
about the parameters in xp-install? :pkg cl-user? :macro? I
take it shadow should be the default 't. So just '(load
"xp-code.lisp")(xp::install ...)(save-system foo)', then run foo
with '(load "xp-test.lisp")(do-tests)'? Is xpx needed? Can
cp-code just be compiled and loaded without running the install?
Take are,
Peter Wood <address@hidden> writes:
> Hi
>
> Would there be any interest in including XP in GCL? It provides a
> number of ansi-required functions and facilities which GCL currently
> lacks: eg formatter, copy-pprint-dispatch etc.
>
> The license is liberal (MIT style) and it was written by Richard
> Waters' whose pretty-printer proposals became part of the CL standard.
>
> I am no pprint expert, and it was a desire to learn about CL's pretty
> printer which led me to try XP. It compiles 'out of the box' on
> current CVS, and has a very user-friendly #'xp::install. It includes
> a test-suite of over 600 tests, and GCL passes all but 5 (which did
> not look too serious to me, in my ignorance ;-).
>
> I believe that both CMUCL and Clisp use XP (they did both at one time,
> certainly).
>
> It's available at:
>
> http://www-2.cs.cmu.edu/afs/cs/project/ai-repository/ai/lang/lisp/code/io/xp/0.html
>
> Regards,
> Peter
>
>
> _______________________________________________
> Gcl-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gcl-devel
>
>
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah