GithubHelp home page GithubHelp logo

Comments (4)

nigel3289 avatar nigel3289 commented on July 25, 2024

The user manual says
"The file clos-tests.lisp, included with Corman Lisp in the examples folder, contains most of the code samples from the book, and is useful for seeing how CLOS works.
"
Howerver directory listing of lisp files in examples with current install is
Directory of c:\Program Files (x86)\Corman Lisp\examples

23/09/2016 12:49 PM 4,466 baby.lisp
23/09/2016 12:49 PM 684 callbacks.lisp
23/09/2016 12:49 PM 5,266 com-interfaces.lisp
23/09/2016 12:49 PM 4,737 console-stuff.lisp
23/09/2016 12:49 PM 6,630 devcaps1.lisp
23/09/2016 12:49 PM 2,216 dllsample.lisp
23/09/2016 12:49 PM 2,594 double-float-optimizations.lisp
23/09/2016 12:49 PM 3,683 hellowin.lisp
23/09/2016 12:49 PM 2,118 ifstar.lisp
23/09/2016 12:49 PM 4,714 insults.lisp
23/09/2016 12:49 PM 2,043 internet.lisp
23/09/2016 12:49 PM 17,743 JavaClass.lisp
23/09/2016 12:49 PM 10,519 life.lisp
23/09/2016 12:49 PM 2,450 lisp-heap-stats.lisp
23/09/2016 12:49 PM 761 math-fun.lisp
23/09/2016 12:49 PM 7,649 memoize.lisp
22/02/2017 12:38 AM 49,909 minesweepers.lisp
23/09/2016 12:49 PM 3,203 normal-random.lisp
23/09/2016 12:49 PM 1,791 optimize-examples.lisp
23/09/2016 12:49 PM 913 pi.lisp
23/09/2016 12:49 PM 4,519 play-mp3s.lisp
23/09/2016 12:49 PM 4,513 poppad1.lisp
23/09/2016 12:49 PM 3,915 primes.lisp
23/09/2016 12:49 PM 1,040 quicksort.lisp
23/09/2016 12:49 PM 3,641 registry.lisp
23/09/2016 12:49 PM 1,128 shortcuts.lisp
23/09/2016 12:49 PM 12,041 sysmets3.lisp
23/09/2016 12:49 PM 3,814 touch.lisp
23/09/2016 12:49 PM 6,111 touchx.lisp
23/09/2016 12:49 PM 5,749 utility-functions.lisp
30 File(s) 180,560 bytes
Could the file be made available?
Cheers
Nigel

from cormanlisp.

nigel4520 avatar nigel4520 commented on July 25, 2024

Found closette-tests.lisp in the tests directory rather than Clos-tests.lisp .

I saw that the earlier PowerLisp by Roger Corman @rgcorman also mentioned a Clos test file in its manual so I download PowerLisp_2_02_sea.hqx from https://download.cnet.com/PowerLisp/3000-2247_4-2061.html . Inside that I found the file closette-tests.lisp in the examples and test directories.

The PowerLisp manual mentions clos-tests.lisp, as the Corman Lisp manual does, rather than closette-tests.lisp. So probably just an update of the manual to refer to closette-tests.lisp is needed.

from cormanlisp.

nigel4520 avatar nigel4520 commented on July 25, 2024

I've extracted the code testing chapter 1 stuff into a separate file. I've made it emit text as a test rather than trying drawing as output (the original is just silent if no errors occur). This makes it easier tom play with after the lisp file is run in Corman Lisp using the menu <Lisp/Execute File...> option.

I attach the file here with extra .txt extension. Any comments welcome.

I'll keep working through closette-tests.lisp to make some playable learn-by-fiddling files.
clos-tests-ch1.lisp.txt

from cormanlisp.

nigel3289 avatar nigel3289 commented on July 25, 2024

So instead of
"The file clos-tests.lisp, included with Corman Lisp in the examples folder, contains most of the code samples from the book, and is useful for seeing how CLOS works.
"
it should probably read
"The file closette-tests.lisp, included with Corman Lisp in the examples folder, contains most of the code samples from the book, and is useful for seeing how CLOS works.
"
and closette-tests.lisp should be copied from the tests folder (that doesn't appear in the installed directories) to also be in the installed examples folder.

What do you think @arbv ?

from cormanlisp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.