Commit Graph

28946 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
a07cdf39ff Remove contract on unit-exported definition. 2013-05-08 15:25:02 -04:00
Ryan Culpepper
70c06e1e80 fix estimate of order of magnitude for ~r 2013-05-08 12:52:53 -04:00
Ryan Culpepper
aaa9927cbb some random testing for (~r #:notation 'exponential ....) 2013-05-08 12:52:53 -04:00
Ryan Culpepper
2f403859a0 fixed (~r 0 #:notation 'exponential ....) bugs 2013-05-08 12:52:53 -04:00
Jay McCarthy
73232afd99 Adding customization of command-char to web-server/template
This entails adding it to include/text and read-syntax-inside as well.
2013-05-08 10:52:40 -06:00
Matthew Flatt
b3e2d35be9 fix `raco exe' test 2013-05-08 12:31:34 -04:00
Matthew Flatt
eb46eacad9 raco exe: enable on-demand parsing of embedded bytecode
Creating a stand-alone executable could slow down a program,
because bytecode embedded in an executable was not treated
in the same way as bytecode loaded from files. The difference
was in on-demand parsing of bytecode --- and now it's enabled
for embedded bytecode, too.
2013-05-08 12:31:34 -04:00
Eli Barzilay
e85b9d523f v5.3.4 installers info 2013-05-08 12:19:18 -04:00
Matthew Flatt
d5de35af3c fix place-channel test 2013-05-08 11:29:50 -04:00
Matthew Flatt
d44f817865 raco setup: fix subcollection traversal
Closes PR 13740
2013-05-08 11:28:04 -04:00
Matthew Flatt
7946c73c42 avoid a constant folding that can use too much memory
Closes PR 13738
2013-05-08 10:24:16 -04:00
Matthew Flatt
3042258148 raco pkg: "indices" -> "catalogs" in dependency message 2013-05-08 09:54:30 -04:00
Matthew Flatt
9361b1e709 render non-installaction-scoped package docs with an indirection
The indirection uses a "local-redirect.js" script to rewrite
the document links to local links within the browser. This mechanism
is a step towards distributing compiled packages that include
already-built documentation, where paths to other documentation
can be different than in the build environment.

If the links are not rewritten, they are queries to
"pkg-docs.racket-lang.org", with the idea tha such a server will exist
for reading all package documentation online. Also, a package's
documentation that refer to documentation for uninstalled packages,
in which case the corresponding links will not get rewritten and
will continue to point to the server.

Rendering the "local-redirect.js" script spends a lot of time just
converting among different path formats. Various library changes in
this commit are aimed at speed up those conversions, but the big
improvement came from a `path->url-string' that shortcuts conversion
os simple Unix paths.
2013-05-08 09:54:30 -04:00
Matthew Flatt
53efe920b3 Move explode-path' from racket/path' to `racket/base'
The revised `explode-path' runs in time proportional to the
length of the path, instead of quadratic in the number of
path elements. The difference doesn't matter much in my
program, but I'm reluctant to leaving the implementation
as quadratic (which is forced by using `split-path').
2013-05-08 09:54:30 -04:00
Matthew Flatt
2310eb367f remove dead code
The removed line was added due to a misreading of a failure
path as a slow path.

Thanks to Jon Zeppieri.
2013-05-08 09:54:29 -04:00
Robby Findler
5290b4c4b3 share submodules of racket/base and scheme/base
for user code
2013-05-08 07:25:03 -05:00
Eli Barzilay
36e40ed340 New Racket version 5.3.4.9. 2013-05-08 03:30:15 -04:00
Jay McCarthy
f87ad69fd1 Fix cookie test re version 2013-05-07 20:13:43 -06:00
Jay McCarthy
61feb21c42 A kindler, gentler death re: Robby 2013-05-07 20:13:43 -06:00
Asumu Takikawa
eaf9521336 Add a few examples to syntax transformer section 2013-05-07 21:39:11 -04:00
Matthew Flatt
2841e873e1 raco pkg: fix conflict checking for a collection splice
Package updating also seems to have been broken by roughly
the same code (so maybe I ran the test suite incorrectly
before?).

Closes PR 13736
2013-05-07 17:30:42 -04:00
Vincent St-Amour
89f9b860cd Fix type of tanh.
Found using random testing.
2013-05-07 17:06:35 -04:00
Burke Fetscher
172ea13552 redex: fix and clean up metafunction expansion
- defer disequation expansion so that generated code
  is linear w/r/t to the number of clauses
- fix variable renaming for disequations
2013-05-07 15:20:37 -05:00
Matthew Flatt
7339074741 racket/place: keywords as place messages 2013-05-07 14:48:21 -04:00
Matthew Flatt
0b1c0ba13b racket/{require,provide}-syntax: add `syntax-local-{require,provide}-introduce' 2013-05-07 14:48:21 -04:00
Eric Dobson
8db95d007a Move tc/send to new file because it doesn't belong in tc-expr-unit. 2013-05-07 09:32:04 -07:00
Eric Dobson
adbc516edf Move tc-literal to seperate file, as it doesn't belong in tc-expr. 2013-05-07 09:32:04 -07:00
Matthew Flatt
1404970242 stepper: ignore submodules
This change keeps the stepper working with the `lazy' language, which
uses the `#%module-begin' from `racket', which in turn now adds a
`configure-runtime' submodule.
2013-05-07 12:00:13 -04:00
Matthew Flatt
376dd5f4aa add `racket/rerequire'
The `dynamic-rerequire' function is the reloading support of
`enter!', but in function form and without namespace-switching.
2013-05-07 12:00:13 -04:00
Matthew Flatt
4ac6a6b3e3 scribble: fix `--redirect{-main}' and non-HTML mode 2013-05-07 12:00:13 -04:00
Matthew Flatt
b11d37ddb3 fix error message for applying a non-procedure with keywords 2013-05-07 12:00:13 -04:00
Asumu Takikawa
d16d5f14f3 Add examples for syntax/stx 2013-05-07 11:47:21 -04:00
Asumu Takikawa
1c9fe6a83a Remove commented code and random line breaks 2013-05-07 11:05:29 -04:00
Asumu Takikawa
37d44ebb38 Style guideline compliance 2013-05-07 11:05:29 -04:00
Asumu Takikawa
541966daaa Remove unnecessary prefab struct declaration 2013-05-07 11:05:28 -04:00
Asumu Takikawa
bb2ecbf8cb Add comments, purpose statements, and contracts 2013-05-07 11:05:28 -04:00
Juan Francisco Cantero Hurtado
2ba4a9891a Add urls with the info about deps to README. 2013-05-07 10:48:53 -04:00
Richard Hopkins
af1bf7188e Correct typos in src/README 2013-05-07 10:44:14 -04:00
Robby Findler
49225918d0 add an example use of the #:pp argument to the redex docs 2013-05-07 09:20:32 -05:00
Matthew Flatt
e75393a59b bump version 2013-05-07 09:07:40 -04:00
Matthew Flatt
f3a7833dcf scribble: fix binding search for phase 1 through initial import
Changing the implementation of `racket' in terms of `racket/base'
exposed this bug.
2013-05-07 08:31:16 -04:00
Matthew Flatt
169e801803 switch rascket/base' and scheme/base' to submodule language style
The `#%module-begin' of `racket/base' and `scheme/base' now introduces
a suitable `configure-runtime' submodule, instead of using the
`module->language-info' path.

A submodule is a lot easier to work with, as illustrated by the
removal of the `racket/private/lang' and `scheme/private/lang'
languages.

Also, add `#%printing-module-begin', which is the old `#%module-begin'
(i.e., the one that doesn't introduce a `configure-runtime' submodule).
2013-05-07 08:31:16 -04:00
Matthew Flatt
27f1b39294 add `configure-runtime' submodule support
A language can now introduce a `configure-runtime' submodule that
is `dynamic-require'd before the enclosing module.

This new submodule protocol provides a more general and
easier-to-understand way of configuring the run-time environment for
a module's language, as compared to the `module->language-info'
path (through a `get-info' function, via a 'configure-runtime value,
and finally loading the specified module).

The `module->language-info' path remains in place, and it is
checked after a `configure-runtime' submodule is run, since
that order is likely to be the most backward compatible.
2013-05-07 08:31:16 -04:00
Matthew Flatt
34d0037b37 fix `module' non-simplification of syntax during expansion
This change affects the time required to `expand' a module.
2013-05-07 08:31:16 -04:00
Matthew Flatt
f60803c300 make scribble' (and raco scribble') use a `doc' submodule when present 2013-05-07 08:31:16 -04:00
Robby Findler
1e0625bd39 fix tests
The test cases in question never failed for what appears to be
an amazing fluke. I broke these test in Jan of 2012 (commit 2afda360)
and they don't seem to have failed since then, due to luck with
the random number generator
2013-05-07 07:13:58 -05:00
Robby Findler
2648542a6c allow #:chaperone specification in struct/dc
related to PR 13734
2013-05-06 18:17:43 -05:00
Robby Findler
d8a444dfef misc improvements to generate-term
- there should no longer be an internal errors (hopefully)
  that is, all of the errors with the form should be caught
  and reported properly now
- several of the options in generate-term now generate less code
- the blue box portion of the documentation is now more precise
2013-05-06 18:17:42 -05:00
Robby Findler
23d2e5cf83 another edito
closes PR 13734
2013-05-06 14:54:50 -05:00
Robby Findler
65b7d7855c edito 2013-05-06 14:44:42 -05:00