1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-03 18:50:19 +02:00
guile/module/language
Andy Wingo 258344b4db flesh out glil support for optional and keyword arguments
* libguile/vm-i-system.c (bind-rest): Renamed from push-rest-list.
  (reserve-locals): Change so that instead of reserving space for some
  additional number of locals, reserve-locals takes the absolute number
  of locals, including the arguments.

* module/language/glil.scm (<glil-std-prelude>, <glil-opt-prelude>)
  (<glil-kw-prelude>): New GLIL constructs, to replace <glil-arity>.

* module/language/glil/compile-assembly.scm (glil->assembly): Compile
  the new preludes. Some instructions are not yet implemented, though.

* module/language/tree-il/analyze.scm (analyze-lexicals): The nlocs for
  a lambda will now be the total number of locals, including arguments.

* module/language/tree-il/compile-glil.scm (flatten-lambda): Update to
  write the new prelude.

* module/system/vm/program.scm (program-bindings-for-ip): If a given
  index doesn't have a binding at the ip given, don't cons it on the
  resulting list.

* test-suite/tests/tree-il.test: Update for GLIL changes.
2009-10-23 14:51:19 +02:00
..
assembly de-nargs struct scm_objcode; procedure-property refactor 2009-10-23 14:51:19 +02:00
brainfuck language-readers receive environment as an arg 2009-10-16 13:39:24 +02:00
bytecode language-readers receive environment as an arg 2009-10-16 13:39:24 +02:00
ecmascript Fix typos leading to unbound variable references. 2009-10-22 22:57:25 +02:00
glil flesh out glil support for optional and keyword arguments 2009-10-23 14:51:19 +02:00
objcode compilation enviroments are always modules; simplifications & refactorings 2009-10-16 15:33:32 +02:00
scheme compilation enviroments are always modules; simplifications & refactorings 2009-10-16 15:33:32 +02:00
tree-il flesh out glil support for optional and keyword arguments 2009-10-23 14:51:19 +02:00
value Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
assembly.scm de-nargs struct scm_objcode; procedure-property refactor 2009-10-23 14:51:19 +02:00
glil.scm flesh out glil support for optional and keyword arguments 2009-10-23 14:51:19 +02:00
objcode.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
tree-il.scm Remove unused variables in system/language. 2009-09-21 00:36:31 +02:00