add chicken links, organize
[lambda.git] / _learning_scheme.mdwn
1 *   [Try Scheme in your browser](http://tryscheme.sourceforge.net/) (slow, bare-bones)
2 *   This site's guide to [[Installing Scheme|/installing#scheme]]
3
4 <!-- -->
5 *   Wikipedia on
6 [Lisp](http://en.wikipedia.org/wiki/Lisp_%28programming_language%29),
7 [Scheme](http://en.wikipedia.org/wiki/Scheme_%28programming_language%29),
8 [Racket](http://en.wikipedia.org/wiki/Racket_%28programming_language%29), and
9 [Chicken](http://en.wikipedia.org/wiki/CHICKEN_%28Scheme_implementation%29)
10
11
12 ## Tutorials ##
13
14 *   [Welcome to Racket](http://docs.racket-lang.org/guide/intro.html#%28part._.Interacting_with_.Racket%29) from Racket Guide
15 *   Chicken [Getting started](http://wiki.call-cc.org/man/4/Getting%20started)
16
17 If you are new to programming or if you have the patience to do so, you should work through a textbook:
18
19 *   a recommended text available online is [Teach Yourself Scheme in Fixnum Days](http://www.ccs.neu.edu/home/dorai/t-y-scheme/t-y-scheme.html)
20 *   the *Little Schemer* book(s) we recommended for the seminar are good introductions, requiring more commitment
21 *   [How to Design Programs](http://www.ccs.neu.edu/home/matthias/HtDP2e/) (HtDP),
22 by Matthias Felleisen, et al., is another good choice, which the Racket group recommends  
23 (the [1st ed](http://htdp.org/2003-09-26/Book/) <!-- go up a level for solutions, extra problems, errata -->
24 is also available, and covers some additional topics like mutation; whenever the book says "Scheme," you can read it as "Racket")
25
26 If you're already a programmer and you're in more of a hurry:
27
28 *   you could look at the [Quick Introduction to Racket](http://docs.racket-lang.org/quick/index.html), which uses DrRacket and a picture-drawing library
29 *   or [An Introduction to Lambda Calculus and Scheme](http://www.jetcafe.org/~jim/lambda.html)
30
31
32
33 ## Advanced Racket Docs ##
34
35 *   [Racket Guide](http://docs.racket-lang.org/guide/index.html) starts with a tutorial, then describes the rest of the Racket language. Intended for programmers who are new to (at least some part of) Racket. If you are new to programming, you should instead start with one of the textbooks listed above. Describes parts of the Racket language that go beyond the learning-oriented fragments of HtDP.
36 *   [Racket Reference](http://docs.racket-lang.org/reference/index.html) defines the core Racket language and its most prominent libraries. Less friendly than Racket Guide, but more precise and complete.
37 *   <form action="http://docs.racket-lang.org/search/index.html" method="get">
38 Racket API Search: <input type="text" name="q" /> |
39 racket/[help](http://docs.racket-lang.org/reference/Interactive_Help.html)
40 </form>
41 *   [#lang r5rs](http://docs.racket-lang.org/r5rs/index.html), `'cons` expresses `mcons`
42 *   [#lang r6rs](http://docs.racket-lang.org/r6rs/index.html) or #!r6rs
43 *   Supported [SRFIs](http://docs.racket-lang.org/srfi/index.html)
44 *   [Libraries and collections](http://docs.racket-lang.org/reference/collects.html)
45 *   [(require data)](http://docs.racket-lang.org/data/index.html)
46 *   [(require math)](http://docs.racket-lang.org/math/index.html)
47 *   racket/[enter and rerequire](http://docs.racket-lang.org/reference/interactive.html)
48 *   [Debugging](http://docs.racket-lang.org/reference/debugging.html) |
49 the [Stepper](http://docs.racket-lang.org/stepper/index.html)
50 *   [Deploying](http://docs.racket-lang.org/guide/running.html)
51 *   [raco](http://docs.racket-lang.org/raco/index.html) cmdline tool
52
53 <!-- -->
54 *   Macros in [Guide](http://docs.racket-lang.org/guide/macros.html) |
55 [Reference](http://docs.racket-lang.org/reference/Macros.html)
56 *   [Macro debugger](http://docs.racket-lang.org/macro-debugger/index.html)
57
58
59 <!-- -->
60 *   Racket: [latest release](http://download.racket-lang.org/) |
61 [blog](http://blog.racket-lang.org/) |
62 [wiki](https://github.com/plt/racket/wiki)
63 *   [Style guidelines](http://docs.racket-lang.org/style/index.html) <!-- "How to Program Racket" -->
64 *   [raco pkg](http://docs.racket-lang.org/pkg/) package manager |
65 [repository](http://pkgs.racket-lang.org/#)
66 *   Racket [source](https://github.com/plt/racket/) |
67 [bugs](http://bugs.racket-lang.org/)
68
69 <!-- -->
70 *   [[Extending Racket]] <!-- this site -->
71 *   Typed Racket [Guide](http://docs.racket-lang.org/ts-guide/index.html) |
72 [Reference](http://docs.racket-lang.org/ts-reference/index.html)
73 *   [Lazy Racket](http://docs.racket-lang.org/lazy/index.html)
74 *   [PLT Redex](http://redex.racket-lang.org/), for specifying and testing operational semantics
75
76
77 ## Advanced Chicken Docs ##
78
79 *   [(declare (uses *unit*)) vs (include "*path*")](http://wiki.call-cc.org/man/4/Basic%20mode%20of%20operation)
80 *   Using [csi](http://wiki.call-cc.org/man/4/Using%20the%20interpreter) |
81 [csc](http://wiki.call-cc.org/man/4/Using%20the%20compiler) |
82 [deploying](http://wiki.call-cc.org/man/4/Deployment)
83 *   Supported [language](http://wiki.call-cc.org/man/4/Supported%20language) |
84 [standards](http://wiki.call-cc.org/supported-standards)
85 *   <form action="http://api.call-cc.org/cdoc" method="get">
86 Chicken API Search:
87 <a href="">Chickadee</a> <input name="q" type="text" />
88 <input type="submit" name="query-name" hidden value="Look+up" />
89 <input type="submit" name="query-regex" value="regex" />
90 </form>
91 *   [FAQ](http://wiki.call-cc.org/man/4/faq)
92 *   Chicken [development](http://code.call-cc.org/#development) |
93 [process](http://wiki.call-cc.org/development-process) |
94 [bugs](http://bugs.call-cc.org/)
95
96
97 <!-- -->
98 *   [Data model](http://wiki.call-cc.org/man/4/Data%20representation) |
99 [internals](http://wiki.call-cc.org/Internals) |
100 [FFI](http://wiki.call-cc.org/man/4/Interface%20to%20external%20functions%20and%20variables)
101 *   [Eggs](http://wiki.call-cc.org/eggs) |
102 [Eggs2](http://wiki.call-cc.org/man/4/Extensions) |
103 [Repository](http://wiki.call-cc.org/chicken-projects/egg-index-4.html)
104 *   [Distributed egg repos](http://wiki.call-cc.org/distributed-egg-repos)
105 *   [chicken-setup](http://manpages.ubuntu.com/manpages/karmic/man1/chicken-setup.1.html)
106 *   [chicken-install](http://manpages.ubuntu.com/manpages/utopic/en/man1/chicken-install.1.html)
107 *   Tutorial on writing eggs: [1](http://shisaa.jp/postset/chicken-scheme-1.html) [2](http://shisaa.jp/postset/chicken-scheme-2.html) [3](http://shisaa.jp/postset/chicken-scheme-3.html)
108
109
110
111 ## Other Scheme Links ##
112
113 The Scheme language is standardized; the various implementations of the language usually adhere to what's published in the current standard and add on
114 different handy extensions. The first standard was published in 1975. A revision was published a few years later called "The revised report on Scheme, a
115 dialect of Lisp." Thereafter, revisions of the standard were titled "The Revised Revised Report..." and so on, or "The Revised^n Report..." for
116 short. One widely implemented standard is
117 [The Revised^5 Report on Scheme](http://www.schemers.org/Documents/Standards/R5RS/HTML/),
118 or R5RS, published in 1998. Another standard
119 [R6RS](http://www.r6rs.org/final/html/r6rs/r6rs.html)
120 ([libraries](http://www.r6rs.org/final/html/r6rs-lib/r6rs-lib.html))
121 was ratified in 2007, but had many detractors and wasn't fully accepted in the community. Currently Scheme is being split into a lean minimal base, now ratified as
122 [R7RS-small](http://trac.sacrideo.us/wg/raw-attachment/wiki/WikiStart/r7rs.pdf)
123 ([errata](http://trac.sacrideo.us/wg/wiki/R7RSSmallErrata)),
124 and a richer language
125 [R7RS-large](http://www.scheme-reports.org/2015/working-group-2.html)
126 (still being designed) that standardizes many add-ons.
127
128 *   [Scheme FAQ](http://community.schemewiki.org/?scheme-faq)
129 *   [Scheme Requests for Implementation](http://srfi.schemers.org/) (SRFIs)
130
131
132 <!-- -->
133 *   [The Scheme Programming Language](http://scheme.com/tspl4/), by R. Kent Dybvig ([errata](http://scheme.com/tspl4-errata.html))
134 *   [Programming Languages: Application and Interpretation/2ed](http://cs.brown.edu/courses/cs173/2012/book/)
135 *   The [Schematics Scheme Cookbook](http://schemecookbook.org/) is a collaborative effort to produce documentation and recipes for using Scheme for common tasks.
136 *   [The Adventures of a Pythonista in Schemeland](http://www.phyast.pitt.edu/~micheles/scheme/index.html)
137 *   [Comparing Chicken to C, Python, and Perl](http://wiki.call-cc.org/language-comparison)
138 *   [Chicken for Pythonistas](http://wiki.call-cc.org/chicken-for-python-programmers)
139 *   [Stack Overflow](http://stackoverflow.com/questions/tagged/scheme?sort=faq) questions tagged "scheme"
140 *   Chicken [Tips and tricks](http://wiki.call-cc.org/tips%20and%20tricks)
141
142
143 <!-- -->
144 * [huh?](https://acm.wustl.edu/functional/scheme.php)
145 * [Scheme Wiki](http://community.schemewiki.org/)
146 * [Documents at Schemers.org](http://www.schemers.org/Documents/)
147 * [h vs s](http://www.reddit.com/r/programming/comments/nq1k/haskell_and_scheme_which_one_and_why/)
148 *   Chicken Interview Part [1](http://spin.atomicobject.com/2013/05/02/chicken-scheme-part-1/) [2](http://spin.atomicobject.com/2013/06/19/chicken-scheme-spock-part-2/)
149
150
151 <!--
152 Scheme is a very small language which is based on Lisp, the oldest of functional programming languages. Scheme's main advantages are elegance (the entire language can be built on top of a handful of primitive list manipulating operations), and the enormous corpus of educational material which has been created for it. As such, Scheme is the perfect place to start learning the techniques of functional abstraction. If you decide to study Scheme, you should make sure you that your path through the available material brings you into contact with all of the following (in no particular order):
153
154     recursion (vs. iteration)
155     bottom-up design
156     first-class functions <http://steve-yegge.blogspot.com/2006/03/execution-in-kingdom-of-nouns.html>
157     lambda functions
158     closures
159     continuations
160     macros
161
162 An excellent place to start is the book: Structure and Interpretation of Computer Programs (considered by some the "bible" of functional programming, which may give a false implication as to its breadth, despite it being a very good book). There are also countless other great books and websites which have been published to answer questions on how to learn Lisp, why to learn Lisp, etc., so searching the web will most certainly be worth your time. 
163 -->
164
165 <!--
166 [Racket and vim](http://docs.racket-lang.org/guide/Vim.html)
167 [Chicken and vim](http://wiki.call-cc.org/vim)
168 -->