Commit Graph

1092 Commits

Author SHA1 Message Date
Stevie Strickland
3b0de9c141 Check struct predicate before checking fields. 2010-09-02 19:59:00 -04:00
Ryan Culpepper
0c4f82a434 added #:commit to TR optimizer stxclasses 2010-08-31 16:21:44 -06:00
Ryan Culpepper
04a93812b4 fixed TR optimizer to work with backtracking syntax/parse update
problem was unboxed-inexact-complex-opt-expr, "non exhaustive" error variant
2010-08-31 10:55:58 -06:00
Sam Tobin-Hochstadt
92ce3ca02d Use `any/c' for contracts for polymorphic functions. 2010-08-27 18:36:49 -04:00
Sam Tobin-Hochstadt
d38af188f6 Use the correct name in the provide. 2010-08-27 18:36:49 -04:00
Vincent St-Amour
d3ee52d451 Added annotations to plain for and for* in typed code. 2010-08-27 18:18:52 -04:00
Vincent St-Amour
9884663697 Cleanup of syntax-parse patterns. 2010-08-27 14:43:19 -04:00
Vincent St-Amour
ca16ac4db5 Improved logging since it's now used for testing. 2010-08-27 13:29:42 -04:00
Vincent St-Amour
6f6ec3b2bf Adapted filename logging for testing purposes. 2010-08-27 13:29:42 -04:00
Vincent St-Amour
9b598df60a Logging can be turned on from the command-line. 2010-08-27 13:29:41 -04:00
Vincent St-Amour
63530ed74d Documented with-asserts. 2010-08-26 17:46:58 -04:00
Vincent St-Amour
ea472a9d57 Added with-asserts, from code from Neil Toronto. 2010-08-26 17:46:58 -04:00
Vincent St-Amour
694d2da4b3 Extend sign analysis to sqr. 2010-08-26 17:46:57 -04:00
Sam Tobin-Hochstadt
52c90628ce Fixes for real/imag-part 2010-08-26 16:59:12 -04:00
Sam Tobin-Hochstadt
c40c48bd97 Avoid reboxing when computing real/imag-part. 2010-08-26 16:59:12 -04:00
Sam Tobin-Hochstadt
fd2d37a710 Add optimization for `magnitude', fix handling of functions that return floats, not complexes. 2010-08-26 16:59:12 -04:00
Eli Barzilay
8e0f8dd39c More "~n" -> "\n" changes 2010-08-26 12:11:00 -04:00
Eli Barzilay
7dc4d2e5a6 Change a bunch of "~%" and "~n" in format strings to "\n". 2010-08-25 17:17:01 -04:00
Eli Barzilay
606b7f60dc Lots of "~e" to "~.s" changes. 2010-08-25 17:17:01 -04:00
Sam Tobin-Hochstadt
b08de170bc Add Futureof' type, types for future' and `touch' 2010-08-25 10:27:07 -04:00
Vincent St-Amour
a4b0c69ec2 Fixed the type of file-position. 2010-08-24 16:58:21 -04:00
Sam Tobin-Hochstadt
72f31ffec0 Use current-readtable as the base for the TR readtable.
Closes PR 1115.
2010-08-21 14:05:46 -04:00
Sam Tobin-Hochstadt
90eeef60d7 Provide -> in typed-scheme/no-check.
- Closes PR 10882
2010-08-18 16:37:32 -04:00
Sam Tobin-Hochstadt
510c80b700 Better printing for environments. 2010-08-18 16:37:32 -04:00
Vincent St-Amour
cf692e986d Documented TR's behavior when mixing exactness. 2010-08-13 18:48:32 -04:00
Sam Tobin-Hochstadt
6e489f8464 Fix variance of hash tables and parameters 2010-08-13 11:06:56 -04:00
Sam Tobin-Hochstadt
3359032ad5 Handle structs with special constructors and mutability.
Closes PR 11089.
2010-08-13 11:06:56 -04:00
Sam Tobin-Hochstadt
0c1dfd3c5e Require flat contracts in box/c, hash/c, and vector/c.
Closes PR 11085.
2010-08-13 11:06:56 -04:00
Stevie Strickland
a9f6ea69bf Fix creation of a reversed List type from ListDots substitution. 2010-08-12 17:46:39 -04:00
Vincent St-Amour
201aaa9090 Documented TR's behavior on literals. 2010-08-06 12:21:50 -04:00
Vincent St-Amour
0a45e0e361 More precise type for expt. 2010-08-06 11:09:04 -04:00
Vincent St-Amour
c653a8e655 Changed optimization order for reals in complex operations.
Made generated names more informative and updated tests accordingly.
2010-08-05 16:43:36 -04:00
Vincent St-Amour
500685c0f2 Fixed source location for for:. 2010-08-05 09:04:25 -04:00
Vincent St-Amour
b18f2353ca Generalize naturals to integers to minimize annotations on mutated variables. 2010-08-05 09:04:25 -04:00
Vincent St-Amour
4cb7491309 Added opt-lambda:. 2010-08-05 09:04:25 -04:00
Vincent St-Amour
0b3c637f5d Added another tracing option to TR. 2010-08-05 09:04:24 -04:00
Vincent St-Amour
416591b355 Fixed parsing of keyword types. 2010-08-05 09:04:24 -04:00
Vincent St-Amour
1105e70b30 Unbox literals at expansion time. 2010-08-05 09:04:23 -04:00
Vincent St-Amour
bdf84f371d Optimize coercion of integer literals. 2010-08-05 09:04:23 -04:00
Vincent St-Amour
fb31a6556e Added optimization for make-polar 2010-08-05 09:04:22 -04:00
Vincent St-Amour
dbdbaed506 Fixed typechecking of imaginaries. 2010-08-05 09:04:21 -04:00
Vincent St-Amour
5fa6b1c139 Added technical term links to the optimizer documentation. 2010-08-03 14:57:42 -04:00
Vincent St-Amour
bce003fa18 Imaginaries can't be inexact complexes. 2010-08-03 14:51:24 -04:00
Vincent St-Amour
82f976a4d9 Added a link to the optimization guide in the TR reference. 2010-08-02 21:33:31 -04:00
Vincent St-Amour
cb516081c7 Documented the optimizer. 2010-08-02 21:33:30 -04:00
Vincent St-Amour
b47a77dd57 Eliminate user-introduced boxing. 2010-08-02 21:33:30 -04:00
Sam Tobin-Hochstadt
39c2359006 Remove obselete docs.
Add docs for legacy forms.
2010-08-02 17:23:01 -04:00
Sam Tobin-Hochstadt
1ce4040cd2 define-struct:' -> struct:' in docs.
Fix typo.
2010-08-02 16:59:37 -04:00
Sam Tobin-Hochstadt
431ff8d794 Don't treat Error types as potentially non-regular. (Reported by SK) 2010-08-02 15:41:42 -04:00
Vincent St-Amour
c4ba6b6038 Added some reflection functions to Typed Racket. 2010-07-29 19:11:20 -04:00