Eric Dobson
cea9472b31
Cleanup some syntax->list uses in the optimizer.
2013-05-29 08:58:42 -07:00
Eric Dobson
df3d6fd31c
Cleanup flonum-op check, and contract fixups.
2013-05-29 08:58:42 -07:00
Eric Dobson
564a7bcf2f
Remove unused code.
2013-05-29 08:58:42 -07:00
Eric Dobson
4b6c252fb7
Remove syntax-map.
2013-05-28 22:26:46 -07:00
Eric Dobson
0552411432
Remove unused definition and clean up exports.
2013-05-28 20:45:24 -07:00
Eric Dobson
1c4a6546d0
Removed unnecessary require.
2013-05-28 20:44:35 -07:00
Eric Dobson
edc3b60b67
Share definition of erase-filter.
2013-05-28 20:44:15 -07:00
Eric Dobson
a76d57fa88
Use abbreviations for filters.
2013-05-28 20:43:13 -07:00
Eric Dobson
09ff5cafd4
Replace syntax-map with stx-map in plai.
2013-05-28 20:39:33 -07:00
Eric Dobson
d6b63dddf7
Replace syntax-map with stx-map in unstable/automata
2013-05-28 20:39:32 -07:00
Eric Dobson
07efcc95d3
Add error checking to in-syntax.
2013-05-28 20:31:24 -07:00
Eric Dobson
9af426b99f
Move from syntax->list and map to stx-map.
2013-05-28 20:31:09 -07:00
Eric Dobson
3e4a8acf70
Move from syntax-map to stx-map.
2013-05-28 20:31:09 -07:00
Eric Dobson
4af6b6ffcf
Make TR use syntax-length instead of (length (syntax->list x)).
2013-05-28 20:31:09 -07:00
Eric Dobson
0d771fb4f1
Add syntax-length to unstable/syntax.
2013-05-28 20:31:08 -07:00
Eric Dobson
83f38f4d3b
Use in-syntax instead of in-list/syntax->list.
2013-05-28 20:31:08 -07:00
Eric Dobson
f6050d5587
Make for loops in TR use an annotation when applicable.
2013-05-28 20:23:46 -07:00
Eric Dobson
4310f04eaf
Consolidate the rest of the syntax properties in TR.
2013-05-28 20:22:55 -07:00
Eric Dobson
a325e38046
Centralized typechecker:ignore properties.
2013-05-28 20:21:58 -07:00
Eric Dobson
df07151cb9
Centralize the definition of the plambda syntax property.
2013-05-28 20:21:57 -07:00
Eric Dobson
84d3051fee
Make resolve actually do all the necessary resolutions.
2013-05-28 20:21:31 -07:00
Sam Tobin-Hochstadt
499bcefa1d
Register scoped type variables for internal def. annotations.
...
Closes PR 13793.
2013-05-28 18:03:41 -04:00
Sam Tobin-Hochstadt
64df4cef13
Use submodules instead of marking tricks for identifiers in docs.
2013-05-28 17:28:42 -04:00
Vincent St-Amour
0e7940ab49
Fix broken test, again.
2013-05-28 15:45:09 -04:00
Burke Fetscher
99548825ff
add a parameter to adjust random generation methods
...
- also remove an obsolete function and some other cleanups
2013-05-28 13:29:43 -05:00
Stephen Bloch
9b2f087365
Added some checks for user errors.
...
Removed some error-checks that can't happen.
Added a bunch of test cases.
Reorganized test cases to be after each function, rather than all in one place.
2013-05-28 13:37:27 -04:00
Vincent St-Amour
069ff59a4b
Fix broken test.
2013-05-28 13:08:00 -04:00
Vincent St-Amour
d9264525bd
Don't splice in vector creation when optimizing vector-length.
...
Closes PR13788.
2013-05-28 11:57:00 -04:00
Vincent St-Amour
a2c964dbdd
Allow the profiler's sampler to collect user-specified continuation marks.
2013-05-28 09:42:42 -04:00
Eric Dobson
ac8fd2cd38
Fix doc typo.
2013-05-27 17:39:58 -07:00
Asumu Takikawa
e6503c5df6
Fix broken internal error
2013-05-27 11:34:43 -04:00
Robby Findler
404a314887
add GUI support for compile-enforce-module-constants to DrRacket
...
closes PR 13781
2013-05-26 22:36:41 -05:00
Robby Findler
5b09ea16fb
minor improvement to class/c: generate a little bit less code
2013-05-26 15:49:41 -05:00
Robby Findler
429000fe3b
minor clarification to class/c contract spec
2013-05-26 14:34:50 -05:00
Robby Findler
e94f443def
missed a spot for the vector => exn-info change
...
also update the commented type spec
this fixes a bug in commit 3474d091
2013-05-26 08:12:57 -05:00
Robby Findler
6e7c6f2f45
when the package installer has a parent, don't
...
recenter the dialog
(should this be mac os x specific?)
2013-05-25 21:22:53 -05:00
Robby Findler
3474d09138
adjust DrRacket's online compilation to recognize exn:missing-module?
...
exceptions and offer to install
2013-05-25 21:22:52 -05:00
Eric Dobson
b9b1eb14ba
Minor whitespace fix.
2013-05-25 18:09:47 -07:00
Robby Findler
56cb3d7b66
only include --force when the checkbox isn't disabled
...
related to PR 13777
2013-05-25 19:03:12 -05:00
Robby Findler
b929b73590
adjust DrRacket to offer installation of packages
...
based on exn:missing-module?
2013-05-25 17:09:29 -05:00
Eric Dobson
01a88f8db1
Make scoped type vars work only for explict Alls and annotations.
...
Solves major issue disscussed on PR 13586.
Closes PR 13622.
Solves issue when typechecking lambdas with types like (All (a) Any).
Closes PR 13596.
Closes PR 13539.
Closes PR 13703.
2013-05-25 13:01:02 -07:00
Robby Findler
334052cb51
fix check in memory limit in drr's GUI (and fix
...
error message in custodian-limit-memory)
closes PR 13778
2013-05-25 10:06:21 -05:00
Nadeem Abdul Hamid
f79dfb4caf
Improve auto-parens mode implementation and behavior
...
including behavior of double quote typed in a string
so that it results in the string split into two strings or,
in case part of the string is already selected, three strings,
where the selection is retained in the latter situation.
Also redid implementation of insertion of open+close characters
so that it doesn't require adding in tokens to the editor,
testing the resulting state, and then undoing that to decide
whether to insert the pair or just the opening symbol.
2013-05-25 08:40:35 -05:00
Nadeem Abdul Hamid
b71e44ea9a
Tweak auto-parens behavior of double quote typed in a string
...
so that it results in the string split into two strings or,
in case part of the string is already selected, three strings,
where the selection is retained in the latter situation.
2013-05-25 08:40:35 -05:00
Eric Dobson
803f1db884
Add a test which times TR module loading.
2013-05-24 20:42:01 -07:00
Robby Findler
f1bf982151
adjust Redex to disallow certain patterns that are guaranteed never to fail
...
When you have a named variable that is inside two different
mismatch-named ellipses, e.g.:
(any_1 ..._!_1 any_1 .._!_1)
then this pattern cannot match anything, since the any_1 constraint
insists that they are bound to the same thing, but the ..._!_1
insists that whatever any_1 is bound to has different lengths
in the two places.
So, make this kind of situation be a syntax error instead.
2013-05-24 20:25:55 -05:00
Robby Findler
decde8f1b0
fix arity error
...
closes PR 13773
2013-05-24 20:25:54 -05:00
Matthew Flatt
70caf5f509
raco pkg create, raco setup: add support for built (source+binary) packages
...
This change removes `rendered-scribblings' as a recognized "info.rkt"
definition (which was added for binary packages, but now `scribblings'
serves both roles).
The `raco setup' changes involve support for moving pre-rendered
documentation into place (where "moving" may actually mean
leaving it in place but updating the "local-redirect.js" path),
but also allowing documentation to be re-rendered.
2013-05-24 14:55:39 -06:00
Matthew Flatt
4603315474
raco pkg create --binary: strip ".dep" files, ertain submodules, ~ files
2013-05-24 14:55:39 -06:00
Matthew Flatt
6178f2312f
add `setup/collects' and use it for ".dep" file paths
...
This change makes ".dep" files more portable (in exchange for some
extra path work at the point of reading or writing ".dep" files.)
2013-05-24 14:55:39 -06:00