Replies: 5 comments 5 replies
-
|
Beta Was this translation helpful? Give feedback.
-
OK, Chapter 12 is where it gets interesting, so it's going to get its own post. Chapter 12 is about creating and editing Lisp source files, and it assumes a file-and-editor based Lisp interaction; it does mention the TI Explorer Lisp Machine, but from the description I suspect it handles files in a similar way to SLIME in Emacs. It describes a two-buffer editing approach in Emacs, etc., which is fine, but the description doesn't map super well to the Medley interaction of SEdit, REPL, Once the user understands Medley file management, most of the rest of the material here is fine, except that:
This chapter begins the project exercises, which build to two significant bodies of code by the end of the book. These exercises work fine. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Chapter 16: stability issues Chapter 16 includes some examples that shadow symbols in LISP:. If the user does not (shadow) them a priori, in at least some cases completing the form can crash maiko with a stack overflow. For example, this form from Page 90 crashes lde: (defun length (l) Again, I'm not sure if this is a bug to be tackled, or not. For now, I will continue to flag these speed bumps for using CL:aIP, but I am not filing bugs. All of the exercises and examples in this chapter work fine as long as the user shadows appropriately before defining new functions. |
Beta Was this translation helpful? Give feedback.
-
Chapter 17:
|
Beta Was this translation helpful? Give feedback.
-
I have started working through Common Lisp: An Interactive Approach. Per the discussion on Issue 609, I am going to report results here, commenting only on incompatibilities and difficulties over there.
I am creating and managing files and packages, where the book requests that I do so, according to Paolo's guidelines here. I have found that the
XCL:DEFINE-FILE-ENVIRONMENT
call must be made in an Interlisp exec window (it's possible that running it from the Interlisp package in an XCL exec might work, I haven't tried it). My workflow is to invokeXCL:DEFINE-FILE-ENVIRONMENT
, then(MAKEFILES)
and associate the file environment with a filename, thenDC
the filename and add the package definition,(MAKEFILES)
again, andLOAD
the file. This prevents me from having to type the package definition more times than absolutely necessary. The interaction between the:PACKAGE
argument provided toXCL:DEFINE-FILE-ENVIRONMENT
and theDEFPACKAGE
form in(P)
is not fully clear to me, but I have been treating the former as more or less immutable after creation and the latter as a Common Lispdefpackage
and it has been working for me.I will comment on the first few chapters here, and use replies for future chapters as I get to them.
(il:logout)
or(il:logout t)
to log off#\Newline
, not#\NEWLINE
, for 5.16, but as 5.15 points out, this is immaterial'f\rank
in XCL isF\rANK
, not|FrANK|
as printed in the book(eql "string" "string")
is false, as suggested may be the caseBeta Was this translation helpful? Give feedback.
All reactions