lecture-05-recap - ;; The first three lines of this file...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ;; The first three lines of this file were inserted by DrScheme. They record metadata ;; about the language level of this file in a form that our tools can easily process. #reader(planet plai/plai:1:4/lang/reader) ;; The first three lines of this file were inserted by DrScheme. They record metadata ;; about the language level of this file in a form that our tools can easily process. ;#reader(lib "reader.ss" "plai" "lang") ; Lecture 5 - recap: ; ; Topics: ; - recap: ; - big picture ; - scope and substitution ; ; - Chapter 4: intro to functions: the F1WAE language ; #| RECAP Big picture: # BNF Defines language syntax <WAE> ::= <number> | {+ WAE WAE} ... / \ / \ v v Concrete syntax Abstract Syntax Represented by (define-type WAE scheme sexp (num (v number) ... '{+ 3 {- 4 2}} --parse--> (add (num 3) (sub (num 4) (num 2))) | calc (interpeter) | V 4 |# | #| Last time we defined the WAE language, which introduces The concept of identifiers and scope....
View Full Document

Page1 / 3

lecture-05-recap - ;; The first three lines of this file...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online