From: Jim Pryor Date: Sun, 3 Oct 2010 19:58:03 +0000 (-0400) Subject: Merge branch 'pryor' X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=commitdiff_plain;h=bb7d661ae9cacbe86e730ab3eea5cf2ff864912e;hp=5fa25870987fce498870f06907422cee6a0bb8b1 Merge branch 'pryor' --- diff --git a/assignment_3_evaluator.mdwn b/assignment_3_evaluator.mdwn new file mode 100644 index 00000000..4097eb68 --- /dev/null +++ b/assignment_3_evaluator.mdwn @@ -0,0 +1,93 @@ +Here are the definitions pre-loaded for working on assignment 3: + + + +do eta-reductions too + + + + + +
+
+ diff --git a/chris_notes b/chris_notes deleted file mode 100644 index 0f640e12..00000000 --- a/chris_notes +++ /dev/null @@ -1,87 +0,0 @@ - -1. Understanding the meaning(use) of programming languages - helps understanding the meaning(use) of natural langauges - - 1. Richard Montague. 1970. Universal Grammar. _Theoria_ 34:375--98. - "There is in my opinion no important theoretical difference - between natural languages and the artificial languages of - logicians; indeed, I consider it possible to comprehend the - syntax and semantics of both kinds of languages within a - single natural and mathematically precise theory." - - 2. Similarities: - - Function/argument structure: - f(x) - kill(it) - pronominal binding: - x := x + 1 - John is his own worst enemy - Quantification: - foreach x in [1..10] print x - Print every number from 1 to 10 - - 3. Possible differences: - - Parentheses: - 3 * (4 + 7) - ?It was four plus seven that John computed 3 multiplied by - (compare: John computed 3 multiplied by four plus seven) - Ambiguity: - 3 * 4 + 7 - Time flies like and arrow, fruit flies like a banana. - Vagueness: - 3 * 4 - A cloud near the mountain - Unbounded numbers of distinct pronouns: - f(x1) + f(x2) + f(x3) + ... - He saw her put it in ... - [In ASL, dividing up the signing space...] - - -2. Standard methods in linguistics are limited. - - 1. First-order predicate calculus - - Invented for reasoning about mathematics (Frege's quantification) - - Alethic, order insensitive: phi & psi == psi & phi - But: John left and Mary left too /= Mary left too and John left - - 2. Simply-typed lambda calculus - - Can't express the Y combinator - - -3. Meaning is computation. - - 1. Semantics is programming - - 2. Good programming is good semantics - - 1. Example - - 1. Programming technique - - Exceptions - throw (raise) - catch (handle) - - 2. Application to linguistics - presupposition - expressives - - Develop application: - fn application - divide by zero - test and repair - raise and handle - - fn application - presupposition failure - build into meaning of innocent predicates? - expressives - throw - handle - resume computation - diff --git a/index.mdwn b/index.mdwn index c4f7dc63..3a4584ab 100644 --- a/index.mdwn +++ b/index.mdwn @@ -10,6 +10,8 @@ This course will be co-taught by [Chris Barker](http://homepages.nyu.edu/~cb125/ * The seminar meets on Mondays from 4-6, in the Linguistics building at 10 Washington Place, in room 104 (back of the first floor). + + * One student session will be held every Wednesday from 3-4. The other will be arranged to fit the schedule of those who'd like to attend but can't make the Wednesday time. (We first proposed Tuesdays from 11-12, but this @@ -23,11 +25,14 @@ week's homework, for instance, before the session. * There is now a [[lambda evaluator]] you can use in your browser (no need to install any software). It can help you check whether your answer to some of the -homework questions works correctly. +homework questions works correctly. There is also now a [library](/lambda_library) of lambda-calculus arithmetical and list operations, some relatively advanced. + An evaluator with the definitions used for homework 3 +preloaded is available at [[assignment 3 evaluator]]. + * Henceforth, unless we say otherwise, every homework will be "due" by Sunday morning after the Monday seminar in which we refer to it. (Usually we'll post the assignment shortly before the seminar, but don't @@ -67,6 +72,7 @@ very much worthwhile (and very much appreciated) if you would explain what is difficult, what you tried, why what you tried didn't work, and what you think you need in order to solve the problem. +