1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-27 23:40:24 +02:00
guile/module/language
Andy Wingo 0f423f20aa fix apply and call/cc in drop contexts
* 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.
2009-05-21 21:13:24 +02:00
..
assembly compilation passes return third value: the continuation environment 2009-04-16 15:20:40 +02:00
bytecode compilation passes return third value: the continuation environment 2009-04-16 15:20:40 +02:00
ecmascript compilation passes return third value: the continuation environment 2009-04-16 15:20:40 +02:00
elisp remove .cvsignore files 2008-11-10 12:17:18 +01:00
ghil tree-il -> glil compiler works now, at least in initial tests 2009-05-15 23:44:14 +02:00
glil compile list' and vector' to their associated opcodes 2009-05-20 13:33:44 +02:00
objcode compilation passes return third value: the continuation environment 2009-04-16 15:20:40 +02:00
r5rs remove GPKG.def files 2009-01-29 21:12:00 +01:00
scheme remove compile-time-environment 2009-05-20 17:41:21 +02:00
tree-il fix apply and call/cc in drop contexts 2009-05-21 21:13:24 +02:00
value Aggregate makefiles for module/system' and module/language'. 2009-02-24 23:54:16 +01:00
assembly.scm Add `load-unsigned-integer' instruction. 2009-02-18 00:54:05 +01:00
ghil.scm support expression-by-expression compilation 2009-04-16 17:49:59 +02:00
glil.scm tree-il -> glil compiler works now, at least in initial tests 2009-05-15 23:44:14 +02:00
objcode.scm static opcodes; refactor program/objcode division; use new assembly pipeline 2009-01-29 21:12:00 +01:00
tree-il.scm add tree-il->glil compilation test suite 2009-05-18 23:45:35 +02:00