sep 12
- pg 9 : language classification
declarative
functional Lisp, Haskell
dataflow Id (?)
logic Prolog
template XSLT (?)
imperative
von Neumann C, Fortran
scripting Perl, Python
object Java, C++, Smalltalk
- pg 14 : compilation vs interpeter ; pros and cons
- caveats: intermediate files, libraries, preprocessors
- pg 22+ : compilation
- scanning (finite state machine) to find tokens
- parsing (context free grammar) to generate parse tree
- semantic analysis makes symbol table and syntax tree
- target code generation makes assembler
- optimization pass tries to do better assembler
- discuss assignment ... see chap1