Robby Findler
3b0d2f16da
change compiler/cm so that the default logs the messages to
...
a logger named compiler/cm
2013-03-14 16:36:50 -05:00
Robby Findler
3f6232bc2d
note that the logger-callback's default argument is #f
2013-03-14 14:11:02 -05:00
Robby Findler
1bc82cc404
add an "install package" GUI to DrRacket that calls into planet2
2013-03-14 10:27:49 -05:00
Robby Findler
36e871264a
sync scribble docs with cmdline help text
2013-03-14 10:27:49 -05:00
Robby Findler
4f3cd996b1
add contracts, fix a bug, add a test case
2013-03-14 10:27:49 -05:00
Robby Findler
84ce7fa762
make parametric->/c do first-order checks for the argument/result
...
contracts that it generates
closes PR 13600
2013-03-14 10:27:49 -05:00
Eli Barzilay
230f120a3d
Fix CRLF-ed file.
2013-03-14 11:01:10 -04:00
Eli Barzilay
af6be85ff5
Fix lots of indentation mistakes.
...
(Found by my ayatollah script...)
2013-03-14 10:55:47 -04:00
Eric Dobson
71d6189132
Cleanup of subtyping, additional comments, and improved short circuting.
2013-03-13 22:59:27 -07:00
Eric Dobson
714f667cf1
Add more hacky things to make with-handlers typecheck.
...
Closes PR12644.
2013-03-13 22:29:41 -07:00
Eric Dobson
75f89107b1
Make PolyDots be subtypes even if they have different fixed arguments.
2013-03-13 22:29:41 -07:00
Eric Dobson
6335de099e
Make PolyDots actually subtype correctly.
2013-03-13 22:29:41 -07:00
Eric Dobson
6105ce8b20
Check actual args when form looks like for/list.
2013-03-13 21:45:03 -07:00
chrdimo
9743afeebf
replacing transfer-option with transfer/c
2013-03-13 21:15:00 -04:00
Robby Findler
11969cdfa6
trim the list of new dots down to those that our latex
...
setup seems to handle
(and actually add them to latex-render.rkt ...)
2013-03-13 10:13:34 -05:00
Robby Findler
6914451426
fix readtable composition in #2d reader
2013-03-13 10:13:33 -05:00
Stevie Strickland
4119fab3ff
Tests for define/contract and keyword interaction.
2013-03-12 18:15:02 -04:00
Stevie Strickland
6aab2f1445
Look for defines and handle them directly.
...
Since keyword definitions expand into multiple defines, and inserting
the contract and external id definitions at the wrong point will cause
those to break, we handle define manually.
Hat-tip to Vincent for the idea.
Doing this means that we can't put a single splicing-syntax-parameterize
around the entire body, since it'll expand defines before we reach them,
so instead we add them around the expanded code.
2013-03-12 18:13:43 -04:00
Stevie Strickland
50c2c54950
Fix with-contract when the contracted identifier is defined as syntax.
2013-03-12 16:51:38 -04:00
Robby Findler
cbd8f073a9
forgot to add tabular.rkt
2013-03-12 15:04:35 -05:00
Robby Findler
bb0795c502
an attempt at 2d documentation
2013-03-12 14:53:16 -05:00
Robby Findler
8adbd7e836
Adjusted a literal scribble tabular to use 2d
2013-03-12 14:53:15 -05:00
Robby Findler
a00bcfd16e
add various dots to tex-table and thus drracket keyboard shortcuts
2013-03-12 14:53:15 -05:00
Robby Findler
6ce8f20801
document c:x;r;c
2013-03-12 14:53:15 -05:00
Eric Dobson
4683be8793
Add checks for failing to parse types.
2013-03-11 22:53:29 -07:00
Eric Dobson
17cb4fd8d0
Make vector-set! type correctly on complicated inputs.
...
Closes PR13532.
2013-03-11 21:52:11 -07:00
Robby Findler
74d5706c20
properly compose readtables
2013-03-11 18:53:40 -05:00
Robby Findler
443f998531
improve the way the font size callbacks work, wrt to interactivity
2013-03-11 18:53:40 -05:00
Robby Findler
635efe78a0
added a keybinding to center a line within its cell in a table
2013-03-11 18:53:40 -05:00
Robby Findler
d652d69d14
adjust 2d reader so the keyword has its own source location
...
and is syntax-original?
2013-03-11 18:53:40 -05:00
Eli Barzilay
a1437e71f7
Two doc typos.
...
Closes PR 13590.
Closes PR 13591.
2013-03-11 09:06:46 -04:00
Robby Findler
3e27388571
missed some changes related to addition of dont-care values
...
in the lexers
2013-03-10 21:56:43 -05:00
Robby Findler
761054890d
extend the lexer <-> framework's color:text api
...
to let lexers say "call me again before you change the buffer"
also, use this in the 2d lexer
2013-03-10 20:17:20 -05:00
Robby Findler
282cdcbb5b
adjust xmethod macro to yield a more helpful error message
2013-03-10 17:33:55 -05:00
Matthew Flatt
3f9fea063f
readline: explicitly load "libncurses"
...
Needed for OpenBSD
2013-03-10 07:20:38 -06:00
Tobias Hammer
2bae950273
Work around bug in QNX readlink
...
QNX readlink null-terminates its result and adds the termination
to the len-result. Fix by decrementing len if needed.
2013-03-10 07:18:04 -06:00
Chen Xiao
a3a610ed32
doc repair
2013-03-10 06:39:07 -06:00
Matthew Flatt
939b36d1fe
slideshow: fix bug related to `interactive'
...
The viewer didn't remove interactives correctly.
2013-03-10 06:29:02 -06:00
Robby Findler
da7a525452
oops
...
(and the bigger mystery is why this didn't signal
an error when I ran the tests)
2013-03-09 19:01:31 -06:00
Robby Findler
e0aef0a575
fix two bugs in recent plai commit
2013-03-09 18:59:26 -06:00
Asumu Takikawa
2f0dee9270
Doc fixes for takef & friends
2013-03-09 17:13:59 -05:00
Asumu Takikawa
de99fdb867
Fix identifier typo
2013-03-09 17:13:59 -05:00
Asumu Takikawa
a764f20375
Minor sha1 doc fixes
2013-03-09 17:13:59 -05:00
Robby Findler
38f5823a59
adjust plai's gc2 language to use roots as the arguments
...
to gc:cons and gc:closure instead of passing locs
This enables the important change, namely that get-root-set
no longer returns roots corresponding to the arguments
of the allocation function that we're in the middle of.
This means that a common error students have (forgetting
to chase the 'hd' and 'tl' pointers in their GC) is
harder to make now, since get-root-set never contains
those locations as roots. (In the past you would have had
to write some pretty non-obvious mutator program to get
that behavior.)
2013-03-09 16:08:00 -06:00
Eli Barzilay
44c274e6c3
Actually swap the argument order.
...
(This was supposed to be included with the other commit.)
2013-03-09 16:05:01 -05:00
Eli Barzilay
c183711d34
Move the `define-inline' tests to "tests/racket/optimize.rktl".
...
Avoids a bad dependency.
2013-03-09 15:47:43 -05:00
Eli Barzilay
3af72ecab4
Added splitf-at',
takef-right', dropf-right',
splitf-at-right', and more.
...
* See comment about implementation issues.
* Removed the `list?' requirement on `takef' etc -- so it matches the
non-*f versions. (IMO, it'd be better to drop it from all of them.)
This also changes the output of `dropf' to `any/c'.
* Swapped the argument order so the predicate is last -- this makes it
uniform with the non-f* versions. (IMO, it'b be better to use the
popular order in all of them instead.)
* Includes tests, and also improved version of previous tests.
* Includes docs, and also fixes to previous docs (eg, drop* doesn't
return a fresh list).
2013-03-09 15:47:43 -05:00
Eli Barzilay
0d217af2f0
Shuffle code for a more logical order.
2013-03-09 15:47:43 -05:00
Eli Barzilay
e47cc6efb1
Clean up source layout.
2013-03-09 15:47:42 -05:00
Eli Barzilay
2cdfe18beb
Rename {take,drop}-while' ->
{take,drop}f'.
...
Also, improve the tests a little.
2013-03-09 15:47:42 -05:00