RU beehive logo ITEC dept promo banner
ITEC 380
2020spring
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
Jan.21languages steer programmer choices§§1.0–1.3 (pp.5–16); §§11.0–11.2 (pp.535–538) (skim)
Jan.23racket intro§11.3.0 (pp. 539–542)hw01a, on D2L
week 2
Jan.28The Design Recipe: unit-tests (pizza-area) code: before, after
Jan.30language-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).
week 3
Feb.04Union types: further examples incl. numeric intervals; use helpers for union-of-unionsvideo: Union types (18m05s) and video: part II (28m24s) code: before, afterhw02/
Feb.06use helpers for union-of-unions; finish language-vocab-and-concepts/
week 4
Feb.11Finish structs intro; Design exercise: a GUI textbox code: before, after (and an alternate version) first two videos of structs intro (~35min)hw03/
Feb.13Structs within structs (easter-egg textbox)
week 5
Feb.18union of structs (book-or-dvd) code: before, after; Families of languageshw04/
Feb.20list introduction§6.6, and §10.1–10.3.1. Suggested/optional: all of §6 and §10.3. Challenge/option: §10.5.
week 6
Feb.25hw05a (2 problems)
Feb.27terms: scope, binding occurrence (and let); A non-list example of recursive data; data-def'n for natnumscode: before, afterlists.html
week 7
Mar.03examples; stepping through a recursive function; start Tail recursion (code: before, after)§2.1: Grammars
Mar.05finish tail-recursion; passing functions as arguments: code: before, after(video-links embedded in the provided code)
spring 🌷 br
eak
week 8
Mar.intro grammars/BNF; practice: grammar for field-declarations
Mar.19continue Grammars: recursive rules; parse trees (for fun: an abusive main.java)hw06: tail-recursion-scope.html
week 9
Mar.24
Mar.26reflect on immutable data; finish grammars
week10
Mar.31Discuss hw06-soln;start Trees: code: before, after (video (32m23s))
Apr.02video: 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
week11
Apr.07Decide on our language's V0 syntax and internal representation of Exprs/parse-trees; start the law-of-racket.rkt
Apr.09Look at ../Homeworks/Project/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.
week12
Apr.14explaining 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 ../Homeworks/Project/V0.html.
Apr.16scope-simple-examples.rkt; prolog intro§3.3, but you can skim §§3.3.4-3.3.5.../Homeworks/V2.html
week13
Apr.21prolog practice; Prolog: recursive relationsScott Chpt.11, but skip §11.2.6
Apr.23Review V4-soln; lists in prolog§3.6 (“the binding of referencing environments”)../Homeworks/V4.html
week14
Apr.28Finish lists in prolog.
Possible: sorts.pl, and/or numbers in prolog
Apr.30Finish looking at: implementing objects-with-let-over-lambda.rkt (pretty much). Wrap-up../Homeworks/V6.html
finals week
May.07
(Thu)
10:15
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.