[stack] Scheme to Cat compiler

"Christopher Diggins" <[email protected]>
Newsgroups gmane.comp.lang.concatenative
Message-ID <[email protected]>
I've written a simple compiler from Scheme to Cat in Scheme for a
course and posted it, along with an extremely rushed technical report,
at: http://www.cat-language.com/2cat.zip. Unfortunately it only works
on Gambit Scheme. I tried making it R5 compliant, but I couldn't
figure out how long it would take. I felt like I was programming
Pascal on Dos, because I would only get one error message at a time! I
hope someone will care enough to make it R5 complaint and share it
back with the community.

Anyway, in summary the compiler is relatively simple, and the only
thing a little out of the ordinary is the optimizer, which is a
partial evaluator based on rewriting rules.

Have fun,
Christopher Diggins
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.