Commit Graph

32489 Commits

Author SHA1 Message Date
Matthew Flatt
709ff43174 unboxing improvement in the JIT
Improve the "can unbox test" to include patterns that were already covered
by the more restrictive "can unbox without disturbing N registers" test
(which is always tried first, but the weaker test recurs within patterns
that the stronger test does not recognize).
2014-03-27 14:30:03 -06:00
Vincent St-Amour
ba9bcf5e0e Reorder profiler docs. 2014-03-27 16:28:15 -04:00
Vincent St-Amour
3a273bd2b0 Make profile and profile-thunk return the value of the profiled expression.
Closes PR14404.
2014-03-27 16:28:15 -04:00
Eric Dobson
4e51b1d737 Make domain-mismatches have a more sensible default value. 2014-03-27 09:17:56 -07:00
Eric Dobson
2bb3fa9138 Fix misuse of expected in tc-keywords. 2014-03-27 09:17:56 -07:00
Eric Dobson
eaafd418d9 Fix misuse of expected in tc-funapp. 2014-03-27 09:17:56 -07:00
Robby Findler
d66d6eacc5 fix dumb mistake in 093fba97d9 2014-03-27 10:34:17 -05:00
Robby Findler
093fba97d9 make DrRacket cache path->pkg calls within a single 'Run' 2014-03-27 07:43:28 -05:00
Eric Dobson
41ea8f3358 Add test cases for fixed PRs.
Closes PR 13191.
Closes PR 13290.
2014-03-26 23:33:40 -07:00
Eric Dobson
917fa3aeb7 Make TR work with contracts enabled. 2014-03-26 23:33:39 -07:00
Eric Dobson
ca3411155f Make tc-error/expr return (ret -Bottom). 2014-03-26 23:33:39 -07:00
Eric Dobson
ef98a582cb Replace tc-error/expr with tc-error/delayed where appropriate. 2014-03-26 23:33:39 -07:00
Robby Findler
2cf652eccf fix handling of un-enumerable patterns to avoid
signalling erros in redex-check (we just bail
out to the ad hoc random generator if we can't
enumerate)
2014-03-26 23:52:11 -05:00
Neil Toronto
c9aba4de94 Defer building tables; drops 600ms from (require math) on my machine 2014-03-26 18:59:41 -06:00
Neil Toronto
cd2632c186 Added HPD interval estimates and Monte Carlo variance 2014-03-26 18:59:41 -06:00
Neil Toronto
970eed82af Made `real-dist-hpd-interval' return type more precise; documented 2014-03-26 18:59:41 -06:00
Neil Toronto
32e8ec76b0 Added Brent-Dekker floating-point root finder 2014-03-26 18:59:41 -06:00
Neil Toronto
8069a9be54 Reorganize some code, fix beta PDF for a,x = 1,0 and b,x = 1,1 2014-03-26 18:59:41 -06:00
Vincent St-Amour
958b9fdc02 Reimplement shapes with borders to deal with transparency better. 2014-03-26 17:18:54 -04:00
Matthew Flatt
6af65ee19a avoid compiler warnings 2014-03-26 12:46:01 -06:00
Matthew Flatt
cdce954128 configure: test for large page sizes
Intended to fix PPC64 builds.
2014-03-26 12:30:33 -06:00
Vincent St-Amour
dd943c8754 Make TR random tester more robust against special values. 2014-03-26 14:16:36 -04:00
Vincent St-Amour
35f7a9a0e7 Refactor testing grammar. 2014-03-26 14:16:36 -04:00
Vincent St-Amour
a9504825ea Avoid division by 0 when there are no contract samples. 2014-03-26 14:16:35 -04:00
Eric Dobson
a662f72c9e Add invert-filter and use it in -imp. 2014-03-26 09:15:28 -07:00
Robby Findler
2fda610c54 fix performance problem in list-machine test suite
this was uncovered by the recent change to redex-check's
default strategy
2014-03-26 09:40:06 -05:00
Eric Dobson
b9e7d087ba Make let correctly implement the TC-Let rule from the paper. 2014-03-25 23:07:50 -07:00
Eric Dobson
4876d7d320 Remove unused clause arguments in tc-let-unit. 2014-03-25 23:00:27 -07:00
Robby Findler
375f85598d note redex-check change in redex history 2014-03-26 00:40:09 -05:00
Robby Findler
494f32084a change redex-check's default strategy to do both
enumeration and random generation in a manner
supported by our study
2014-03-26 00:35:06 -05:00
Robby Findler
89ef6f831e adjust #:enum arg to redex-check to be back like 6.0,
add #:uniform-at-random argument and #:in-order argument
2014-03-26 00:35:06 -05:00
Eric Dobson
55cb28168e Add test case for PR12985.
Closes PR 12985.
2014-03-25 21:25:50 -07:00
Asumu Takikawa
862d58a2f4 Avoid a parameter for controlling resolve caching
The parameter dereference slowed down type-checking
new-metrics.rkt to about 28s from 16s on DrDr.

Instead of the parameter, explicitly remove items from the
cache during type alias setup.
2014-03-26 00:18:33 -04:00
Eric Dobson
e4716bd68a Add test case for PR 11747.
Closes PR 11747. This was fixed at some point.
2014-03-25 19:24:06 -07:00
Eric Dobson
b09ced6a0c Fix tc-let for mutable variables.
Closes PR 14415.
2014-03-25 18:52:57 -07:00
Matthew Flatt
316fc0dbf5 scribble/base: add #:{column,row,cell}-properties arguments to tabular
The new arguments greatly simplify adding properties such as alignment
and (HTML) background colors to table cells. For example, to make a
table with 'right alignment for the left-hand column, 'center alignment
for the second column, and 'left alignment for all remaining columns:

 (tabular cells
          #:sep (hspace 1)
          #:column-properties '(right center left))

Also, make `color-property` and `background-color-property` recognized
as table-cell style properties.

Finally, implement horizontal alignment for text rendering.
2014-03-25 14:23:22 -06:00
Robby Findler
16d8f6c3ba adjust plot so that it uses "rvm" for the verification model 2014-03-25 14:52:43 -05:00
Robby Findler
0b852ed312 fix type comment
(thanks, Sam!)
2014-03-25 14:18:09 -05:00
Robby Findler
63f605a93b clean up pick-an-index for inclusion in a paper 2014-03-25 14:09:19 -05:00
Eric Dobson
b67c3272dc Add support for contracts on non-returning functions with filters. 2014-03-25 09:41:57 -07:00
Sam Tobin-Hochstadt
8fa61c5e31 Fix description of read-html-as-xml.
Fixes Issue #427.
2014-03-25 11:06:02 -04:00
Sam Tobin-Hochstadt
b338025b33 Fix documented contracts for identifier comparisons.
Fixes issue #548.
2014-03-25 11:00:22 -04:00
Sam Tobin-Hochstadt
fe4d784fc4 Use lazy-require to avoid dependency for fv. 2014-03-25 09:16:02 -04:00
Robby Findler
41e0156d8b fix explanation of stlc bug #2 2014-03-25 06:47:16 -05:00
Eric Dobson
c67f5f753c Make TR use rest annotations over expected type.
Closes PR 10936.
2014-03-25 01:16:43 -07:00
Eric Dobson
049057edd9 Make -imp simplify more, and use it in more places.
Also add filter tests for implication.
2014-03-25 00:03:39 -07:00
Eric Dobson
fcedc4ab59 Make Bottom not a special case for tc-any-results. 2014-03-24 20:27:54 -07:00
Robby Findler
9c0317b04e misc cleanups to graphing code so sizing is easier and
change the labels in the legends
2014-03-24 09:19:07 -05:00
Eric Dobson
cc377272d6 Make -filter and -not-filter do more simplification. 2014-03-24 00:09:17 -07:00
Eric Dobson
aedf612a06 Remove dead code in tc-metafunctions. 2014-03-23 22:49:27 -07:00