Commit Graph

762 Commits

Author SHA1 Message Date
Vincent St-Amour
3e757d0fb1 Added logging to typed Scheme's optimizer. 2010-05-19 13:10:37 -04:00
Vincent St-Amour
7adedacf2b Extended the typed Scheme optimizer to handle all the core forms. 2010-05-19 13:10:37 -04:00
Vincent St-Amour
b543177868 Extended typed Scheme's optimizer to traverse more forms. 2010-05-19 13:10:37 -04:00
Vincent St-Amour
f2edae0e9a Typed Scheme's optimizer can now generate unsafe car and cdr. 2010-05-19 13:10:37 -04:00
Vincent St-Amour
f77e4eeb41 Added some special cases to type signatures for pair accessors. 2010-05-19 13:10:36 -04:00
Vincent St-Amour
eb95b35a12 Fixed a typo in typed Scheme's base env. 2010-05-19 13:10:36 -04:00
Vincent St-Amour
849ee86c85 Added type signatures to more pair accessors in typed Scheme's base env. 2010-05-19 13:10:36 -04:00
Vincent St-Amour
b64fb126f6 Added type signatures for caar and some others to typed Scheme's base env. 2010-05-19 13:10:35 -04:00
Sam Tobin-Hochstadt
756bcc8a5e Documentation for heterogenous vectors.
Closes PR 10291.
2010-05-19 11:08:28 -05:00
Sam Tobin-Hochstadt
638245e4c5 Better type annotation support.
- Delay more errors for additional reporting.
 - Don't re-check expressions that were checked for inference.
 Closes PR 10098.
2010-05-19 10:10:54 -05:00
Sam Tobin-Hochstadt
535dc73fad More fixes for Vincent. 2010-05-17 18:03:34 -04:00
Sam Tobin-Hochstadt
d2a1470ea5 Fix repeated type ascription. 2010-05-17 16:20:44 -05:00
Sam Tobin-Hochstadt
7ecf424ff8 Fix internal error detected by vincent. 2010-05-17 16:06:27 -05:00
Sam Tobin-Hochstadt
21b5c25c90 Add annotation to test.
Fix default case for `vector-set!'
2010-05-14 11:00:23 -04:00
Sam Tobin-Hochstadt
ff36a6e8d1 sensible handling of literal vectors 2010-05-14 11:00:23 -04:00
Sam Tobin-Hochstadt
7ac925695f more sensible version of het vectors.
add vector-length, vector-set!
2010-05-14 11:00:23 -04:00
Sam Tobin-Hochstadt
798a7f2a3c fix typo 2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
f40000c9c7 Fix het vec with strange expected types 2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
ec14f2c0b8 Finish het vectors 2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
2c03f2223b mostly done with heterogenous vectors 2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
684ae395e6 Fix w/c to handle expression form of with-contract, and disable internal contracts. 2010-05-13 14:41:59 -04:00
Sam Tobin-Hochstadt
814c02664e Don't generate extra filters unless they're useful. 2010-05-13 13:37:24 -04:00
Sam Tobin-Hochstadt
8d59ee77e4 Don't generate type filters for mutated variables. 2010-05-13 13:24:41 -04:00
Sam Tobin-Hochstadt
a7a56ce856 abstract even when out of bindings 2010-05-12 21:34:18 -04:00
Sam Tobin-Hochstadt
264bf78559 Fix typo 2010-05-12 18:43:55 -04:00
Sam Tobin-Hochstadt
4ceda99700 Updates along useless paths are not errors. 2010-05-12 18:24:19 -04:00
Sam Tobin-Hochstadt
41f0152435 Allow dummy filtersets 2010-05-12 17:31:58 -04:00
Sam Tobin-Hochstadt
daf43d1702 more lost changes 2010-05-12 17:25:53 -04:00
Sam Tobin-Hochstadt
70d498beeb re-add bindings lost in merge 2010-05-12 17:22:13 -04:00
Sam Tobin-Hochstadt
dbe9a0f997 debugging 2010-05-12 17:06:04 -04:00
Sam Tobin-Hochstadt
6f7e88cfef Descend into path elements. 2010-05-12 17:04:43 -04:00
Sam Tobin-Hochstadt
e0c82c8ac6 flatten and filters before using them 2010-05-12 15:10:37 -04:00
Sam Tobin-Hochstadt
e7c8ffb834 Fix contracts.
Handle improper formals lists.
2010-05-12 11:53:27 -04:00
Sam Tobin-Hochstadt
e81cdba69f Don't use raw union constructor. 2010-05-12 11:52:43 -04:00
Sam Tobin-Hochstadt
4548426cd4 Merge remote branch 'origin/master' into samth/new-logic2 2010-05-11 15:19:52 -04:00
Sam Tobin-Hochstadt
2d1625336e fix handling when subtype doesn't have rest arg 2010-05-10 17:53:48 -04:00
Sam Tobin-Hochstadt
a6e314d367 add #:optimize keyword 2010-05-10 17:32:53 -04:00
Sam Tobin-Hochstadt
c031729e4b use aux function to avoid generating useless filters 2010-05-10 17:03:21 -04:00
Sam Tobin-Hochstadt
6baef71d57 don't add to identifiers 2010-05-10 16:09:47 -04:00
Sam Tobin-Hochstadt
52c1f41a20 more contract fixes 2010-05-10 15:50:24 -04:00
Sam Tobin-Hochstadt
1bbb857b18 use racket/base 2010-05-10 15:43:03 -04:00
Sam Tobin-Hochstadt
d75232baa0 fix contract error, use the same contract for drest everywhere 2010-05-10 15:42:45 -04:00
Sam Tobin-Hochstadt
8461045e8c avoid trying to reconstruct bogus arrow type, use dummy instead 2010-05-10 15:42:23 -04:00
Sam Tobin-Hochstadt
b1a49470ee fix `implied-atomic?' 2010-05-10 11:51:18 -04:00
Sam Tobin-Hochstadt
82ee73ab51 Merge remote branch 'origin/master' into samth/new-logic2
Conflicts:
	collects/typed-scheme/scribblings/begin.scrbl
	collects/typed-scheme/scribblings/quick.scrbl
	collects/typed-scheme/scribblings/ts-guide.scrbl
	collects/typed-scheme/scribblings/ts-reference.scrbl
	collects/typed-scheme/scribblings/varargs.scrbl
2010-05-10 10:36:21 -04:00
Sam Tobin-Hochstadt
9ccd44e8fd rackety TS docs 2010-05-09 12:35:59 -04:00
Sam Tobin-Hochstadt
62af50867a produce the correct type 2010-05-05 17:50:20 -04:00
Sam Tobin-Hochstadt
1146ffa76d Merge branch 'master' into samth/new-logic2
Conflicts:
	collects/typed-scheme/private/parse-type.rkt
	collects/typed-scheme/typecheck/tc-app.rkt
2010-05-05 13:35:29 -04:00
Sam Tobin-Hochstadt
ad537cce84 Remove unnecessary requires which caused bizarre errors 2010-05-04 19:47:38 -04:00
Sam Tobin-Hochstadt
646bc0ecab avoid error when not transforming 2010-05-04 19:47:38 -04:00