Commit Graph

417 Commits

Author SHA1 Message Date
Eli Barzilay
1e55f71f8a Two more #lang racket' -> #lang racket/base'. 2012-11-07 11:34:33 -05:00
Eli Barzilay
672910f27b Lots of bad TAB eliminations.
I started from tabs that are not on the beginning of lines, and in
several places I did further cleanings.

If you're worried about knowing who wrote some code, for example, if you
get to this commit in "git blame", then note that you can use the "-w"
flag in many git commands to ignore whitespaces.  For example, to see
per-line authors, use "git blame -w <file>".  Another example: to see
the (*much* smaller) non-whitespace changes in this (or any other)
commit, use "git log -p -w -1 <sha1>".
2012-11-07 11:22:20 -05:00
Danny Yoo
b5f5d420c4 correcting the type signature docs for htdp-intermediate's compose. 2012-11-06 14:39:23 -07:00
Eli Barzilay
cbfb1fdb37 A whole bunch of missing newlines at EOFs (and a few other spaceages). 2012-10-19 06:47:24 -04:00
Robby Findler
3ba54a2a3e adjust the teaching languages interactions with
drracket so they put the 'source' field into the
syntax objects that they create (at the very top)

this allows the debugger to connect the syntax objects
to the file that's open in drracket (the way this worked
changed a while back, but I didn't check the teaching
languages to see if the debugger was supposed to work there)

closes PR 13159

please merge to the release branch
2012-10-18 22:07:11 -05:00
Matthias Felleisen
f733f149f5 fix string-ith's error message; Closes PR 13197 2012-10-17 20:27:12 -04:00
Robby Findler
8971cb5981 adjust define-primitive so that it cooperates with struct-info.
Specifically, if there is a third argument to define-primitive, then
it uses the prop:struct-info setup, using that third argument
as the struct-info (in the list format).
2012-09-28 15:09:25 -05:00
Matthias Felleisen
37ff798163 sqrt 2 to show #i numbers 2012-09-20 09:05:33 -04:00
Matthias Felleisen
b1ba81d0cc replace example for string=; Closes PR 13112 2012-09-17 06:57:07 -04:00
Robby Findler
f40277df89 Rackety 2012-08-22 22:06:07 -05:00
Matthias Felleisen
f9724f389d addex index entry for add/plus, multiply, and friends
Closes PR12895 -- well, except that index points to htdp-langs for all five occurrences of each (to be fixed)

merge to v5.3
2012-07-23 16:57:38 -04:00
Matthew Flatt
99dbc321f5 fix *SL errortrace to support higher phases
The new *SL implementations that refer to Scribble
can lead to phase-2 code when running without ".zo"s.
2012-07-19 16:50:25 -05:00
Asumu Takikawa
403aaac7d4 Moved some mzlib library implementations to racket
The libraries moved were:
  - mzlib/control      => racket/control
  - mzlib/date         => racket/date
  - mzlib/deflate      => file/gzip
  - mzlib/inflate      => file/gunzip
  - mzlib/port         => racket/port
  - mzlib/process      => racket/system
  - mzlib/runtime-path => racket/runtime-path
  - mzlib/shared       => racket/shared
  - mzlib/unit         => racket/unit
  - mzlib/unit-exptime => racket/unit-exptime
  - mzlib/zip          => file/zip

The old modules in mzlib are now pointers to the
new modules. These are all modules that were already
redirected in the documentation.
2012-07-11 18:26:10 -04:00
Matthew Flatt
3f479a0556 *SL: avoid run-time dependency on Scribble
Instead, move the Scribble dependencies into generated documentation
submodules.
2012-07-10 15:55:18 -06:00
Matthias Felleisen
983afd5355 added some more format examples; Closes PR 9879 2012-07-04 11:42:14 -04:00
Matthias Felleisen
89d6ebaab6 shifted eval code, probably not needed 2012-07-03 21:49:03 -04:00
Matthias Felleisen
a6e3c01f53 this is not the final word, see todo in provide-and-scribble; Closes PR 10498 2012-06-28 20:57:30 -04:00
Matthias Felleisen
15651fca6c removed debug print; fixed ordering of section display; improved docs in advanced 2012-06-28 20:55:13 -04:00
Matthias Felleisen
f56d6447da typos 2012-06-28 18:22:49 -04:00
Matthias Felleisen
004127bbc7 hashes scribblized, preliminary; SK may wish to add more examples 2012-06-28 18:22:49 -04:00
Robby Findler
5526efd744 Rackety (Matthew already broke the dependency that this commit was going to do) 2012-06-28 09:02:35 -05:00
Matthew Flatt
6379849755 remove dependency of *SL image functions on `racket/gui/base' 2012-06-28 07:18:17 -06:00
Matthias Felleisen
379974fc6e fixed some interactions, added up through hashes 2012-06-27 22:55:07 -04:00
Matthias Felleisen
22f3c6b509 added interactive examples up to I/O 2012-06-27 19:03:42 -04:00
Matthias Felleisen
397cd540ab added interactions to all but one beginner functions to illustrate what they do 2012-06-27 19:03:41 -04:00
Matthew Flatt
e0bf863b21 BSL and BSL+: fix an error message 2012-06-27 09:57:50 -06:00
Matthew Flatt
b38bf09e4e HtDP language docs: fix context of defined bindings
Uses the new `#:id' option in `defproc'.
2012-06-25 23:25:58 -06:00
Matthias Felleisen
d04b8b0b8d accidentally placed 'null' in wrong file 2012-06-25 19:59:42 -04:00
Matthias Felleisen
4aefb18cab fixed bug in provide and scribble (end of stage 1) 2012-06-25 19:15:09 -04:00
Matthias Felleisen
68f16f705b fixed bug in render-sections 2012-06-25 19:15:09 -04:00
Matthias Felleisen
ee82103283 first stage in documentation reorg (final step) 2012-06-25 19:15:09 -04:00
Matthias Felleisen
8d02bc8844 first stage in documentation reorg (step 2) 2012-06-25 19:15:08 -04:00
Matthias Felleisen
5fbb660a56 first stage in documentation reorg 2012-06-25 19:15:08 -04:00
Matthias Felleisen
2981cbfd68 added string-contains? at request from Ostermann 2012-06-25 19:15:08 -04:00
Matthew Flatt
7126295905 teaching languages: fix copying of `test~object' binding to REPL
As Mike noticed, commit d836cba7c9 triggered a different binding
of `test~object' due to the enclosing module context of the `eval'ed
syntax object.
2012-06-23 02:04:54 -07:00
Eli Barzilay
7d6e79023c Random pickiness.
Spaces at EOFs, indentation, etc.
2012-06-22 12:00:48 -04:00
Matthew Flatt
1dc0072d03 further error message convention refinements
Add extra intitial-message lines, use "..." on a field name
to indicate that it could reasonably be hidden by default,
and refine some existing messages.
2012-06-22 09:47:59 +08:00
Matthew Flatt
9af2a331ca another ASL error-message repair 2012-06-21 07:14:49 +08:00
John Clements
c01e8c1564 refactored to reduce stepper dependencies 2012-06-19 23:51:59 -07:00
Matthew Flatt
82943df351 another *SL error-message repair 2012-06-12 06:02:57 +08:00
Matthew Flatt
255e3cbe2e another *SL error-rewriting fix
Arity errors no include supplied arguments, but strip them
away for *SL messages.
2012-06-06 13:25:14 +08:00
Matthew Flatt
e44c0809e8 rewrite contract error messages for *SL
The rewrite involves parsing contract expressions and constructing
replacement prose.
2012-06-05 17:53:27 +08:00
Matthew Flatt
cc0b887106 adjust *SL error-message rewriting 2012-06-03 11:09:32 +08:00
Robby Findler
daa048719a fixed a bug in the ordering of how printing parameters are set up
There was an exception raised and then handled internally when the
slideshow/pict-convert library was loaded; DrRacket loaded this
library during the dynamic-extent of a handler it installed into
the global-port-print-handler, which causes a (non-tail) infinite
loop.
2012-05-30 22:31:55 -05:00
Matthew Flatt
248301c9ed disable nested `#lang'
A `syntax/module-reader' reader disables `#lang' when looping to
read a module body. The HtDP languages require a little additional
treatment.
2012-05-29 11:01:52 -06:00
Matthias Felleisen
f1c1376d87 added 'range' to *sl per jpr's request and #lang-ified a couple of files 2012-05-29 12:00:27 -04:00
Matthias Felleisen
cc8e988346 fixed mistakes in posn documentation; Closes PR 12755 2012-05-09 12:04:44 -04:00
Eli Barzilay
17090fca4f A bunch of fprintf' -> eprintf' conversions (and a few related things). 2012-05-06 12:06:00 -04:00
Stephen Bloch
8f4178e7eb Eli's suggested patch to enable searching for picturing-programs library
functions (which includes image and universe) using F1 from teaching
languages.
2012-05-04 14:56:28 -04:00
Matthias Felleisen
e04b74f22a fix mistake in memf documentation, Closes PR 12745 2012-05-01 16:48:17 -04:00