X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=index.mdwn;h=6e0f1ddbccc281cdade2c46c59c50072b5014199;hp=6df8b02ec42c217008927b0619eec5edbd4a2fc7;hb=21f8ee62a71e6b58e509f64f777ee05d88681202;hpb=91ebe148bbc225d244898fb61591a37ad909e834 diff --git a/index.mdwn b/index.mdwn index 6df8b02e..6e0f1ddb 100644 --- a/index.mdwn +++ b/index.mdwn @@ -6,11 +6,11 @@ This course is co-taught by [Chris Barker](http://homepages.nyu.edu/~cb125/) and The seminar meets in spring 2015 on Thursdays from 4 until a bit before 7 (with a short break in the middle), in the Linguistics building at 10 Washington Place, in room 103 (front of the first floor). - +One student session to discuss homeworks will be held every Wednesday from 5-6, in Linguistics room 104 (back of the first floor). + +## [[Index of Main Content|content]] (lecture notes and more) ## -## [[Index of Content (lecture notes and more)|content]] ## +## [[Offsite Readings|readings]] ## ## Announcements ## @@ -22,22 +22,20 @@ the text and links there haven't been updated. And/or you can get started on ins * As we mentioned in class, if you're following the course and would like to be emailed occasionally, send an email to , saying "lambda" in the subject line. Most often, we will just post announcements to this website, rather than emailing you. But occasionally an email might be more appropriate. + - +we'll be doing the next week. It's expected you'll have made at least a serious start on that +week's homework (due the following day) before the session. -* Here is information about [[How to get the programming languages running on your computer|installing]]. +* Here is information about [[How to get the programming languages running on your computer|installing]]. If those instructions seem overwhelming, note that it should be possible to do a lot of this course using only demonstration versions of these languages [[that run in your web browser|browser]]. * Henceforth, unless we say otherwise, every homework will be "due" by Wednesday morning after the Thursday seminar in which we refer to it. @@ -81,6 +79,10 @@ what you think you need in order to solve the problem. [[Homework|exercises/assignment1]]; [[Advanced notes|topics/week1 advanced notes]] +(**Intermezzo**) +> The [[differences between our made-up language and Scheme, OCaml, and Haskell|rosetta]]; +Help on [[learning Scheme]], [[OCaml|learning OCaml]], and [[Haskell|learning Haskell]]; +[[What do words like "interpreter" and "compiler" mean?|ecosystem]] - -[[How to get the programming languages running on your computer|installing]] ## Recommended Books ## @@ -281,6 +293,20 @@ comfortable with OCaml (or with Haskell) than with Scheme might consider working through this book instead of The Little Schemer. For the rest of you, or those of you who *want* practice with Scheme, go with The Little Schemer. +* *The Haskell Road to Logic, Math and Programming*, by Kees Doets and Jan van Eijck, currently $22 on [Amazon](http://www.amazon.com/dp/0954300696) is a textbook teaching the parts of math and logic we cover in the first few weeks of Logic for Philosophers. (Notions like validity, proof theory for predicate logic, sets, sequences, relations, functions, inductive proofs and recursive definitions, and so on.) The math here should be accessible and familiar to all of you. What is novel about this book is that it integrates the exposition of these notions with a training in (part of) Haskell. It only covers the rudiments of Haskell's type system, and doesn't cover monads; but if you wanted to review this material and become comfortable with core pieces of Haskell in the process, this could be a good read. +(The book also seems to be available online [here](http://fldit-www.cs.uni-dortmund.de/~peter/PS07/HR.pdf).) + + +The rest of these are a bit more advanced, and are also looser suggestions: + +* *Computational Semantics with Functional Programming*, by Jan van Eijck and Christina Unger, currently $42 on [Amazon](http://www.amazon.com/dp/0521757606). We own this but haven't read it yet. It *looks* like it's doing the same kind of thing this seminar aims to do: exploring how natural language meanings can be understood to be "computed". The text uses Haskell, and is aimed at linguists and philosophers as well as computer scientists. Definitely worth a look. + + * Another good book covering the same ground as the Hankin book, but more thoroughly, and in a more mathematical style, is *Lambda-Calculus and Combinators: an Introduction*, by J. Roger Hindley and Jonathan P. Seldin, currently $74 hardback / $65 kindle on [Amazon](http://www.amazon.com/dp/0521898854). @@ -291,7 +317,10 @@ If you choose to read both the Hankin book and this book, you'll notice the auth terminological/notational choices. At first, this makes comprehension slightly slower, but in the long run it's helpful because it makes the arbitrariness of those choices more salient. -* Another good book, covering some of the same ground as the Hankin, and the Hindley & Seldin, but delving deeper into typed lambda calculi, is *Types and Programming Languages*, by Benjamin Pierce, currently $77 hardback / $68 kindle on [Amazon](http://www.amazon.com/dp/0262162091). This book has many examples in OCaml. + +* Another good book, covering a bit of the same ground as the Hankin and the Hindley & Seldin, but focusing especially on typed lambda calculi, is *Types and Programming Languages*, by Benjamin Pierce, currently $77 hardback / $68 kindle on [Amazon](http://www.amazon.com/dp/0262162091). This book has many examples in OCaml. It seems to be the standard textbook for CS students learning type theory. + +* The next two books focus on the formal semantics of typed programming languages, both in the "denotational" form that most closely corresponds to what we mean by semantics, and in the "operational" form very often used in CS. These are: *The Formal Semantics of Programming Languages*, by Glynn Winskel, currently $38 on [Amazon](http://www.amazon.com/dp/0262731037), and *Semantics of Programming Languages*, by Carl Gunter, currently $41 on [Amazon](http://www.amazon.com/dp/0262071436). ----