Commit Graph

777 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
85b59a2f4c Fix Typed Scheme printing of types.
Merge to 5.0.
2010-05-25 07:58:06 -07:00
Sam Tobin-Hochstadt
27e971dce2 Check that at least one require spec is provided.
Closes PR 10617.
 Merge to v5.0.
2010-05-24 22:33:31 -07:00
Sam Tobin-Hochstadt
460bb348e1 Better internal error messages. 2010-05-24 14:05:05 -07:00
Sam Tobin-Hochstadt
b21f704086 Print empty filters as - 2010-05-24 14:04:01 -07:00
Sam Tobin-Hochstadt
986318065d Remove tc-toplevel from the typechecking unit. 2010-05-24 14:03:14 -07:00
Sam Tobin-Hochstadt
5b0f705b83 Only do abstraction of filters at `let's. 2010-05-24 14:01:00 -07:00
Sam Tobin-Hochstadt
f320d36e9c Fix parsing of All on RHS of -> 2010-05-24 13:26:29 -07:00
Sam Tobin-Hochstadt
fac0e197cf Improve verbose printer.
- Fewer newlines.
 - Avoid printing hidden fields.
2010-05-24 13:23:37 -07:00
Sam Tobin-Hochstadt
601e693b01 Improve type of count and vector-count. 2010-05-22 18:07:50 -04:00
Sam Tobin-Hochstadt
e6d85175f3 Document Exact-Nonnegative-Integer 2010-05-22 18:03:18 -04:00
Vincent St-Amour
fece1f6d03 Fixed a bug with Typed Scheme's do: with no finish-expr.
Include in 5.0 release.
2010-05-21 19:31:43 -04:00
Vincent St-Amour
88dc30aa3c Extended the type signatures of trigonometric operations.
Include in 5.0 release.
2010-05-21 19:31:42 -04:00
Sam Tobin-Hochstadt
230f1a59c6 More precise types for: truncate, floor ceiling 2010-05-21 10:41:24 -04:00
Sam Tobin-Hochstadt
9fe3747a19 Allow expected type to have weaker filters and objects.
Closes PR 10729.
2010-05-19 15:14:18 -05:00
Sam Tobin-Hochstadt
7e9313bad3 Allow recursive types in type annotations for `list'.
Closes PR 10562.
 Tests for fixed bugs.
2010-05-19 15:14:18 -05:00
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