mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-27 23:40:24 +02:00
* module/language/tree-il/compile-glil.scm (flatten): Actually apply only needs one arg after the proc. And shit, call/cc and apply in drop contexts also need to be able to return arbitrary numbers of values; work it by trampolining through their applicative (non-@) definitions. Also, simplify the single-valued drop case to avoid the truncate-values. * module/language/tree-il/inline.scm (call/cc): * module/language/tree-il/optimize.scm (*interesting-primitive-names*): Define call/cc as "interesting". Perhaps we should be hashing on value and not on variable. * test-suite/tests/tree-il.test ("application"): Fix up test for new, sleeker output. (Actually the GLIL is more verbose, but the assembly is better.) ("apply", "call/cc"): Add some more tests. |
||
---|---|---|
.. | ||
assembly | ||
bytecode | ||
ecmascript | ||
elisp | ||
ghil | ||
glil | ||
objcode | ||
r5rs | ||
scheme | ||
tree-il | ||
value | ||
assembly.scm | ||
ghil.scm | ||
glil.scm | ||
objcode.scm | ||
tree-il.scm |