CSC324H1 Lecture Notes - Lambda Calculus, Intel Core (Microarchitecture), Abstract Syntax Tree

118 views13 pages

Document Summary

Syntax vs semantics: (a (b) c (d e (f g) (h))) = s-expression a(b(), c, d(e, f(g), h())) = term. [ a", [ b"], c", [ d", e", [ f", g"], [ h"]]] = python list (a b () (c ((d e)) (f)) = s-expression. So typically: special semantics => special syntax (not always the case though) Anything that can be replicated by a function call is eager. If something cant, then it is not eager. Side effects are things that you execute for an effect other than return value. F(1) is like (call f 1 ) Lambda calculus (lc) is one minimal foundation for computable functions. Semantics: evaluating a program in the core model: possible value of an expression: One of the booleans true or false. The void value: it can also produce side-effects. If condition true then result is consequent, else it is alternative.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents