Com S 342 meeting -*- Outline -*- * means of combination syntax ** syntax of expressions Q: What should the syntax be for expressions? consider parsing things like 3 + 4 discuss parsing (LL(1) idea), parse trees (draw pictures) operator precedence (high, low) recall the goal of manipulating programs as data Q: how can we represent parse trees as linear text? what data structures do we have that would work? ** commands and combinations of commands Q: What commands do we need? assignment, sequencing, if-then-else, perhaps other special forms terms: expression language vs. statement language in 2001: primitive compound ================================ (set! x E) (if b S1 S2) (f args) while return (begin S1 ... Sn) goto, break