1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-11 22:31:12 +02:00
guile/module/language/tree-il
Andy Wingo 7df3f3414b More robust reduction of equal? and eqv?
* module/language/tree-il/primitives.scm (expand-eq): Just expand out to
  binary comparisons.  Also expand eq?, which was missing.  Leave
  strength reduction to peval.
  (character-comparison-expander): Move down, as it depends on <, <=,
  and so on.
* module/language/tree-il/peval.scm (peval): Robustly reduce equal? and
  eqv?.
* test-suite/tests/peval.test ("partial evaluation"): Expect fixnum
  comparison to reduce to eq?.
  ("eqv?", "equal?"): A new battery of tests.
* test-suite/tests/tree-il.test ("primitives"): Remove reduction tests.
2020-05-13 15:51:58 +02:00
..
analyze.scm Warning and optimization levels always small integers 2020-05-08 16:35:04 +02:00
compile-bytecode.scm Add with-lexicals helper; fix bug in (equal? #t (foo) #t) 2020-05-13 14:51:56 +02:00
compile-cps.scm Add with-lexicals helper; fix bug in (equal? #t (foo) #t) 2020-05-13 14:51:56 +02:00
cps-primitives.scm Optimize fixnum or s64 -> f64 conversions 2019-09-01 20:46:04 +02:00
debug.scm Add "mod" field to tree-il toplevel ref, set, define 2019-08-18 22:27:12 +02:00
effects.scm Add primitive support for working with module variables 2019-08-18 22:27:12 +02:00
eta-expand.scm Add eta-expansion pass after peval 2020-01-15 16:11:15 +01:00
fix-letrec.scm Add "mod" field to tree-il toplevel ref, set, define 2019-08-18 22:27:12 +02:00
letrectify.scm Disable eta-expansion in letrectification 2020-01-15 16:11:20 +01:00
optimize.scm Fix optimizers after language lowerer refactor 2020-05-13 09:04:16 +02:00
peval.scm More robust reduction of equal? and eqv? 2020-05-13 15:51:58 +02:00
primitives.scm More robust reduction of equal? and eqv? 2020-05-13 15:51:58 +02:00
spec.scm Whoops, fix bug in tree-il choose-compiler 2020-05-12 10:12:21 +02:00