Commit Graph

391 Commits

Author SHA1 Message Date
Matthew Flatt
0197902309 add var-ref->mod-decl-insp' and switch cur-code-insp' uses
Macros and other tools that need syntax privilege used
`(current-code-inspector)' at the module top-level to try to
capture the right code inspector at load time. It's more
consistent to instead use the enclosing module's declaration-time
inspector, and `var-ref->mod-decl-insp' provides that. The
new function works only on references to anonymous variables,
which limits access to the inspector.

The real function name is longer, of course.
2011-09-20 13:50:36 -06:00
Matthew Flatt
d3c56c9f13 generalized `begin-for-syntax' 2011-09-08 14:06:00 -06:00
Matthew Flatt
cf772ceebd Corrections to the guide's places entry 2011-09-05 18:10:00 -06:00
Sam Tobin-Hochstadt
d2e1cc02dc Move typed-scheme to typed-racket collection.
Compatibilty typed-scheme collection left.
2011-09-03 20:49:39 -04:00
Kevin Tew
6e2487bffa Guide text for places 2011-09-01 12:02:20 -06:00
Matthew Flatt
bedd7b1671 Guide corrections 2011-08-26 10:04:19 -06:00
Matthew Flatt
a7855e20a8 add `raco link'
includes a rewrite the "Module Basics" section of the Guide
2011-08-24 09:07:14 -06:00
Matthew Flatt
f082919f0b doc style adjustments; reorg cmdline+editors docs in Guide 2011-08-24 09:07:12 -06:00
Robby Findler
f22ec82d96 fix brain fart
closes PR 12126
2011-08-22 19:09:51 -05:00
Vincent St-Amour
83c7abb250 Move the "other editors" section later in the guide. 2011-08-17 11:37:25 -04:00
Vincent St-Amour
01bc5b2822 Add ParenFace to the other editors docs. 2011-08-16 14:53:43 -04:00
Eli Barzilay
d61eb53686 Lots of documentation formatting.
Started as fixing misindented definitions, then more indentations, then
a bunch of similar things (square brackets, huge spaces at end-of-lines,
etc).
2011-08-15 07:50:04 -04:00
Eli Barzilay
d3d9514b1c typo 2011-08-15 05:05:29 -04:00
Eli Barzilay
87b0d35908 Make the "other editors" page be called that, also the source; also comment unused author line. 2011-08-15 02:37:39 -04:00
Danny Yoo
91068e4085 adding example to the prose about using (for-syntax (for-syntax ...)) 2011-08-10 16:28:42 -04:00
Danny Yoo
b72977963c small fix to plural 2011-08-10 16:28:42 -04:00
Asumu Takikawa
09e92ec81a Recommend vim-racket plugin instead of .vimrc hacks 2011-08-09 01:37:01 -04:00
Vincent St-Amour
6e6d16b6c9 Add documentation about using Racket with popular text editors. 2011-08-05 17:31:13 -04:00
Robby Findler
0c6bc11ac3 start a section for documenting the symbols that DrRacket passes to a language's get-info proc
add docs for a few of these, notably the syntax colorer
2011-08-04 21:40:29 -07:00
Matthew Flatt
113f889592 correct correction 2011-08-03 08:46:33 -06:00
Matthew Flatt
22c8cdec0b another more doc correction
(should have been part of the previous commit)
2011-08-03 08:40:55 -06:00
Matthew Flatt
6634332458 doc repairs
Thanks to Yin Wang
2011-08-03 08:33:04 -06:00
Eli Barzilay
5fb8390609 Hook XREPL into a few places where readline' and enter!' are mentioned. 2011-07-18 14:25:10 -04:00
Eli Barzilay
45394bb7b6 Use (banner) instead of a fixed "Welcome to Racket" in the More tutorial
and in the guide.

Also, add a tag to the readline "License Issues" to be able to link to
it from the xrepl docs.
2011-07-18 14:25:10 -04:00
Matthew Flatt
b57cf0134f fix typos 2011-07-02 19:18:11 -06:00
Eli Barzilay
3157955d40 ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
Ryan Culpepper
1b702a2ae3 docs reorganization
added tutorial, racket categories
  relabeled some other categories
  normalized manual names: de-bolded, changed some names
2011-07-01 17:16:53 -06:00
Matthew Flatt
1160d3df62 remove syntax certificates; add syntax taints 2011-06-29 19:15:48 -06:00
Eli Barzilay
40124a0619 A long overdue scan to eliminate files without terminating newlines.
(DrRacket should really do that.)
2011-06-28 02:01:41 -04:00
Eli Barzilay
ac26fe7554 A ton of @scheme*' -> @racket*' and related updates.
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.
2011-06-25 04:08:47 -04:00
Eli Barzilay
debd1f9f1e Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
(Some other minor things here and there.)
2011-06-20 04:27:14 -04:00
Matthew Flatt
f34a31cac9 "under <platform>" -> "on <platform>"; "X" -> "Unix"
I originally picked "under" as the preposition to go before
 a platform name, but obviously you should build "on" a
 platform, and "under" suddenly annoys me. The choice of "on"
 is now codified in the documentation style guide. Meanwhile,
 "Unix" insted of "X" seems more clear and consistent in the
 `racket/gui' docs.

 More usefully, this patch also fixes a few out-of-date
 platform-specific claims.
2011-06-17 18:54:43 -06:00
Ryan Culpepper
d22a16a3c7 fix guide typos
closes PR 10577
2011-06-10 12:55:57 -06:00
Ryan Culpepper
042402b023 fix guide typos
closes PR 10580
2011-06-10 12:55:57 -06:00
Matthew Flatt
460504c852 add #:unless' to for' 2011-06-10 06:21:35 -07:00
Robby Findler
a42068a709 fix prose slightly 2011-06-03 20:33:34 -07:00
Robby Findler
5848c1f5a6 add a note about where protected methods fit into our world 2011-06-03 20:09:16 -07:00
Vincent St-Amour
c5973bea99 Add note about modules vs REPL in performance docs. 2011-05-24 10:57:47 -04:00
Matthew Flatt
00e17ab51f adjust Guide to warn about performance measurement in DrRacket 2011-05-24 08:02:09 -06:00
Jon Rafkind
3b73fa1462 lower -> faster 2011-05-10 21:56:13 -06:00
Jon Rafkind
c11a177009 add notes about using racket/base instead of racket. closes pr 10992 2011-05-10 18:18:00 -06:00
Stephen Chang
3e08a61190 fix typo in guide sec 17.3.3 2011-04-19 14:32:17 -04:00
Matthew Flatt
18e3f54fa5 doc corrections
Closes PR 11865
 Merge to 5.1.1
2011-04-19 07:24:37 -06:00
Matthew Flatt
e0d26d88b6 support exact nonnegative integers as sequences 2011-04-18 14:55:02 -06:00
Matthew Flatt
3bf0f800a7 futures: make `future' work in a future, overhaul logging, fix bugs 2011-04-06 17:40:44 -06:00
Casey Klein
02c7680076 Fixes Guide typos 2011-04-01 14:00:45 -05:00
Eli Barzilay
5a9d954f2a Several typos from Jussi Salmela. Fixes PR 11790 -- all typos.
(Two issues remain that will be resolved later.)
2011-03-11 06:47:36 -05:00
David Van Horn
760a58b65d Fixes more spelling errors. 2011-02-04 19:44:13 -07:00
Robby Findler
74f8b0e2f1 add a little more about quasiquote to the guide
Please merge to the 5.1 release branch
2011-02-04 13:08:12 -06:00
Matthew Flatt
ab588eb69a fix doc bug
Closes PR 11690
 Merge to 5.1
2011-02-04 07:26:45 -07:00
David Van Horn
c9519fd113 Fixed various spelling errors. 2011-02-03 17:42:33 -05:00
Matthew Flatt
08cc4dffb2 fix guide typos
Closes PR 11700
 Merge to 5.1
2011-02-03 06:31:17 -07:00
Vincent St-Amour
2935170eff Fix more doc typoes.
Closes PR 11694.

Merge to 5.1.
2011-02-02 14:19:15 -05:00
Vincent St-Amour
62327c5f50 Fix make-->vector doc typo.
Closes PR 11698.

Merge to 5.1.
2011-02-02 14:00:14 -05:00
Vincent St-Amour
903d7c06bb Ceci n'est pas une grammar mistake. 2011-01-24 17:00:57 -05:00
Kevin Tew
0512aa1e27 Type fix in guide 2011-01-19 12:35:24 -07:00
Matthew Flatt
e64c99f7a3 typo
Closes PR 11606
2011-01-10 06:43:27 -07:00
Matthew Flatt
1e3b2ee9ee doc typo
Closes PR 11582
2010-12-31 14:40:27 -07:00
Matthew Flatt
93b2046b75 fix doc typo 2010-12-22 21:00:08 -06:00
Matthew Flatt
e20b411712 explain gracket a bit better in the Guide 2010-11-27 18:54:32 -07:00
Matthew Flatt
af318c4501 move racket/draw overview back to the racket/draw manual
but keep expanded roadmap of drawing and GUI libraries
2010-11-27 17:48:09 -07:00
Matthew Flatt
8b3165d55b move racket/draw overview to the Guide and expand it
--- plus some minor collateral API improvements
2010-11-27 16:34:32 -07:00
Matthias Felleisen
28fc8a3eef fixed the documentation of contracts-first-extended, added code examples 2010-11-06 10:19:24 -04:00
Matthias Felleisen
e7f042f09f Contracts for more than (simple) types 2010-10-27 18:08:44 -04:00
Sam Tobin-Hochstadt
dca895c129 Minor edits to `for/vector' docs. 2010-09-09 17:08:09 -04:00
Will M. Farr
81b1ed6e8b New updates to for/vector, for*/vector, for/flvector and for*/flvector.
Now use for/fold to thread the index through the iteration form, so
that all variants can take advantage of the optional #:length
argument.  Previously, only the for/vector and for/flvector used the

The behavior when #:length does not match the number of iterations has
changed: iteration stops when either the vector is full, or the
requested number of iterations has been achieved, whichever comes
first.  If #:length is larger than the number of iterations performed,
then the remaining slots in the vector are filled with the default
argument of (make-vector ...), which is currently 0.
2010-09-09 16:23:04 -04:00
Will M. Farr
3d016150a3 Updates to for/vector, for/flvector forms and documentation.
- Now the faster forms take a #:length keyword to designate the length
  of the vector to pre-allocate.

- The for/[fl]vector forms take multiple body expressions and set the
  vector component to the value of the last one.

- When given a #:length argument, the for/vector and for/flvector
  forms check that the iteration is not exceeding the given length,
  raising exn:fail if it does.

- Test cases for the multiple body expressions and the exception for
  excessive iterations have been added.

- Doc modifications to bring the docs in line with the new forms.

- Doc modifications to note that the #:length versions of the form
*may* all the computation to be performed more efficiently, and
stating that it "is an error" if the given length-expr does not
produce a valid length for a vector that matches the number of
iterations for the loop.

- Note that no test is made for a number of loop iterations that is
  smaller than the given vector length.  Also, the for*/[fl]vector
  forms do not optimize when given a #:length argument.  These are
  areas for future improvement.
2010-09-09 16:22:53 -04:00
Robby Findler
2d1c4d1601 adjusted the guide to use ->i instead of ->d 2010-09-09 14:21:35 -05:00
Eli Barzilay
8e0f8dd39c More "~n" -> "\n" changes 2010-08-26 12:11:00 -04:00
Matthew Flatt
68860526e5 doc x-ref clarifications 2010-08-24 05:39:47 -06:00
Will M. Farr
82096abb1b Added interation forms for/vector, for*/vector, for/flvector, and for*/flvector and for-clause in-flvector. 2010-08-19 18:45:13 -04:00
Matthew Flatt
5d584e5d26 doc typo 2010-08-19 13:21:59 -06:00
Robby Findler
f8f3ddbc94 typo. closes pr 11052 2010-07-27 14:38:43 -05:00
Matthew Flatt
787bd61e33 fix mismatch between five.rkt code and Guide prose
Merge to 5.0.1
2010-07-24 20:43:17 -05:00
Eli Barzilay
bb6a109e98 guide typo 2010-07-12 21:38:52 -04:00
Matthew Flatt
519d1ef8d1 make compiler slightly smarter about 0-value letrec-values bindings
which corresponds to code generated from experession that are
 mixed with internal definitions
2010-07-07 13:56:16 -06:00
Matthew Flatt
54216b5ced internal-definition contexts allow expressions mixed with definitions
while the new `#%stratified-body' form provides access to the old
 convention
2010-07-07 13:56:16 -06:00
Matthew Flatt
cd95e082d7 fix guide's use of current-directory at compile time 2010-06-30 10:40:03 -06:00
Robby Findler
be38b69820 typo 2010-06-30 11:26:50 -05:00
Matthew Flatt
2dd8edf73d doc typo and clarification 2010-06-28 07:18:19 -06:00
Matthew Flatt
0107404cee fix typo
Closes PR 10996
2010-06-26 13:53:30 -06:00
Robby Findler
924cee89c6 attempted to clarify the first example on eval 2010-06-17 13:02:37 -05:00
Sam Tobin-Hochstadt
16391dda3d Fix Scheme/Racket typo. Closes PR 10965. 2010-06-08 12:05:58 -04:00
Robby Findler
89be620f17 wording clarification 2010-06-05 17:23:37 -05:00
Sam Tobin-Hochstadt
dfb4916f10 Fix more references to Scheme. 2010-06-04 16:40:00 -04:00
Matthew Flatt
3b4a950014 tweak Guide repair
Merge to v5.0
2010-05-30 15:05:00 -06:00
Eric Hanchrow
ab025cbf47 Fix some typos 2010-05-30 04:11:57 -04:00
Jay McCarthy
00f143a060 Fixing one typo of David's 2010-05-28 14:47:54 -06:00
David Van Horn
22e2f3061f Various typo, spelling, and punctuation fixes in scribblings.
Signed-off-by: David Van Horn <dvanhorn@ccs.neu.edu>
2010-05-28 14:47:54 -06:00
Eli Barzilay
28946a0a43 More reformatting 2010-05-21 20:41:35 -04:00
Matthew Flatt
0c2c992bf4 reorder and revise dialects section of guide 2010-05-21 07:16:18 -06:00
Matthew Flatt
6f733e96b7 document and index .zo extension in Guide
merge to 5.0
2010-05-19 15:10:46 -06:00
Eli Barzilay
7b14a1f585 "Racunit" -> "Rackunit" 2010-05-17 12:07:32 -04:00
Eli Barzilay
28998cfe11 Remove redundant file 2010-05-17 09:57:03 -04:00
Matthew Flatt
322a045a51 improve guide chapter on language creation (based on Matthias's comments) 2010-05-16 17:28:56 -06:00
Eli Barzilay
2d9601089d A lot of "MzScheme" -> "Racket"s. 2010-05-16 18:26:26 -04:00
Eli Barzilay
418b05b8ff Fix a few typos 2010-05-15 21:03:35 -04:00
Matthew Flatt
aa9a8549ad finish Guide chaper on defining languages 2010-05-14 13:34:23 -06:00
Matthew Flatt
88fd429eaf initial cut at language-creation chaper in guide: reader extension 2010-05-14 11:33:08 -06:00
Vincent St-Amour
0837e47ce7 Fixed a typo in the regexp doc. 2010-05-13 17:12:36 -04:00