Skip to content

Chocopy-LLVM/chocopy-llvm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A repo to store the compiler project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published