Re: compatibility package for ANSI CL?

Francois-Rene Rideau <[email protected]> Fri, 5 Apr 2002 18:48:52 +0200
Newsgroups gmane.lisp.org.slug
Message-ID <[email protected]>
On Fri, Apr 05, 2002 at 10:13:00AM -0500, [email protected] wrote:
> I have a start of doing some of this; I'll email it to you (and anyone
> else who wants it) separately.  Let me know what things you find that
> don't work.  It was developed to add to Genera 8.5; I believe it runs
> in 8.3 as well, but I don't have one easily accessible to test.
>
Thanks a lot! I will try it out as soon as I have time
(i.e. not this libertarian week-end, but my lispy next week).

>     While trying to run code, I've found that things like READ-SEQUENCE,
>     DECLAIM, (LAMBDA ...) without #', and more, are lacking.
Weird:
1) I implemented READ-SEQUENCE based on
	(scl:send stream :string-in nil ar start end)
 but found that it was reading files line-by-line, which is *extremely*
 inefficient. :read-bytes isn't accepted by the NFS file I'm working on
 either. I guess I ought to try to peruse the sources for Zmacs to see how
 it ultimately does things, but I wonder what is the Right Thing(tm).
2) when my defpackage was :use'ing FUTURE-COMMON-LISP,
 #'(lambda ...) expanded as (cl:function (future-common-lisp:lambda ...))
 which didn't work. Using Syntax: Common-Lisp and package Common-Lisp
 instead of Syntax: ANSI-Common-Lisp and Common-Lisp or Future-Common-Lisp
 solved the problem.
3) Using Common-Lisp, just defmacro'ing declaim to future-common-lisp:declaim
 did the trick.

Probably unrelated to Genera, the Mac IIfx host seems to have major
instability problems, although NiftyTelnet SSH runs happily.
The floppy when in write mode may destroy floppies; more importantly
I think the RAM might be bad: files imported via netatalk might
be partly garbled with the recurring pattern DB 6D B6, IE will crash badly
after a few minutes, the chooser itself might become instable, etc.
Can anyone recommend any diagnosis tool or method?

>     Trying to get the Lisp lore without a guru at hand is not easy.
>     Did you bootstrap your learning by being in contact with gurus,
>     or did you have tips to learn without a guru at hand?
> 
> The main tip I have is "m-. is your friend", i.e. look at the source.
> A corollary is that the c-m-<suspend>, the debugger, trap on call and
> trap on exit, (si:enable-who-calls :all) and m-x List callers are your
> friends too.
>
Cool. It nice to have such friends. I'll have to tame their companions,
too (e.g. I suppose there's a way to go to the next definition of save-buffer,
after I m-. it and zmacs tells me there's 1 more definition of it).
In any case, thanks a lot for your tips. From what I understand, interacting
with the beast, rather than merely reading the docs, is how you can really
learn it.

Yours freely,

[ François-René ÐVB Rideau | Reflection&Cybernethics | http://fare.tunes.org ]
[  TUNES project for a Free Reflective Computing System  | http://tunes.org  ]
Classical liberalism is not an economic doctrine. It is a theory of Law.