RU beehive logo ITEC dept promo banner
ITEC 380
2019fall
ibarland

schedule

These lecture notes are provided as a reference (my own personal lecture-prep). They are not intended as a substitute for attending class.

datelecture notesreadinghw
week 1
Aug.26languages steer programmer choices§§1.0–1.3 (pp.5–16); §§10.0–10.2 (pp.505–509) (skim)
Aug.28racket intro§10.3.0 (pp. 509–512)
Aug.30
week 2
Sep.02The Design Recipe: unit-tests (pizza-area) code: before, afterhw01, on D2L
Sep.04Union types (and, cond) code: before, after
Sep.06
week 3
Sep.09Union types: further examples incl. numeric intervals; use helpers for union-of-unionshw02/
Sep.11language-vocab-and-concepts/§1.6.1, and skim the rest of Chpt.1 (§1.4–1.7). Do look at how Figures 1.21 (GCD program in C) and 1.22 (its tokenized version) have counterparts in Fig. 1.25 (its parse tree -- a big diagram, but don't be intimidated).
Sep.13
week 4
Sep.16start structs introhw03/
Sep.18Finish structs intro; Design exercise: a GUI textbox code: before, after (and an alternate version)
Sep.20
week 5
Sep.23Structs within structs (easter-egg textbox)
Sep.25union of structs (book-or-dvd) code: before, after; Families of languages
Sep.27hw04/
week 6
Sep.30list introduction§6.6, and §10.1–10.3.1. Suggested/optional: all of §6 and §10.3. Challenge/option: §10.5.
Oct.02hw05a (2 problems)
Oct.04
week 7
Oct.07A non-list example of recursive data and data-def'n for natnumslists.html
Oct.09examples; stepping through a recursive function; start Tail recursion (code: before, after)§2.1: Grammars
Oct.11fall br
eak
week 8
Oct.14intro grammars/BNF; practice: grammar for field-declarations
Oct.16continue Grammars: recursive rules; parse trees
Oct.18terms: scope, binding occurrence; passing functions passing-functions
week 9
Oct.21 (for fun: an abusive main.java); finish terms
Oct.23reflect on immutable data; finish grammars
Oct.25Discuss hw06-soln;start Trees: code: before, after (video (32m23s))hw06: tail-recursion, scope
week10
Oct.28video: defining ancestor trees in Java (14m41s) (composite pattern), video: writing size and template (17m12s); video: writing changeName (14m22s)
Optional: AncTrees in scala (code, video).
hw07: grammars
Oct.30
Nov.01Decide on our language's V0 syntax and internal representation of Exprs/parse-trees; start the law-of-racket.rkt
week11
Nov.04Look at V0.rkt: data-def'n for an expression, examples of the data, test cases for parse! and expr->string, and the code for expr->string.
Nov.06
Nov.08explaining the code (incl. recursive-descent parsing, and (optionally) some of the tricks used in the accompanying test-harness).
See the videos at the bottom of Interpreting V.
week12
Nov.11scope-simple-examples.rkt; prolog intro§3.3, but you can skim §§3.3.4-3.3.5.Expr Trees
Nov.13
Nov.15prolog practice; Prolog: recursive relationsScott Chpt.11, but skip §11.2.6
week13
Nov.18Review V4-soln; lists in prolog§3.6 (“the binding of referencing environments”)V4 shadowing, function-application; prolog
Nov.20
Nov.22Finish lists in prolog.
Possible: sorts.pl, and/or numbers in prolog
thanksgiving cornucopia br
eak
week14
Dec.02Finish looking at: implementing objects-with-let-over-lambda.rkt (pretty much). Wrap-upV6: environments
Dec.04
Dec.06
week15
Dec.09
finals week
Dec.11
(Wed)
14:45
final exam[0,∞) :-)
Opening notes in .rkt files: Many of the lecture-notes links are .rkt files, not html. You should (a) download the file (say, via right-click or save-as; on Windows you might need to re-name the suffix to .rkt manually), (b) start DrRacket, and then (c) choose File » Open… them. Do not copy-paste into an empty DrRacket window — the language-preference won't be set correctly, and the initial lines may be goofed up. One possible result is the error message read-syntax: `#lang` not enabled.

Helpful Links


logo for creative commons by-attribution license
This page licensed CC-BY 4.0 Ian Barland
Page last generated
Please mail any suggestions
(incl. typos, broken links)
to ibarlandradford.edu
Rendered by Racket.