Commit Graph

481 Commits (2a8af325347d5e90ce874f706f5746cd0ddaac9b)

Author SHA1 Message Date
John Benediktsson ee08d5f179 compiler.tree.propagation.transforms: intersect and diff should return type of set2. 2013-03-27 07:21:39 -07:00
John Benediktsson 4b25ef9d18 compiler.tree.propagation.transforms: also fix diff. 2013-03-26 19:06:05 -07:00
John Benediktsson a83ade538a compiler.tree.propagation.transforms: fix intersect and add intersects?. 2013-03-26 19:04:50 -07:00
Doug Coleman 3fbea56d11 compiler: Fix tuple literals in tests. 2013-03-24 01:09:37 -07:00
Doug Coleman 672e781602 compiler: Rename value-info, live-interval 2013-03-23 22:56:47 -07:00
Doug Coleman 41927d9b97 compiler.tree: Fix compiler test with merge-state 2013-03-23 22:56:16 -07:00
Doug Coleman dfb8af2782 compiler.tree.modular-arithmetic: Fix test for iota change. 2013-03-23 17:12:16 -07:00
Doug Coleman 38f11415c8 assocs: Add of and ?of. Change all the things at once! Fixes #701. 2013-03-23 14:59:07 -07:00
Doug Coleman 91fb609950 basis/extra: Update last usages of <sliced-groups> to <groups>. 2013-03-23 12:08:18 -07:00
John Benediktsson 0604a65dbd compiler.tree: fewer namespace lookups. 2013-03-21 19:36:07 -07:00
John Benediktsson 5bf3c4ed06 compiler: fewer namespace lookups. 2013-03-21 19:11:20 -07:00
John Benediktsson 32240e0a66 compiler: cleaner use of sets. 2013-03-10 17:21:27 -07:00
John Benediktsson 2d600f8caa compiler.tree.dead-code.simple: curry live-values. 2013-03-10 16:13:31 -07:00
John Benediktsson 76b9220bfa compiler.tree.tuple-unboxing: simpler checks. 2013-03-10 09:36:52 -07:00
John Benediktsson 17c1cae124 compiler.tree.modular-arithmetic: more use of hash-sets. 2013-03-08 15:58:16 -08:00
John Benediktsson 9af579aa69 compiler.tree.recursive: more use of hash-sets. 2013-03-08 12:34:23 -08:00
John Benediktsson 31916d9f39 compiler.tree.propagation.info: inline <value-info>. 2013-03-08 12:19:24 -08:00
John Benediktsson bb673c72d0 compiler: use hash-sets to track visited sets. 2013-03-08 11:04:47 -08:00
John Benediktsson ede0232ddc hash-sets: faster implementation based on hashtables. 2013-03-07 21:43:17 -08:00
John Benediktsson c0b3e7ec32 compiler.tree.propagation.transforms: use integer>fixnum-strict in shift. 2013-03-05 08:19:31 -08:00
John Benediktsson b8922acd45 words: adding inline-recursive?. 2013-03-04 16:09:56 -08:00
John Benediktsson 6556dae7ac compiler.tree.propagation.known-words: retry this change, some issue with use vocabs. 2013-01-22 07:09:49 -08:00
John Benediktsson b1003f47d9 Revert "compiler.tree.propagation.known-words: adding known outputs for some words."
This reverts commit 16d8e6555b.
2013-01-22 06:42:58 -08:00
John Benediktsson 16d8e6555b compiler.tree.propagation.known-words: adding known outputs for some words. 2013-01-21 20:28:17 -08:00
Doug Coleman 9f392c86fb compiler.tree.propagation.recursive: Generalizing intervals in the propagation pass ignored types. Fixes #770. 2013-01-01 18:47:23 -08:00
John Benediktsson 2b719f5eec compiler.tree.propagation: revert cleanup, this was more correct. 2012-10-05 15:00:49 -07:00
John Benediktsson 6ccd545c92 compiler.tree.propagation: throw the proper error in >fixnum methods. 2012-10-05 09:54:51 -07:00
John Benediktsson de166e6f9b compiler.tree.propagation: cleanup known-words a bit. 2012-10-05 09:47:27 -07:00
John Benediktsson 2bdb46f063 compiler.tree.propagation: make sure integer>fixnum-strict infers a fixnum. 2012-10-05 04:17:43 -07:00
John Benediktsson 4fc3b68f85 compiler.tree.propagation: fix >fraction types. 2012-09-11 07:42:39 -07:00
John Benediktsson 56a010441a math.ratios: speed up some operations on ratios. 2012-09-10 19:53:25 -07:00
John Benediktsson ddc047d161 compiler.tree.cleanup: fix "-1 shift" tests. 2012-09-10 19:24:23 -07:00
John Benediktsson 9992096028 math: cleaner "2/" speedup by using custom inlining. 2012-09-10 17:59:03 -07:00
Doug Coleman ba51919e50 assocs: Add sift-keys and sift-values. Remove three other implementations
of sift-values and use the new one.
2012-08-23 22:36:10 -07:00
John Benediktsson 19d31a6fb0 layouts: defining "fixnum-bits". 2012-08-21 18:05:59 -07:00
Doug Coleman d15a2357d1 core: Throw an error when assigning a bignum to a fixnum tuple slot if the bignum doesn't fit. Fixes #594. 2012-08-03 14:59:59 -07:00
Doug Coleman a6c3ddf691 sequences: Fix tests that broke when nth could only be integers. Undo integer>fixnum in iota nth. See bug #582. 2012-07-25 22:17:24 -07:00
Doug Coleman 80b7014ae1 modular-arithmetic: Fix unit test. Should expect integer>fixnum, not >fixnum. 2012-07-23 11:51:44 -07:00
Doug Coleman c25d044788 compiler: Fix bitand on ratios, floats. Fix shift on ratios, floats. Add integer>fixnum. Fixes #500. 2012-07-23 09:31:12 -07:00
John Benediktsson e654e4afd9 Using "same?" in more places. 2012-07-21 10:22:44 -07:00
Doug Coleman bc35335a0c compiler: Fix /mod simplications in dead-code, add unit tests. Fixes #544 2012-07-21 03:41:42 -07:00
Doug Coleman 2e43fab284 stack-checker: meta-d was a word and symbol, now meta-d word and (meta-d) symbol
issuse #358
2012-07-20 12:30:14 -07:00
Doug Coleman 06afe04f73 compiler.tree.debugger: Remove make-assoc 2012-07-19 17:48:02 -07:00
Doug Coleman 9a220ef78c namespaces: Rename ``bind`` to ``with-variables``. Update a few places that called ``global [ ] with-variables`` to use ``with-global``. 2012-07-19 00:02:47 -07:00
Doug Coleman 117d57ad92 issue #358: Rename all of the words depends-on-* to add-depends-on* 2012-06-21 08:35:45 -07:00
John Benediktsson 1a72249983 math: using if-zero in more places. 2012-06-18 14:32:39 -07:00
Doug Coleman cb42258144 classes:
- Allow methods to dispatch off union{ } and intersection{ } classes.
- Add not{ } anonymous-complement syntax.
- Define class-name for anonymous-union/intersection/complement and maybes, and clean up pprint.
- Change maybe: foo to maybe{ foo }
- Call sort-classes when making anonymous-union/anonymous-intersection classes so that they are canonicalized.
2012-05-03 19:45:30 -07:00
Doug Coleman 664239e1ba generalizations: Refactor stack-checker so that smart combinators can be used with curry and compose. 2011-11-27 20:25:22 -08:00
Joe Groff eee483654a use radix literals 2011-11-23 19:03:40 -08:00
Doug Coleman 61c1277864 compiler tests: fix using, add tests to make sure instance? inlines 2011-11-23 01:01:11 -08:00