next up previous contents index
Next: Background of the Author Up: Testing the Y-Combinator in Previous: Running the Y-Combinator test   Contents   Start

Comments on the Y-Combinator test program

It should be noted that this A++ - Code, even though it looks like Scheme-Code, will not run correctly in a Scheme environment.

One reason is, that A++ uses `lazy evaluation' mode when evaluating lambda expressions. Scheme uses `eager evaluation' mode instead, which causes our test program to loop indefinitely, assuming that the necessary adaptation to the Scheme environment has been done (translation of `if', `mult', `sub', `equaln', `one', `zero', `five' to `if', `*', `-', `equal?', `1', `0', `5').



Georg P. Loczewski 2004-03-05


Impressum und Datenschutz