Commit Graph

861 Commits

Author SHA1 Message Date
Vincent St-Amour
d27153b74c Added logging to typed Scheme's optimizer.
original commit: 3e757d0fb199d0cd565d2c094584a737be00942f
2010-05-19 13:10:37 -04:00
Vincent St-Amour
e78937195c Extended the typed Scheme optimizer to handle all the core forms.
original commit: 7adedacf2b6acb1c8cea34aae4e8e12009141adf
2010-05-19 13:10:37 -04:00
Vincent St-Amour
a781b50533 Extended typed Scheme's optimizer to traverse more forms.
original commit: b543177868f97a7cfe0bdf57f555da4d580ef726
2010-05-19 13:10:37 -04:00
Vincent St-Amour
1f7ab8285d Typed Scheme's optimizer can now generate unsafe car and cdr.
original commit: f2edae0e9a42e0bdb5c53224a3525edc8a6fd4d7
2010-05-19 13:10:37 -04:00
Vincent St-Amour
f824817aa9 Wrote tests for the new pair accessor type signatures.
original commit: 790658886b043085ec9f325e08565e52304cdd85
2010-05-19 13:10:36 -04:00
Vincent St-Amour
40360c095e Added some special cases to type signatures for pair accessors.
original commit: f77e4eeb418ffc1a626d40b97e56d1cfbac6c47d
2010-05-19 13:10:36 -04:00
Vincent St-Amour
3ba7e83662 Fixed a typo in typed Scheme's base env.
original commit: eb95b35a12e886f6678f62f69990b4553684680c
2010-05-19 13:10:36 -04:00
Vincent St-Amour
e381611808 Added type signatures to more pair accessors in typed Scheme's base env.
original commit: 849ee86c855999daf91947bd26fadb4e296dfaa3
2010-05-19 13:10:36 -04:00
Vincent St-Amour
548e080a03 Added type signatures for caar and some others to typed Scheme's base env.
original commit: b64fb126f652a239404413db2db87c239db9b967
2010-05-19 13:10:35 -04:00
Sam Tobin-Hochstadt
7bc6e2e79e Add test for PR 10318.
Closes PR 10318.

original commit: 3fd5c491728c720727785fec266d9893e163738b
2010-05-19 11:12:13 -05:00
Sam Tobin-Hochstadt
87ff7915f6 Documentation for heterogenous vectors.
Closes PR 10291.

original commit: 756bcc8a5e6509b2729ecfb5a20fed448224381f
2010-05-19 11:08:28 -05:00
Sam Tobin-Hochstadt
eb9f6a9916 Better type annotation support.
- Delay more errors for additional reporting.
 - Don't re-check expressions that were checked for inference.
 Closes PR 10098.

original commit: 638245e4c52f6bdaba7d62ac3d88a24462a09ace
2010-05-19 10:10:54 -05:00
Sam Tobin-Hochstadt
d30ba6ac02 More fixes for Vincent.
original commit: 535dc73fad6d22a5a057d18aa0ba4ff00f926810
2010-05-17 18:03:34 -04:00
Sam Tobin-Hochstadt
29cd6cac2f Fix repeated type ascription.
original commit: d2a1470ea51b5ca55656833f95dacd5ae7ba1285
2010-05-17 16:20:44 -05:00
Sam Tobin-Hochstadt
2776f825c2 Fix internal error detected by vincent.
original commit: 7ecf424ff88d0365da3be7af3051b0acc2cfe1ab
2010-05-17 16:06:27 -05:00
Sam Tobin-Hochstadt
15c23cc374 rename to .rkt
original commit: 0d1d61c725e58889dcda23a44ecb9b32f87e4002
2010-05-17 15:55:23 -05:00
Sam Tobin-Hochstadt
fcf6876f28 Fix for git/rkt
original commit: 68391b2d7fd0e9a092d663b56d761524aafc8d77
2010-05-17 15:36:28 -05:00
Sam Tobin-Hochstadt
3efae1a1dc rename to rkt
original commit: ce874bb0a16cc65348bfeaf3c2de958d86c3aa94
2010-05-17 15:29:12 -05:00
Eli Barzilay
1cc6dee899 "Racunit" -> "Rackunit"
original commit: 7b14a1f585d368bca8967072fbf3530d568e1391
2010-05-17 12:07:32 -04:00
Sam Tobin-Hochstadt
7b401c4e80 Add annotation to test.
Fix default case for `vector-set!'

original commit: 21b5c25c90a323d443b9611d9c0d30d30afb7dea
2010-05-14 11:00:23 -04:00
Sam Tobin-Hochstadt
479db80e36 sensible handling of literal vectors
original commit: ff36a6e8d1595cd0ee0c495efe240ebc23707419
2010-05-14 11:00:23 -04:00
Sam Tobin-Hochstadt
6f16d9e2d6 more sensible version of het vectors.
add vector-length, vector-set!

original commit: 7ac925695fadf3c8af20b2d65037c8bc6310f9b4
2010-05-14 11:00:23 -04:00
Sam Tobin-Hochstadt
597a8151b3 fix typo
original commit: 798a7f2a3c2189f14cc99143143be86c4eb0b2b5
2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
a4717c49ef Fix het vec with strange expected types
original commit: f40000c9c752b79d029cf2328425c5b012c16d47
2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
cd0c71d923 Finish het vectors
original commit: ec14f2c0b81ee4e5052555cbdabfd0a53c821bec
2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
094d75b4e6 more testing
original commit: 0558d11abb3233852f891d8f1dab2c1fefe50061
2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
2fdcb1ef9a mostly done with heterogenous vectors
original commit: 2c03f2223b55483bc02d66946097ed17e63529f3
2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
15b1f6378b Fix w/c to handle expression form of with-contract, and disable internal contracts.
original commit: 684ae395e648f22e38f1fa55aa6c0f48a60fbd5e
2010-05-13 14:41:59 -04:00
Sam Tobin-Hochstadt
bf8b4e8080 Don't generate extra filters unless they're useful.
original commit: 814c02664ee7892af26f6c0d0b8d90cbf55bdc4a
2010-05-13 13:37:24 -04:00
Sam Tobin-Hochstadt
15a844f9f3 fix more tests
original commit: a8931163918c4996a18b4cff2c69d9685fd3ef12
2010-05-13 13:36:54 -04:00
Sam Tobin-Hochstadt
7cff4534ab Don't generate type filters for mutated variables.
original commit: 8d59ee77e4eefca21f2e27140d2b8bcdf691105e
2010-05-13 13:24:41 -04:00
Sam Tobin-Hochstadt
1725a8a95a Fix incorrect tests.
original commit: dcf8507fd69ddd1c822feeb02e76a916a39e02fe
2010-05-13 12:35:14 -04:00
Sam Tobin-Hochstadt
2f061da0ea abstract even when out of bindings
original commit: a7a56ce856e4082b951be6c51d762eb19f97d5e7
2010-05-12 21:34:18 -04:00
Sam Tobin-Hochstadt
fe7130a964 fix more tests
original commit: 60aed123ce0ffbd4a9a153b239be7ea863b0dedc
2010-05-12 21:33:55 -04:00
Sam Tobin-Hochstadt
2ceba6db20 Fix typo
original commit: 264bf78559a67d49e87581944d25a9a6b0bd0150
2010-05-12 18:43:55 -04:00
Sam Tobin-Hochstadt
772abbfa81 Updates along useless paths are not errors.
original commit: 4ceda9970005b4da3b56b0e48a0d69de05e3fa54
2010-05-12 18:24:19 -04:00
Sam Tobin-Hochstadt
5fb5d7125b Allow dummy filtersets
original commit: 41f0152435e5f8ae7edefa75b1c4e965cf6349df
2010-05-12 17:31:58 -04:00
Sam Tobin-Hochstadt
d1153d23e0 more lost changes
original commit: daf43d1702800a47210489080f47a1bc14386ace
2010-05-12 17:25:53 -04:00
Sam Tobin-Hochstadt
35a4584929 re-add bindings lost in merge
original commit: 70d498beeb438e871c7d9b140584fc0d581af4ae
2010-05-12 17:22:13 -04:00
Sam Tobin-Hochstadt
620fb6182a debugging
original commit: dbe9a0f997461f209c6893479b2fe76f9c0384e0
2010-05-12 17:06:04 -04:00
Sam Tobin-Hochstadt
0517b50456 add simple test
original commit: 499f36ee69a9946a0ad06cc23110bb8362668c44
2010-05-12 17:05:09 -04:00
Sam Tobin-Hochstadt
136f0942bd Descend into path elements.
original commit: 6f7e88cfef024c4207d8187c0c9c2a4d0da19875
2010-05-12 17:04:43 -04:00
Sam Tobin-Hochstadt
b0b01fa807 flatten and filters before using them
original commit: e0c82c8ac6d4400c723d2ebace2f8efadd3fd923
2010-05-12 15:10:37 -04:00
Sam Tobin-Hochstadt
2f671bdbff Fix contracts.
Handle improper formals lists.

original commit: e7c8ffb834f78bbe83033a8a1dbbfa27c829eddc
2010-05-12 11:53:27 -04:00
Sam Tobin-Hochstadt
da5bdb841a switch to typed/
original commit: 5a8fac0bdf9f4a93d2407c309c7c7110d5c029b3
2010-05-12 11:52:11 -04:00
Sam Tobin-Hochstadt
507309df27 add test for bug found by vincent
original commit: a81de56b302dcf9a44c496967df3d40e3d5779f5
2010-05-10 17:55:29 -04:00
Sam Tobin-Hochstadt
ecbd63562b fix handling when subtype doesn't have rest arg
original commit: 2d1625336e2512ba4df3a93fc28682c32be48ceb
2010-05-10 17:53:48 -04:00
Sam Tobin-Hochstadt
5cb9ec4f09 add #:optimize keyword
original commit: a6e314d367062858e1bf23027638c8ee66ff31ea
2010-05-10 17:32:53 -04:00
Sam Tobin-Hochstadt
cd4744d11b use aux function to avoid generating useless filters
original commit: c031729e4bcd46fab66ed1c3b0aa6578563126ec
2010-05-10 17:03:21 -04:00
Sam Tobin-Hochstadt
d71a420fa4 more test errors
original commit: fe10457f4e3a662cc49e7c3b1b122bc6a389facd
2010-05-10 16:22:41 -04:00