Skip to content

Compiler: translate Standard ML to Continuation-passing style code.

Notifications You must be signed in to change notification settings

Markz2z/CPS-Translate-4SML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

流程:Abstract syntax tree->Continuation Passing Style->Flat->Closure implementation->hoist the func—>C Language representation(with a tiny GC)

实验编译结果说明:

测试用例:m_hello,m0,m1,m2,m3,m4,fac,print2string

编译环境:Clang

编译通过:m_hello,m0,m1,m2,m3,m4,

编译不通过:fac,print2string(都是两个error,出错原因相同,Contapp的arg没有声明,未解决)

About

Compiler: translate Standard ML to Continuation-passing style code.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published