Implemented lexical-let and lexical-let* for elisp.
authorDaniel Kraft <d@domob.eu>
Wed, 29 Jul 2009 10:09:43 +0000 (12:09 +0200)
committerDaniel Kraft <d@domob.eu>
Wed, 29 Jul 2009 10:09:43 +0000 (12:09 +0200)
commita6a5cf03d4689d9d5c9c50631e33562640439224
tree3bdd9a6a28f3228a31e650b18b3fdf28d2a4656e
parentfd40f371a6f0e8e5e719dd93ded5b2b53e3ec178
Implemented lexical-let and lexical-let* for elisp.

* module/language/elisp/README: Document it.
* module/language/elisp/bindings.scm: New fields in bindings data structure
  to keep track of lexical bindings for symbols.
* module/language/elisp/compile-tree-il.scm: Implement lexical-let(*).
* test-suite/tests/elisp-compiler.test: Test lexical scoping with lexical-let.
module/language/elisp/README
module/language/elisp/bindings.scm
module/language/elisp/compile-tree-il.scm
test-suite/tests/elisp-compiler.test