tromey / el-compilador

An SSA-based compiler for Emacs Lisp
206 stars 10 forks source link

SSA vs CPS for Lisp? #2

Closed larsbrinkhoff closed 8 years ago

larsbrinkhoff commented 8 years ago

Hello,

I'm interested in Lisp compiler technology. I see you chose the SSA framework for your compiler. Some other compilers for functional-ish languages use CPS. Do you have an opinion on whether SSA or CPS is best suited for compiling Lisp?

tromey commented 8 years ago

I don't really have an opinion. For me the story was that I knew a bit about SSA and wanted to understand it more. There were some articles about this though - some on Wingo's blog and also one on the MLton list, IIRC mostly in favor of SSA.

larsbrinkhoff commented 8 years ago

I did have Wingo's blog in mind, condsering that he chose CPS for the Guile compiler, but later seemed to have second thoughts. I'll check out the MLton list.

Thanks!