1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-03 13:20:26 +02:00
guile/module/language/ecmascript
Andy Wingo b0c8c187d9 separate "inits" field in <lambda-case>; compile fixes for inits, kwargs
* module/language/tree-il.scm (<lambda-case>): Add "inits" field, so we
  don't have to parse it out of opt and kw. Adapt the traversal
  procedures.
* module/language/tree-il/analyze.scm (analyze-lexicals): Analyze
  lexicals in the <lambda-case> init expressions as well. Fix keyword
  allocation.

* module/language/tree-il/compile-glil.scm (compile-glil): Adapt to
  make-lambda-case change.
  (flatten): Adapt to "inits" slot, actually init uninitialized args,
  and fix bugs related to keyword arguments.

* module/language/tree-il/inline.scm (inline!): Adapt a little bit --
  but with no effect.

* module/language/glil/compile-assembly.scm (glil->assembly): Flesh out
  <glil-kw-prelude> compilation some more. Add a "bound?" op for
  <glil-lexical>, which will push #t if the local is bound.

* module/ice-9/psyntax.scm (build-simple-lambda, build-lambda-case):
  Update for new signature of make-lambda-case.
* module/ice-9/psyntax-pp.scm: Regenerated.

* module/language/brainfuck/compile-tree-il.scm (compile-body):
* module/language/ecmascript/compile-tree-il.scm (comp):
* test-suite/tests/tree-il.test ("lambda"): Update for new lambda-case
  syntax.
2009-10-23 16:48:05 +02:00
..
array.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
base.scm Fix typos leading to unbound variable references. 2009-10-22 22:57:25 +02:00
compile-tree-il.scm separate "inits" field in <lambda-case>; compile fixes for inits, kwargs 2009-10-23 16:48:05 +02:00
function.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
impl.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
parse-lalr.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
parse.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
spec.scm language-readers receive environment as an arg 2009-10-16 13:39:24 +02:00
tokenize.scm Remove unused variables in system/language. 2009-09-21 00:36:31 +02:00