flâneur

lecture13

web.stanford.edu · 2,214 words · saved by 1 readers

N/A

Operational Semantics of Cool CS143 Lecture 13 Instructor: Fredrik Kjolstad Slide design by Prof. Alex Aiken, with modifications 1 Lecture Outline • COOL operational semantics • Motivation • Notation • The rules 2 Motivation • We must specify for every Cool expression what happens when it is evaluated – This is the “meaning” of an expression • The definition of a programming language: – The tokens ⇒ lexical analysis – The grammar ⇒…

related reading