You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the continuation of the work on issue #609. To evaluate the compatibility of Medley Common Lisp with ANSI Common Lisp I'm testing on Medley the code of Peter Seibel's book Practical Common Lisp.
Now that it does I ran the code of chapter 3 again leaving the loop call as is. I only changed the code to add a comment at the beginning of the files, so that Medley can recognize them as pure Common Lisp files, and to initially make the XCL-USER package current.
Session transcript
I loaded the resulting source files and evaluated the following expressions at a XCL Exec:
2/8> (load"pclchap3-packages.lisp")
; Loading {DSK}<home>medley>il>demo>pclchap3-packages.lisp;1; Finished loading {DSK}<home>medley>il>demo>pclchap3-packages.lisp;1, 103 bytes readIL:|{DSK}<home>medley>il>demo>pclchap3-packages.lisp;1|
2/9> (load"pclchap3-simple-database.lisp")
; Loading {DSK}<home>medley>il>demo>pclchap3-simple-database.lisp;1; Finished loading {DSK}<home>medley>il>demo>pclchap3-simple-database.lisp;1, 2013 bytes readIL:|{DSK}<home>medley>il>demo>pclchap3-simple-database.lisp;1|
2/10> (setf*package* (find-package"COM.GIGAMONKEYS.SIMPLE-DB"))
#<Package COM.GIGAMONKEYS.SIMPLE-DB>
2/11> (add-cds)
Title: The Little Interlisper
Artist: W.R. Iter
Rating: 9
Ripped [y/n]: y
Another? [y/n]: n
NIL
2/12> (select (where :title"The Little Interlisper"))
((:TITLE"The Little Interlisper":ARTIST"W.R. Iter":RATING9:RIPPEDT))
2/13> (select (where :rating9))
((:TITLE"The Little Interlisper":ARTIST"W.R. Iter":RATING9:RIPPEDT))
2/14>
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Chapter 3
This is the continuation of the work on issue #609. To evaluate the compatibility of Medley Common Lisp with ANSI Common Lisp I'm testing on Medley the code of Peter Seibel's book Practical Common Lisp.
When I first tested the code of chapter 3 I had to replace a
loop
call withdo
because Medley didn't supportloop
yet.Now that it does I ran the code of chapter 3 again leaving the
loop
call as is. I only changed the code to add a comment at the beginning of the files, so that Medley can recognize them as pure Common Lisp files, and to initially make theXCL-USER
package current.Session transcript
I loaded the resulting source files and evaluated the following expressions at a XCL Exec:
All the code worked as expected.
Beta Was this translation helpful? Give feedback.
All reactions