Hey there, Ben—I'm an old schoolmate of yours from that time and place. I use a pseudonym on discussion lists so as not to embarrass myself or our beloved teacher with my silly questions. ; )
I'm in the same situation—starting up Grace/CM after well over a decade of doing little to nothing with it. Bill Schottstaedt just gave me the names of the following handy resources a few weeks ago on the list. Here are some links: "The Scheme Programming Language" by Dybvig http://www.scheme.com/tspl2d/ Peter Seibel's Practical Common Lisp http://www.gigamonkeys.com/book/ I think you're right about "Scheme is a 'dialect' of Lisp...and S7 is an extension of Scheme." but I'll let an expert confirm or correct. Yes, there's an (nth x y) function in Scheme. I banged my head on this one too—It's backwards from what we remember: (nth listname index) instead of (nth index listname) Cheers to middle aged dogs re-learning old tricks! On Sun, Feb 21, 2016 at 1:00 PM, <[email protected]> wrote: > Send Cmdist mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://cm-mail.stanford.edu/mailman/listinfo/cmdist > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Cmdist digest..." > > > Today's Topics: > > 1. Community of Grace/CM users? (Ben McAllister) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 21 Feb 2016 10:48:13 -0800 > From: Ben McAllister <[email protected]> > To: cm list <[email protected]> > Subject: [CM] Community of Grace/CM users? > Message-ID: > <CADtM24xC3i7QGh5c_Dv7MX_YsYGBApr57=PUXv= > [email protected]> > Content-Type: text/plain; charset=UTF-8 > > Hi All, > > I studied Computer Music with Richard Karpen in the 90s at University > of Washington, where CM 1.4 and Csound were the tools of the day. I've > been having a blast these past few weeks re-writing my CM 1.x pieces > in Grace / CM3! Really great job on Grace - thanks so much for the > documentation and examples in Grace. I found the tutorials and > examples very easy to follow. I'd like to find a way to contribute > more examples as I work through resuscitating my old work :) > > I build software for a living, but haven't used Lisp for anything > except music. It would be helpful for me to have a better view of > where Common Music sits alongside Lisp, Scheme, and S7. If I > understand correctly, Scheme is a 'dialect' of Lisp with a rich > community of users, and S7 is an extension of Scheme. Have I got that > right? > > So, specifically to Grace, does this mean any Scheme code should run > from a Grace editor window? > > As I refresh my memory on how to do relatively simple things in > Scheme, I'm not sure if they're intended to be supported in Scheme. To > take one random example, I assume I can consult the latest Scheme docs > online to figure out whether or not there's an (nth x y) function in > Scheme like there is in CL - there isn't, but it's straightforward to > code up: > > (define (nth n l) > (if (or (> n (length l)) (< n 0)) > (error "Index out of bounds.") > (if (eq? n 0) > (car l) > (nth (- n 1) (cdr l))))) > > > Lastly, besides maybe Stack Overflow, it doesn't look like there is a > place online where users can convene and share experiences and code > except this mailing list. True? > > Thanks for reading and once again, great work! > -- > Ben McAllister | listenfaster.com | @listenfaster > > > ------------------------------ > > _______________________________________________ > Cmdist mailing list > [email protected] > https://cm-mail.stanford.edu/mailman/listinfo/cmdist > > > End of Cmdist Digest, Vol 94, Issue 8 > ************************************* > >
_______________________________________________ Cmdist mailing list [email protected] https://cm-mail.stanford.edu/mailman/listinfo/cmdist
