Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Lisp to C compiler

Name: Anonymous 2014-04-19 17:42

Hi! It is me again!

I've found that continuations in C/C++ doesn't require tail-call optimization on the part of the compiler. You can just do setjmp and longjmp when stack gets close to full. This means you can't do stack allocation, but you should allocate everything on heap anyway.

Name: Anonymous 2014-04-21 16:46

>>11

Apparently it works pretty well. Dunno about portability.

It's open source though so you can check it out if you want
http://code.call-cc.org/git/chicken-core.git/

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List