1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 22:10:21 +02:00
guile/module
Andy Wingo 1e2a8c266d steps on the way to have the callee check the number of arguments
* libguile/_scm.h (SCM_OBJCODE_MINOR_VERSION): Bump.

* libguile/vm-i-system.c (assert-nargs-ee, assert-nargs-ge)
  (push-rest-list): New instructions, which for now don't actually do
  anything. Renumber the rest of the ops in this file.

* module/language/glil.scm (<glil-arity>): New GLIL type, an entity that
  checks the number of args for a block, optionally consing a rest list,
  and either branching or erroring if the arity doesn't match.

* module/language/glil/compile-assembly.scm (glil->assembly): Compile
  <glil-arity> to assembly. Some of these VM ops are not implemented --
  notably the branching case.

* module/language/tree-il/compile-glil.scm (flatten-lambda): Emit
  <glil-arity>.

* test-suite/tests/tree-il.test: Update.
2009-10-23 14:51:17 +02:00
..
ice-9 Fix typos leading to unbound variable references. 2009-10-22 22:57:25 +02:00
language steps on the way to have the callee check the number of arguments 2009-10-23 14:51:17 +02:00
oop Fix typos leading to unbound variable references. 2009-10-22 22:57:25 +02:00
rnrs Complete changing license to LGPLv3+ 2009-06-17 22:30:26 +01:00
scripts Remove unused variables in ice-9/goops/srfi/scripts. 2009-09-21 00:24:08 +02:00
srfi Fix typos leading to unbound variable references. 2009-10-22 22:57:25 +02:00
system Fix typos leading to unbound variable references. 2009-10-22 22:57:25 +02:00
Makefile.am remove GHIL, Elisp, and R5RS languages 2009-10-16 12:20:06 +02:00