Skip to content

cs131-chocopy/chocopy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChocoPy

This is a refactor version of chocopy-llvm.

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.

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •