Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 1.38 KB

README.md

File metadata and controls

18 lines (12 loc) · 1.38 KB

ChocoPy PA

Online Doc 中文文档 pages-build-deployment CMake

The design of the lightir and optimization refer to USTC's design and the spec of chocopy is from UC Berkeley.

PA1

Compile the python 3.6 front-end code to AST tree. Start from using docker and see the doc.

PA2

Compile the python 3.6 front-end code to type-checked AST tree. See the doc.

PA3

Compile type-checked AST tree to LightIR code. See the doc.

For bonus project, do optimization pass on LightIR code. Start learning basics of lightIR and see the doc. Note that there have been changes on stdlib after the publication of the PAs.

PA4

Compile the LightIR code to RiscV Assembly. See the doc.