1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-07-02 15:40:38 +02:00
guile/module
Andy Wingo ce09ee1989 add tree-il->glil compilation test suite
* module/language/tree-il.scm (parse-tree-il): Fix a number of bugs.
  (unparse-tree-il): Apply takes rest args now.

* module/language/tree-il/analyze.scm (analyze-lexicals)
  (analyze-lexicals): Heap vars shouldn't increment the number of locals.

* module/language/tree-il/optimize.scm (resolve-primitives!): Don't
  resolve public refs to primitives, not at the moment anyway.

* test-suite/Makefile.am (SCM_TESTS): Add tree-il test.

* test-suite/lib.scm (pass-if, expect-fail, pass-if-exception)
  (expect-fail-exception): Rewrite as syntax-rules macros. In a very
  amusing turn of events, it turns out that bindings introduced by
  hygienic macros are not visible inside expansions produced by
  defmacros. This seems to be expected, so go ahead and work around the
  problem.

* test-suite/tests/srfi-31.test ("rec special form"): Expand in eval.

* test-suite/tests/syntax.test ("begin"): Do some more expanding in eval,
  though all is not yet well.

* test-suite/tests/tree-il.test: New test suite, for tree-il->glil
  compilation.
2009-05-18 23:45:35 +02:00
..
ice-9 define `delay' in terms of make-promise 2009-05-17 18:04:36 +02:00
language add tree-il->glil compilation test suite 2009-05-18 23:45:35 +02:00
oop syntax-object->datum => syntax->datum, likewise datum->syntax 2009-04-26 20:56:24 +02:00
scripts scripts take rest args 2009-04-20 18:20:01 +02:00
srfi ice-9 syncase now deprecated, woo 2009-04-24 14:34:23 +02:00
system inline calls to some primitives 2009-05-17 23:24:26 +02:00
Makefile.am tree-il -> glil compiler works now, at least in initial tests 2009-05-15 23:44:14 +02:00