1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-02 02:10:19 +02:00
guile/module/language/tree-il
Mark H Weaver 62d3430cb6 Convert branchable primitives into binary operations only.
* module/language/tree-il/primitives.scm (maybe-simplify-to-eq): Wrap
  within another lambda, binding the primitive name.  If there are less
  than two arguments, expand to constant #t.  If there are more than two
  arguments, convert into a conjunction of binary applications.
  (expand-chained-comparisons): New procedure.
  (*primitive-expand-table*): Add entries for (< <= = >= > eq?).
2013-08-24 15:18:32 +02:00
..
analyze.scm Inline escape-only prompt bodies in the Tree-IL 2013-08-11 16:45:31 +02:00
canonicalize.scm Inline escape-only prompt bodies in the Tree-IL 2013-08-11 16:45:31 +02:00
compile-glil.scm Inline escape-only prompt bodies in the Tree-IL 2013-08-11 16:45:31 +02:00
cse.scm Inline escape-only prompt bodies in the Tree-IL 2013-08-11 16:45:31 +02:00
debug.scm <prompt> body and handler are lambdas; add escape-only? field 2013-07-06 20:27:21 +09:00
effects.scm <prompt> body and handler are lambdas; add escape-only? field 2013-07-06 20:27:21 +09:00
fix-letrec.scm Tree-il post-order rewriter no longer destructive 2013-06-10 22:46:08 +02:00
inline.scm separate peval and a new canonicalization pass into their own modules 2011-09-28 19:39:39 +02:00
optimize.scm Pre-order tree-il rewrites are now non-destructive 2013-06-10 22:46:08 +02:00
peval.scm Inline escape-only prompt bodies in the Tree-IL 2013-08-11 16:45:31 +02:00
primitives.scm Convert branchable primitives into binary operations only. 2013-08-24 15:18:32 +02:00
spec.scm Merge remote-tracking branch 'origin/stable-2.0' 2013-01-31 11:52:42 +01:00