Python

Python § is a family of languages, designed for the textbook Structure and Interpretation of Computer Programs, JavaScript Adaptation (SICP JS) and supported by the Source Academy system. The languages are called Python §1, Python §2, Python §3 and Python §4, corresponding to the respective chapters 1, 2, 3 and 4 of the textbook. Each previous Python § language is a sublanguage of the next, and all Python § languages are sublanguages of native Python. (Chapter 5 does not require any features beyond Source §4.) This webpage contains the description of the Python § languages and the libraries they come with.

Python §1

Python §2

Python §3

Python §4

Style guide

The Python § Style Guide gives general recommendations on how to write your programs so that they are readable by the members of our learning community.

Specifications

The following technical documents specify the languages and components of the Source Academy.

Specification of Python §1

Specification of Python §2

Specification of Python §3

Specification of Python §4