Sam Tobin-Hochstadt
fc51aee0b1
Provide `with-handlers' from prims.rkt under its real name.
...
original commit: c658a5687e0f9b9fdde8ae2dfbd9fda334fe9358
2011-06-24 18:10:25 -04:00
Eric Dobson
74ac6a4d22
Correctly recreate Scopes. Closes PR 10552. Closes PR 11532.
...
original commit: ce0f542028e9dfe5b18964223af8dad32ce04f57
2011-06-24 16:46:43 -04:00
Vincent St-Amour
6fcdd9ce43
Fix contract for update-type/lexical.
...
original commit: 62ad7846b9ff656e3f9fd5064e3ff654d9f53c73
2011-06-24 15:18:31 -04:00
Eric Dobson
98155d2366
Corrects types for typed/rackunit. Closes PR 11912.
...
Signed-off-by: Sam Tobin-Hochstadt <samth@racket-lang.org>
original commit: d0d748c55a3516f6f1911c437a0988fd6474061c
2011-06-23 12:19:56 -04:00
Eric Dobson
76edce6f07
Change Module-Path to be union type instead of a Base type. Closes PR 11963.
...
original commit: 42415575438236d0fcd900ce1ab854ed8aa256e0
2011-06-23 10:05:36 -04:00
Sam Tobin-Hochstadt
8c158b5ede
Add test for PR 10794.
...
original commit: 0df00e31d53ceb8da8c1f1e00e3d638b80e7ce9f
2011-06-22 17:36:31 -04:00
Asumu Takikawa
e9d31e83fb
Add negate (racket/function) to TR
...
original commit: 122aed89700b80eb9c9acde8750175cc21eda6b4
2011-06-22 16:04:19 -04:00
Asumu Takikawa
529b3cdc2b
TR test for racket/function
...
original commit: cee2509476815e57b3e1e689a677713df8077737
2011-06-22 16:04:19 -04:00
Asumu Takikawa
ee25931548
Add identity (from racket/function) to TR
...
original commit: 05a5c162310ef5afb07fffd118386be74d9a73bf
2011-06-22 16:04:19 -04:00
Eric Dobson
3919eabd09
TR: Added more tests for recently typed identifiers.
...
original commit: 16ee3376f759bf43538e7988b53dc82c399bdec8
2011-06-22 15:17:58 -04:00
Eric Dobson
9ad6a1d6b3
Added tests for parameterizations and thread cells.
...
original commit: c2a473cba2d789fd96c5f70e72044fca0e7e9a43
2011-06-22 15:17:57 -04:00
Eric Dobson
5ddf7d06e2
TR: Added some syntax and set tests.
...
original commit: f5a7e73be82d0dcac4b7627fc81c69a8d49bf1e3
2011-06-22 15:17:57 -04:00
Eric Dobson
f1234fc2e1
Added tests for filesystem operations, and added public type names.
...
original commit: f5517367e5413f089f402c85bc5ae472b3d9d314
2011-06-22 15:17:57 -04:00
Eric Dobson
018ff1814a
Fixed and cleaned up some types.
...
original commit: dedd42a9ddaa773eb983e4c740ceebd9c52bae1d
2011-06-22 15:17:57 -04:00
Eric Dobson
dca276b517
Added types for tcp and udp operations.
...
original commit: 7803aed77bcabee4ef35ef82daa1642d50fbb67d
2011-06-22 15:17:57 -04:00
Eric Dobson
96835b9205
Added types for syntax operations.
...
original commit: 85b19e9fee1fe2f0364ac23fe45e0dcf18afa85d
2011-06-22 15:16:56 -04:00
Eric Dobson
b3f46c1cdc
Added types for environment and runtime operations.
...
original commit: ad247b28b62260441ae22702d9ed6cd604b0c8da
2011-06-22 15:16:56 -04:00
Eric Dobson
e814d4df15
Added types for file operations.
...
original commit: ae26c2173dd1a0f2808b2a4bc7882ebca95f4884
2011-06-22 15:16:55 -04:00
Eric Dobson
121ad5427d
TR: Many small type changes.
...
original commit: 329b209f3bba1cdd43df3fc5cd42297d1308a8b4
2011-06-22 15:16:55 -04:00
Eric Dobson
dd401a6f98
Added types for namespace and variable reference operations.
...
original commit: 4f898865fd856d92b040336d7eda1cdfd5afe253
2011-06-22 15:16:55 -04:00
Eric Dobson
7dbfd5ad2a
Added types for hash and set operations.
...
original commit: 7102c4dae2ba9af44d0ed35ec6e5285a7a825034
2011-06-22 15:16:55 -04:00
Eric Dobson
1f387b8678
Added types for parameters and parameterization operations.
...
original commit: 469f0a5314d1ff1348bb8fe3e4d4d45fda0387b9
2011-06-22 15:16:55 -04:00
Eric Dobson
c121869565
TR: Added Thread Cells and corresponding operations
...
original commit: a913a1432d8ab3ef28519732352340dd1ee92872
2011-06-22 15:16:55 -04:00
Eric Dobson
ce39dddf04
Added types for thread operations. Added Custodian type.
...
original commit: bdf0d13970dcb088aa4f71497e3a074b9e26d0b6
2011-06-22 15:16:55 -04:00
Vincent St-Amour
5a62623e5d
Remove duplicate require.
...
original commit: 32d80f4c014ebe7c86e006e67ae820fb02c19e6f
2011-06-22 14:43:42 -04:00
Vincent St-Amour
4a4246e637
Fix type of = to only accept 2+ arguments.
...
original commit: d946060a13e688daab43949e1a623ea2a3de6102
2011-06-22 14:32:05 -04:00
Sam Tobin-Hochstadt
78dc3e4474
Fix requires/provides of `typed-scheme' language.
...
original commit: 7b9cd61cb3c21b32891d74776a76398d9f63d987
2011-06-22 14:28:53 -04:00
Sam Tobin-Hochstadt
e163a57a2a
Document #% forms.
...
original commit: 9dde2a6d39a8e80a48425571cc1cc0f1a0672406
2011-06-22 14:28:52 -04:00
Sam Tobin-Hochstadt
a7ee67ce1a
Ignore undocumented exports that are from `racket'.
...
original commit: d05d54db8efa0db72c23ece4d049866d3e13b9c4
2011-06-22 14:28:52 -04:00
Sam Tobin-Hochstadt
e08b226a96
Fix type-env-lang to handle require'/
provide' better.
...
original commit: 2cdf05ad5c0627362c0f5dee604147acfd608b27
2011-06-22 14:28:52 -04:00
Sam Tobin-Hochstadt
0c1aa7267c
Remove `SomeSystemPath'.
...
original commit: f195b3c68903bfacb7cfea278162ed0651984f12
2011-06-22 14:28:51 -04:00
Sam Tobin-Hochstadt
37672bf915
Avoid providing renamed identifiers.
...
original commit: 00f9e6342f481dae77e8161f1a71ecc0e39a55b4
2011-06-22 12:40:51 -04:00
Sam Tobin-Hochstadt
114e2d3866
Rename SomeSystemPath to `Path-For-Some-System'
...
original commit: 9be4b16703b89b07add3974ecb74dc6888337fda
2011-06-21 15:34:50 -04:00
Sam Tobin-Hochstadt
bbef260e76
Fix missing documentation of alias forms.
...
original commit: d8c972734d2006a6f6b65cb328815c241b26cf76
2011-06-21 15:34:50 -04:00
Sam Tobin-Hochstadt
cbe820453f
Support additional `provide'.
...
original commit: fbc76a307455f55f1ee59d75272066b6d70a0019
2011-06-21 15:34:50 -04:00
Sam Tobin-Hochstadt
b835c36bdf
Include `typed-scheme' language in doc check.
...
original commit: 2f274b789278c9c65b13fe55138e0ba9c600a866
2011-06-21 15:34:50 -04:00
Eric Dobson
03900fe84f
Fixes TR regexp regression. Closes PR11991.
...
original commit: 0f6fde5003c1594c468b82df8cf64a2ce17f65f5
2011-06-21 15:34:50 -04:00
Vincent St-Amour
367e703ca8
Update test format.
...
original commit: 88dafca69fae596763037c22f9557e5f875de87c
2011-06-17 18:18:04 -04:00
Vincent St-Amour
d54c43282b
Add a section on performance debugging to the TR guide.
...
original commit: f9205665e4e1af4808e3080592968d3b43500383
2011-06-17 18:18:04 -04:00
Vincent St-Amour
77e9234c06
Display irritants nicely.
...
original commit: 26b909744cb2697c00bf09638871c7688d328657
2011-06-17 18:18:04 -04:00
Vincent St-Amour
261821834f
Don't merge missed optimizations repeatedly, which artificially increases badness.
...
original commit: e8dcee732e139885fe9eb8348e33799ff3a659c6
2011-06-17 18:18:04 -04:00
Vincent St-Amour
467f00562c
Display badness of missed optimizations.
...
original commit: fc08b4d401b446a6f69818e2e4b42db1e48f2422
2011-06-17 18:18:04 -04:00
Vincent St-Amour
dadfa4b62d
Use write instead of display for syntax in logs.
...
original commit: 9dbca39cfe20876b131592871670f5567471fcf7
2011-06-17 18:18:04 -04:00
Vincent St-Amour
f2c1f3c7aa
Don't keep useless return values around.
...
original commit: dda1b1c8804dcc833082d02a59c99ae77a15ab26
2011-06-17 18:18:04 -04:00
Vincent St-Amour
51dd8b0469
Do duplicate detection at the expanded syntax level, instead of the source level.
...
original commit: 847e4b2e233d95d0a3fff1f8ceaf6bc62ea31e05
2011-06-17 18:18:04 -04:00
Vincent St-Amour
151ce60dc1
Adapt the log update script to work on specific files.
...
original commit: 866225b65977a7f5bedcfaccd8d9aabc56e1fff7
2011-06-17 18:18:04 -04:00
Vincent St-Amour
205f0882a5
Report opts and missed opts in terms of the original programs, not in terms of expanded code.
...
original commit: fddf18953094f1a98fe8b4afe0a95dd1500f5194
2011-06-17 18:18:04 -04:00
Vincent St-Amour
56279151a7
Add script to update test files to new log formats.
...
original commit: fc25b43293a88967825c9e9b70f9aca89070e0dc
2011-06-17 18:18:03 -04:00
Vincent St-Amour
4180449ead
Specify opt or missed opt in the TR log format.
...
original commit: 86efbc83968ddd0486dea493830f409c05b52e5e
2011-06-17 18:18:03 -04:00
Vincent St-Amour
d5ee54a9e9
Refactoring.
...
original commit: d9256f2b766af163c208c9d9ea93c1bb0579a218
2011-06-17 18:18:03 -04:00
Vincent St-Amour
d4a251d72e
Fix test log to use new format.
...
original commit: 9f78a926137698280508ef4067005a558167d4ab
2011-06-17 18:18:03 -04:00
Vincent St-Amour
56f8d7e069
Handle the case where we would need to merge with multiple children at once.
...
original commit: 1a2080fc9708f49c0dc872c92266b24b4bbc42c2
2011-06-17 18:18:02 -04:00
Vincent St-Amour
beb05e473c
Simplify log sorting.
...
original commit: e095976c8b09dc4ee126c6e78809ef4907ead770
2011-06-17 18:18:02 -04:00
Vincent St-Amour
d2d2432b1d
First attempt at handling missed optimization cascades.
...
Currently, if missed optimizations a and b are of the same kind, a is caused
by b, and b is caused by c, we merge them into a single miss with cause c.
This works in some cases, but fails in others.
original commit: 8d2f66faa6e77376e04827cd56be440325d77a29
2011-06-17 18:18:02 -04:00
Vincent St-Amour
33d343dd6f
Sort irritants by source location.
...
original commit: 6de90b71853d6b8b82e9f6a161fc3846d1f94cf3
2011-06-17 18:18:02 -04:00
Vincent St-Amour
4eece2b27f
Abstract out printing of missed optimization log messages.
...
original commit: c5ca1422a2affa91caeb36e99a35321694ccbedc
2011-06-17 18:18:02 -04:00
Vincent St-Amour
2151a7edc0
Put logging code in its own file.
...
original commit: 4c31b085546f5e4c6f20982b805fcebd6c6bb5ba
2011-06-17 18:18:02 -04:00
Vincent St-Amour
1621df5042
Have more structure to missed optimizations, for eventual handling of nesting and/or missed optimization cascades.
...
original commit: c54717d5575b3521553c65982d19b52b721c2ade
2011-06-17 18:18:02 -04:00
Vincent St-Amour
4af09c09bc
Have multiple irritants for missed optimizations.
...
original commit: 6b5095df2de13287ad85f8309c84a1c966632eac
2011-06-17 18:18:02 -04:00
Vincent St-Amour
f808b49551
Change log message to reflect new behavior.
...
original commit: cb706aab9c8ade7b929f7aa9655fe3d302acc67e
2011-06-17 18:18:02 -04:00
Vincent St-Amour
db610d44eb
Remove useless irritant.
...
original commit: f547b99ed510d34a8f738c4f255757bff6ae56f6
2011-06-17 18:18:02 -04:00
Vincent St-Amour
b5f2771096
Swap miss region and irritant.
...
original commit: 9528f63cf0bd37bc8b871adaede5c2b5f27c0683
2011-06-17 18:18:02 -04:00
Vincent St-Amour
ff34fbdd82
Report missed optimizations for unary float operations.
...
original commit: 647ae4fe9aed2c9c171957bc631e22df54ba60fc
2011-06-17 18:18:01 -04:00
Vincent St-Amour
c333078bae
Make unary float optimizations less restrictive.
...
original commit: cc129adb39f15f01c19ebf43270e03fde99acffd
2011-06-17 18:18:01 -04:00
Vincent St-Amour
289457fa27
Rephrase a missed optimization message.
...
original commit: 484fb029f100562891e50d073826fb38768cb0c1
2011-06-17 18:18:01 -04:00
Vincent St-Amour
2413e0d498
Fix missed-optimization tests to also look for optimization messages.
...
original commit: a319ba1058cae034c50caa84b7e9a1ed7eb9c2a2
2011-06-17 18:18:01 -04:00
Vincent St-Amour
6e9edea55d
Fix optimization tests to also look for missed-optimization messages.
...
original commit: e8621f58eab1a363fb26febe6b4249d76d81e47b
2011-06-17 18:18:01 -04:00
Vincent St-Amour
22d40980c3
Have optimizer test harness look only at log messages that came from the optimizer.
...
original commit: 28692786b3dd95bdc7725a247a60ca04fe1d84b6
2011-06-17 18:18:01 -04:00
Vincent St-Amour
7dca73dd33
Fix optimizer test harness to use the new syntax of with-logging-to-port.
...
original commit: 641dd731ab0c699180435578fdc0a393ef03d1a5
2011-06-17 18:18:01 -04:00
Vincent St-Amour
b5cf24813c
Add a "unique" key to log messages that are sent by the optimizer.
...
original commit: 81d6e380dad25205ddbf82120cad27ad65c83235
2011-06-17 18:18:01 -04:00
Vincent St-Amour
c8052ab240
Use with-logging-to-port from unstable.
...
original commit: 09015722e3dd8e2843524f80e5ebc1f7d09cfed0
2011-06-17 18:18:01 -04:00
Vincent St-Amour
191c3b4601
Revise with-logging-to-port to avoid the extra dummy log entry.
...
original commit: 47f48c08ad4aaa5d33b8dd9ac91f7228e7cfc2b5
2011-06-17 18:18:01 -04:00
Vincent St-Amour
0f51793f04
Adapt the optimizer's test harness for the new logging strategy.
...
original commit: a2afe2c285c377e9ca15bbb5eb682ab93e7dc500
2011-06-17 18:18:01 -04:00
Vincent St-Amour
8b52f84497
Use racket's logging facilities for the optimizer logs.
...
original commit: 7347da4919ca6c5a7496992c5cd9f0e83d215b5b
2011-06-17 18:18:01 -04:00
Vincent St-Amour
f3e69a8ac4
Sort optimizer logs by source location, to prepare for eventual user consumption.
...
original commit: 9ae4f82c0a3992508afdd4fbb5cbc355fa146b03
2011-06-17 18:18:00 -04:00
Vincent St-Amour
9c0d671167
Keep source location around for derived pair optimizations.
...
original commit: 5a151420e46fd06221c63504509de9608365e411
2011-06-17 18:18:00 -04:00
Vincent St-Amour
90e30bb455
Don't print duplicate log entries.
...
original commit: b8b061fb3993a154786b18b5d75d8d4d9d0b54cd
2011-06-17 18:18:00 -04:00
Vincent St-Amour
3fbdaccc51
Extra test for precision loss.
...
original commit: 147032e428ccb82d6487624bf8d820e50478a198
2011-06-17 18:18:00 -04:00
Vincent St-Amour
08d32b5b0c
Add an extra test that checks for non-reporting of false positives.
...
original commit: 0432ea16cb75bfb897d915c9d6d50d93db15c477
2011-06-17 18:18:00 -04:00
Vincent St-Amour
5d201843e5
close-call -> missed-optimization
...
original commit: b598c4a1ebbe6eae71384355d2b0f55d0bed6fa7
2011-06-17 18:18:00 -04:00
Vincent St-Amour
7600062905
Report unexpected complex types in arithmetic expressions.
...
original commit: c73bc6c918af143a774bc79d83df789888393fa6
2011-06-17 18:18:00 -04:00
Vincent St-Amour
d64af4df5d
Add in-complex-layer?.
...
original commit: 2a7254a324e6ec68982d3966df04e8c264d89bca
2011-06-17 18:18:00 -04:00
Vincent St-Amour
292433204b
Generalize reporting of wasted precision to arbitrary exact arithmetic expressions.
...
original commit: 2a4a4e818424cf1879afcfbd6e7f5dfa0284ced3
2011-06-17 18:18:00 -04:00
Vincent St-Amour
58360f3a16
Add an arith-expr syntax class, to simplify parts of the optimizer.
...
original commit: ec696f26ae5375b83f4eb8666047e803b19214e4
2011-06-17 18:17:59 -04:00
Vincent St-Amour
6cb0669985
Move layer predicates to their own file.
...
original commit: b64b49b078e444f0ec9c41a9ecf4543fb397d059
2011-06-17 18:17:59 -04:00
Vincent St-Amour
4c08c496f6
Report when exact arithmetic is used inside float expressions, which may make the extra precision useless.
...
original commit: cd027109c9aa71d788764d934992d290bd586a39
2011-06-17 18:17:59 -04:00
Vincent St-Amour
9d1bfedc5e
Add a test case for close-calls on all-real arithmetic expressions.
...
original commit: 5d4ef5c62478ca1dfeeb5a79d6ed65479283a31f
2011-06-17 18:17:59 -04:00
Vincent St-Amour
968f60d8e1
Report close calls for pair/mpair optimizations.
...
original commit: 89ca99210ec6e62167e1aebc846b48882a31354e
2011-06-17 18:17:59 -04:00
Vincent St-Amour
c21628133e
Add extra checks to avoid spurious close call reporting involving integer operations.
...
original commit: 526a84f10b0dc08ffb8f0cbc52b08d7a441487ba
2011-06-17 18:17:59 -04:00
Vincent St-Amour
a0de25443c
Show irritant for the currently detected close calls.
...
original commit: 95bf94577c7c9d3c2c41075b3ba5d0b2ce2c1155
2011-06-17 18:17:59 -04:00
Vincent St-Amour
ede348d487
Revert "Fix optimizer expected log format."
...
This reverts commit bdf1073f174d5101fb94a7bd3257da7fec90c9cc.
Return that test to the new format, which it was originally written in.
original commit: 0fab9e11ad0cebe1d4afdb6bfb7908d8deb69608
2011-06-17 18:17:59 -04:00
Vincent St-Amour
6837e13536
Made logging format more compact and less ambiguous.
...
original commit: 33962befd4fe704f4e15caa4b157187c10cf9944
2011-06-17 18:17:59 -04:00
Vincent St-Amour
78767f809a
Add layer predicates.
...
original commit: 26cc2cf6dc81323463e0d448de890bbb2621a3ae
2011-06-17 18:17:59 -04:00
Vincent St-Amour
69b3ea5f28
First attempt at logging unexpected Real types popping up.
...
original commit: 7b2c6f5765c2f3b5aefd24f15bbd6f9bf5855749
2011-06-17 18:17:58 -04:00
Vincent St-Amour
a2400d8d4b
Add support for close-call tests to the TR test harness.
...
original commit: 2e0dd6467a4724d8dafc53455653cd6ac433481f
2011-06-17 18:17:58 -04:00
Vincent St-Amour
0b6c2b40c9
Add logging infrastructure to log close calls.
...
original commit: 303e1f7f883be6ada89b665d58cf40eade568ec6
2011-06-17 18:17:58 -04:00
Sam Tobin-Hochstadt
75ba3a6536
Disable this test.
...
original commit: 55a25a825a2ba87239187b129515f90e3aa9ada6
2011-06-17 15:17:20 -04:00
Eric Dobson
2c4a553459
Cleaned up base-env. Added comments about untyped identifiers.
...
Used one-of/c to clean up some types.
original commit: 1348887bd14a115518a4e0eab053b3bdd348e91b
2011-06-17 15:17:20 -04:00
Eric Dobson
ee96de4dce
Moved tests for equality to unit tests
...
original commit: 0671945a8d39c87dfe3536291a06bf2dc00f241d
2011-06-17 15:17:20 -04:00
Eric Dobson
cfbdcf9cdb
Moved new TR symbol testing into unit tests.
...
original commit: b3262691337e929809d0b4e7e96cd390deb0d501
2011-06-17 15:17:20 -04:00
Eric Dobson
606a9238be
Moved TR string testing to unit tests.
...
original commit: 3a13cf0e78eace73864b1d4579bf8b3a679c3698
2011-06-17 15:17:20 -04:00
Eric Dobson
ef4531d328
Added types for reading and writing operations
...
original commit: feeccc062bb4a00cf3ab4f77e6bf8f100d72f630
2011-06-17 15:17:19 -04:00
Eric Dobson
c189a053f5
Added types for regexp operations. Changed Regexp to correspond to regexp?.
...
original commit: 029651b9eeaed6b4cecb800da2c01fa6cbed1270
2011-06-17 15:17:19 -04:00
Eric Dobson
ba0a3b98e7
Added public names for recently added types
...
original commit: 3e1a95750d41acc4d4ae418f6f8acafc9085f6dc
2011-06-17 15:17:19 -04:00
Eric Dobson
fedb424889
Added types for I/O operations
...
original commit: 6f3bbad3676120d2618e8ca359cf44c588c693b2
2011-06-17 15:17:19 -04:00
Eric Dobson
400b626e8b
Added types and some tests for port operations
...
original commit: 54a12afb49de224a305ae1c8ecd09c517ad7a95e
2011-06-17 15:17:19 -04:00
Eric Dobson
c99acfa622
Added types and tests for equality operations.
...
original commit: c77e906c7afb257d94e61a01706553064150a1a6
2011-06-17 15:17:19 -04:00
Eric Dobson
5fef88131d
Added types and tests for raising and handling exceptions
...
original commit: 2d152bac79e8a447d92ca8c5a05a78aef27da020
2011-06-17 15:17:19 -04:00
Eric Dobson
fff49902ea
Added types and tests for symbol operations
...
original commit: 4ba12dd20e618fee9d00601a94d7ce060f2a31ee
2011-06-17 15:17:19 -04:00
Eric Dobson
046b62fdaf
Added types and tests for string operations
...
original commit: ab23db7b5b2bbb310e503cac7345eed73af94f56
2011-06-17 15:17:19 -04:00
Vincent St-Amour
3face0ff46
Unify types and filter behavior of not and false?.
...
original commit: 26541ffbbdccf7d27db1f1ae439430090fcb4b0b
2011-06-16 18:08:44 -04:00
Sam Tobin-Hochstadt
a431e7b5c7
Add contracts for `Sequenceof' values.
...
original commit: eaa156554a5c5305d147371bec0619436a0e7993
2011-06-15 17:02:09 -04:00
Vincent St-Amour
c96832caba
Optimize in typed regions.
...
original commit: e057e6a8573d5c3d8bb8f5ce7a5dc1be93dd2a7a
2011-06-15 11:20:51 -04:00
Sam Tobin-Hochstadt
0cf1898580
Wrap expected type. Closes PR 11980.
...
original commit: b76819a66e9f8c6b1b5f364c4b07301ecada7979
2011-06-14 19:05:16 -04:00
Vincent St-Amour
d78bd10198
Make type annotations optional for for*/lists: and for*/fold:.
...
original commit: 48bf6f829066c272a7394595fff3d83617799f98
2011-06-14 17:53:28 -04:00
Vincent St-Amour
76e8ccbf53
Improve error message for untyped variables that don't come from the original program.
...
original commit: 3ff1a3320a39acfa859ae79f71c4a31ccb23734c
2011-06-14 17:53:28 -04:00
Vincent St-Amour
a54a51ba07
Change examples to use prettier types.
...
original commit: 7a4bd387ccbd6a95b16bd6c6c810d9ddf8a537ad
2011-06-14 17:53:28 -04:00
Vincent St-Amour
5f548fa452
Tidy up TR reference.
...
original commit: d43c8fc406e03532a65a7b2f6df85e6199dc1fc6
2011-06-14 17:53:28 -04:00
Vincent St-Amour
bdd8420389
Add note about optimizing structs to the TR docs.
...
original commit: 1cf57b893c2cd863cc40a3d9fc6d1ced0b598436
2011-06-14 17:53:28 -04:00
Vincent St-Amour
51275863c0
Add missing word.
...
original commit: e3274a3cf789ea76ba0e5f998c9e34adc42f3cb5
2011-06-14 17:53:28 -04:00
Vincent St-Amour
170c91f43e
Split the TR reference into multiple pages.
...
original commit: 52e14362b592e333e133c5285a7e4e0eedab0505
2011-06-14 17:53:28 -04:00
Vincent St-Amour
c0f84549b0
Reorganize TR docs directory.
...
original commit: 589f42feb1bac61347b17d17e894dab117e74cf4
2011-06-14 17:53:27 -04:00
Vincent St-Amour
bbe201f593
Add myself to the TR doc author list.
...
original commit: b835e8a75b0938de7815ecdba69f93c118090635
2011-06-14 17:53:27 -04:00
Vincent St-Amour
a2735fa92a
Document optionality of type annotations for the for: macros.
...
original commit: a1787cede41d7c78ac2c170c426d7d27b9638a77
2011-06-14 17:53:27 -04:00
Vincent St-Amour
62db0355b4
Synthesize annotations for for/lists: if possible.
...
original commit: 2922821f3c47c9a3259150a057427f080248bfdd
2011-06-14 17:53:27 -04:00
Vincent St-Amour
9a2f908349
Remove obsolete comment.
...
original commit: f4973ff05e021b946002691e4f60266f4375a2e1
2011-06-14 17:53:27 -04:00
Vincent St-Amour
37494a9c89
Fix bad name.
...
original commit: 8c92a32cbba71528730b013a72bd33b8b4d6ed63
2011-06-14 17:53:27 -04:00
Vincent St-Amour
c31b879cc0
Allow omitting type annotation in most of the for: forms.
...
original commit: a5bccaffe1994d27582582b6ff6c1cd66ad8cbfb
2011-06-14 17:53:27 -04:00
Vincent St-Amour
d437c49ad9
Allow omitting type annotation on for/fold:.
...
original commit: 506980240a1b5f468ec32ad84ef54bac5089c879
2011-06-14 17:53:26 -04:00
Eric Dobson
95a11759c1
TR: Changed type of port->list
...
original commit: c7f9a80de88d8ce0a2743ac5baa9f4b8c30fc29b
2011-06-10 17:22:14 -04:00
Vincent St-Amour
2b2d52e646
Fix documentation of the for: macros.
...
original commit: d732c12b96bfbf4edee14e4ea9b379ef2b7fc81d
2011-06-07 21:15:17 -04:00
Vincent St-Amour
31bc5f4b40
Eta-expand typechecking of literals, to improve performance.
...
original commit: 7f5568002841b62687fece9b177f9beec5cfcf2a
2011-06-07 21:15:17 -04:00
Eric Dobson
14cbce4289
Make sure type environment is only initialized once
...
original commit: 44d591b5ba848dd8735c25f4bafbe1409506b219
2011-06-07 21:15:17 -04:00
Eric Dobson
6e5b63910c
Added check to make sure that safe/unsafe flonumops are the same binding
...
original commit: 157481ceda9f032e7c160d88f33f922638071ca6
2011-06-07 21:15:17 -04:00
Eric Dobson
083295f4e3
Base type environment now checks for duplicate types.
...
original commit: 88ce4e281c6b96d0e0602c6210fee7c2d1babf00
2011-06-07 21:15:17 -04:00
Eli Barzilay
f936f3560d
Fix TR docs wrt to `racket/function' change, close evaluators, fix
...
copy/paste typo in `thunk' docs.
original commit: 40a88b6037296c44dfafc98a495e3a29825e2c88
2011-06-07 13:07:46 -04:00
Eli Barzilay
5ec78220b9
Removed a bogus provide and two bogus tests.
...
(Which worked because the same functionality is part of `racket'.)
original commit: 2eb0a9467723ef0c00b6f2e14ee3a7ec9e61b6bd
2011-06-07 03:38:06 -04:00
Vincent St-Amour
a156863f5b
Fix contract generation for Exact-Rational.
...
Closes PR11954.
original commit: bb71f9b66dad20d756af3842910ccc57835a102e
2011-06-02 16:52:46 -04:00
Vincent St-Amour
5dfb07f5b4
Optimize sqr on floats.
...
original commit: 6de5f48810f00c943104ac67603800b7f6da2f36
2011-06-02 16:49:25 -04:00
Vincent St-Amour
a84dc148cd
Fix limitations of with-intercepted-logging.
...
original commit: b71d3cf40c1dee167ff1c737ede7496cd159f281
2011-06-01 16:11:10 -04:00
Vincent St-Amour
addca29b35
Provide with-intercepted-logging.
...
original commit: b86d759b626088158b2da492dc2c3ecadbabdff9
2011-06-01 16:11:10 -04:00
Vincent St-Amour
5de906251f
Implement with-logging-to-port in terms of something more general.
...
original commit: fc705c6e29b585ee8f774175d55cabf52035e061
2011-06-01 16:11:10 -04:00
Vincent St-Amour
515cc1433f
Make level a keyword argument for with-logging-to-port.
...
original commit: 0538f21274720a6deb5ff6575843f4b081eeb832
2011-06-01 15:24:15 -04:00
Vincent St-Amour
daba37e8ff
List known limitations of with-logging-to-port.
...
original commit: fe161a780cb58970cd7ea707aa498e4a1e36fef3
2011-06-01 15:20:36 -04:00
Vincent St-Amour
2acacf1284
Add with-logging-to-port to unstable.
...
original commit: 8d96133681a1302c9395485b969049c9a072d552
2011-05-31 19:14:38 -04:00
Vincent St-Amour
534cd21a09
Preserve source location in the optimizer.
...
original commit: c7d2f13dd0124cf87ea8770c8c5b0299d95694d5
2011-05-24 16:53:53 -04:00
Vincent St-Amour
64ca59cc41
Have TR optimize at the REPL.
...
original commit: 5352593bf1e24f31c48b3cca7bd333cc70f84e23
2011-05-24 16:53:53 -04:00
Matthew Flatt
e84e73f07b
adjust Guide to warn about performance measurement in DrRacket
...
original commit: 00e17ab51f0e18be86016d7cbf82a26146eefc2a
2011-05-24 08:02:09 -06:00
Vincent St-Amour
aaf1032df0
Don't run TR integration tests during nightly builds.
...
original commit: 7b0f64de7278e5fb932d32ff5fc9661af72cf00b
2011-05-23 13:58:28 -04:00
Vincent St-Amour
7e441e8e31
Remove trailing whitespace.
...
original commit: 3b036388d64c33a63bad18e53341b54bac719b1a
2011-05-18 17:09:45 -04:00