UC Berkly CS61A welcome

56 阅读1分钟

preview

This course is mainly designed for SICP(Structure and Interpretation of Computer Programs)

Type of expression

no matter

i=12i\sum_{i=1}^{\infty} 2^i

or 4\sqrt{4} they are all expression.

we can use a notation

f(x)f(x)

to express all the concept.

Anatomy of call a expression

image.png

image.png

The way that programming language work is they interpret expression by applying procedure evaluation

Your program takes in an expression and find opeartor find arguments and apply arguments to operators by recusive!