Programming Languages

Syllabus

Homework

  1. due Thursday, September 6, 2012 pp. 36-37: 1.1-1.7, p.39: 1.13
  2. due Thursday, September 20, 2012 pp. 102-108: 2.1 b and f, 2.3, 2.8, 2.10, 2.17, 2.18 a and b and e; pp. 108-109: 2.33-2.35

Interesting Links

  • Seven Languages in Seven Weeks
  • Lex, Flex, JFlex examples
  • Earley's Parsing Algorithm for general context-free grammars
  • CYK Parsing Algorithm for context-free grammars in Chomsky normal form
  • Notes on Computing First and Follow Sets and LL(1) Parse Tables from CSC 2710
  • IDEOne - Online IDE and Debugging Tool
  • LR Parsing Resources
  • Dr. Ranjit Jhala's PL class at UC San Diego
  • car and cdr in Lisp dialects
  • A Seven-Line Interpreter for a Functional PL
  • OCaml for the Masses, by Yaron Minsky
  • OCaml Tutorials and Examples
  • Java Theory and Practice: Generics Gotchas
  • Static and Dynamic Scoping
  • C++ Constructor Calling Rules with Inheritance
  • Head First Java (two free chapters provided)
  • Java Nested Classes (from Hardcore Java book) part 1, part 2, part 3
  • Sample Java Programs Utilizing Inner Classes and Reflection
  • Generics in the Java Programming Language
  • Multiple Inheritance (Wikipedia)
  • Casting in C++
  • Can Your Programming Language Do This?
  • A Scala Tutorial for Java programmers
  • Is Scala really more complicated than Java?
  • Learning Scala