Skip to content

Commit

Permalink
A lot of "MzScheme" -> "Racket"s.
Browse files Browse the repository at this point in the history
  • Loading branch information
elibarzilay committed May 16, 2010
1 parent 4b0b550 commit 2d96010
Show file tree
Hide file tree
Showing 161 changed files with 345 additions and 346 deletions.
2 changes: 1 addition & 1 deletion collects/algol60/compile.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
(provide compile-simplified)

;; The compiler generates references to prim.ss and
;; runtime.ss exports, as well as MzScheme forms
;; runtime.ss exports, as well as Racket forms
;; and functions. The `ctx' argument provides
;; an appropriate context for those bindings (in
;; the form of a syntax object to use with d->s-o).
Expand Down
2 changes: 1 addition & 1 deletion collects/compiler/commands/ctool.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@

(define (never-embedded action)
(when (compiler:option:compile-for-embedded)
(error mzc-symbol "cannot ~a an extension for an embedded MzScheme" action)))
(error mzc-symbol "cannot ~a an extension for an embedded Racket" action)))

(if (compiler:option:3m)
(begin (link-variant '3m) (compile-variant '3m))
Expand Down
4 changes: 2 additions & 2 deletions collects/compiler/embed-unit.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@
[(macosx)
(cond
[(not mred?)
;; Need MzScheme:
;; Need Racket:
(string-append "racket" (variant-suffix variant #f))]
[mred?
;; Need MrEd:
;; Need GRacket:
(let ([sfx (variant-suffix variant #t)])
(build-path (format "GRacket~a.app" sfx)
"Contents" "MacOS"
Expand Down
6 changes: 3 additions & 3 deletions collects/compiler/main.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,11 @@
((,(format "Makes all Scheme sources in specified collection(s)") ""))]
[("--exe")
,(lambda (f name) (exe-output name) 'exe)
(,(format "Embed module in MzScheme to create <exe>")
(,(format "Embed module in Racket to create <exe>")
"exe")]
[("--gui-exe")
,(lambda (f name) (exe-output name) 'gui-exe)
(,(format "Embed module in MrEd to create <exe>")
(,(format "Embed module in GRacket to create <exe>")
"exe")]
[("--exe-dir")
,(lambda (f name) (exe-dir-output name) 'exe-dir)
Expand Down Expand Up @@ -418,7 +418,7 @@

(define (never-embedded action)
(when (compiler:option:compile-for-embedded)
(error 'mzc "cannot ~a an extension for an embedded MzScheme" action)))
(error 'mzc "cannot ~a an extension for an embedded Racket" action)))

(if (compiler:option:3m)
(begin (link-variant '3m) (compile-variant '3m))
Expand Down
2 changes: 1 addition & 1 deletion collects/compiler/private/anorm.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
; binding clause for each let-values expression. (Of course, the
; single clause can bind multiple variables.) This linearization does
; not apply to letrec expressions. Technically, it's the source of a bug
; compared to bytecode MzScheme: when call/cc is used on the RHS
; compared to bytecode Racket: when call/cc is used on the RHS
; where an earlier LHS is mutable, the cell for the mutable LHS is
; allocated too early.

Expand Down
4 changes: 2 additions & 2 deletions collects/compiler/private/cstructs.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
case-arities
;; An integer indicating which
;; arity record in compiler:case-lambdas
;; contains MzScheme information for
;; contains Racket information for
;; the arity of the case-lambda. For
;; single-case lambdas, this is #f
;; because the arity information is
Expand All @@ -201,7 +201,7 @@
prim?
;; application of a known primitive?
prim-name
;; MzScheme name for the known primitive, or #f
;; Racket name for the known primitive, or #f
))

;;----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion collects/compiler/private/vehicle.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
;; (c) 1997-2001 PLT

; Assign closures to ``vehicles'', and collect information for
; MzScheme about the closures.
; Racket about the closures.
; A vehicle is a C function that implements the body of a
; closure. Multiple closures may be assigned to a single
; vehicle to improve the performance of tail calls.
Expand Down
2 changes: 1 addition & 1 deletion collects/compiler/private/xform.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -3379,7 +3379,7 @@
(format " (in ~a)" complain-not-in))
(tok-n (car func))))
;; Lift out function calls as arguments. (Can re-order code.
;; MzScheme source code must live with this change to C's semantics.)
;; Racket source code must live with this change to C's semantics.)
;; Calls are replaced by varaibles, and setup code generated that
;; assigns to the variables.
(let*-values ([(live-vars)
Expand Down
2 changes: 1 addition & 1 deletion collects/compiler/sig.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
; default = #t

compile-for-embedded ; #f => make objects to be linked
; directly with MzScheme, not dynamically
; directly with Racket, not dynamically
; loaded; default = #f

max-inline-size ; max size of inlined procedures
Expand Down
2 changes: 1 addition & 1 deletion collects/dynext/file-unit.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@
(extract-suffix append-object-suffix))
(mk 'extract-base-filename/ext
(regexp-quote (subbytes (system-type 'so-suffix) 1) #f)
"MzScheme extension"
"Racket extension"
(extract-suffix append-extension-suffix))))))
2 changes: 1 addition & 1 deletion collects/frtime/core/erl.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
(define-struct tid (lid) #:prefab)
(define (create-tid thr) (make-tid thr))

; We need a mapping from MzScheme's tids to our tids (just for `self')
; We need a mapping from Racket's tids to our tids (just for `self')
; and a mapping from symbols to mailboxes (for local threads).

(define tids (make-weak-hash))
Expand Down
2 changes: 1 addition & 1 deletion collects/frtime/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ _Signal Processors_

> (<proc> behavior ...) -> behavior

FrTime provides "lifted" versions of most of MzScheme. This means
FrTime provides "lifted" versions of most of Racket. This means
that these procedures may be applied to behaviors, and the result
automatically recomputes whenever any of the arguments changes.

Expand Down
2 changes: 1 addition & 1 deletion collects/launcher/launcher-unit.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@
(define (racket-launcher-up-to-date? dest [aux null])
(cond
;; When running Setup PLT under Windows, the
;; launcher process stays running until MzScheme
;; launcher process stays running until Racket
;; completes, which means that it cannot be
;; overwritten at that time. So we assume
;; that a Setup-PLT-style independent launcher
Expand Down
2 changes: 1 addition & 1 deletion collects/lazy/lazy.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
;; to whenever the value is actually forced
(~ (parameterize ([param (! val)] ...) (~begin body ...))))

;; Multiple values are problematic: MzScheme promises can use multiple
;; Multiple values are problematic: Racket promises can use multiple
;; values, but to carry that out `call-with-values' should be used in all
;; places that deal with multiple values, which will make the whole thing
;; much slower (about twice in tight loops) -- but multiple values are rarely
Expand Down
6 changes: 3 additions & 3 deletions collects/mysterx/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ _MysterX_

Blocks until all browser windows have been closed or hidden,
using the show method of mx-browser%. This is useful when
a MysterX program file is run as a script, to prevent MzScheme
or MrEd from closing prematurely.
a MysterX program file is run as a script, to prevent Racket
or GRacket from closing prematurely.

> mx-browser% :: (make-object mx-browser% [label] [width] [height] [x] [y] [style-list])

Expand Down Expand Up @@ -202,7 +202,7 @@ _MysterX_

Handles events using the registered event
handlers. The event handlers are called in a
thread separate from the main MzScheme REPL.
thread separate from the main Racket REPL.

> stop-handling-events :: (send an-mx-browser stop-handling-events)

Expand Down
2 changes: 1 addition & 1 deletion collects/mzlib/pregexp.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
;; ;Portable regular expressions for Scheme
;; ;Dorai Sitaram
;; ;http://www.ccs.neu.edu/~dorai/pregexp/pregexp.html
;; but `pregexp' functionality is now built into MzScheme, so
;; but `pregexp' functionality is now built into Racket, so
;; this is mostly a wrapper module.

(module pregexp mzscheme
Expand Down
10 changes: 5 additions & 5 deletions collects/mzlib/scribblings/restart.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@
[init-namespace (-> any)])
boolean?]{

Simulates starting MzScheme with the vector of command-line strings
Simulates starting Racket with the vector of command-line strings
@scheme[argv]. The @scheme[init-argv], @scheme[adjust-flag-table], and
@scheme[init-namespace] arguments are used to modify the default
settings for command-line flags, adjust the parsing of command-line
flags, and customize the initial namespace, respectively.

The vector of strings @scheme[init-argv] is read first with the
standard MzScheme command-line parsing. Flags that load files or
standard Racket command-line parsing. Flags that load files or
evaluate expressions (e.g., @Flag{f} and @Flag{e}) are ignored, but
flags that set MzScheme's modes (e.g., @Flag{c} or @Flag{j})
flags that set Racket's modes (e.g., @Flag{c} or @Flag{j})
effectively set the default mode before @scheme[argv] is parsed.

Before @scheme[argv] is parsed, the procedure
Expand All @@ -34,7 +34,7 @@ a table of command-line flags, and this table is used to parse
add or remove flags from the standard set.

After @scheme[argv] is parsed, a new thread and a namespace are
created for the ``restarted'' MzScheme. (The new namespace is
created for the ``restarted'' Racket. (The new namespace is
installed as the current namespace in the new thread.) In the new
thread, restarting performs the following actions:

Expand Down Expand Up @@ -64,4 +64,4 @@ the return value is determined as described above.

Note that an error in a command-line expression followed by
@scheme[read-eval-print-loop] produces a @scheme[#t] result. This is
consistent with MzScheme's stand-alone behavior.}
consistent with Racket's stand-alone behavior.}
2 changes: 1 addition & 1 deletion collects/mzlib/scribblings/sendevent.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

The @schememodname[mzlib/sendevent] library provides a
@scheme[send-event] function that works only on Mac OS X, and only
when running in MrEd (though the library can be loaded in MzScheme).
when running in GRacket (though the library can be loaded in Racket).

@defproc[(send-event [receiver-bytes (lambda (s) (and (bytes? s)
(= 4 (bytes-length s))))]
Expand Down
2 changes: 1 addition & 1 deletion collects/mzlib/zip.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
(define/kw (zip->output files #:optional [out (current-output-port)])
(parameterize ([current-output-port out])
(let* ([seekable? (seekable-port? (current-output-port))]
[headers ; note: MzScheme's `map' is always left-to-right
[headers ; note: Racket's `map' is always left-to-right
(map (lambda (file)
(zip-one-entry (build-metadata file) seekable?))
files)])
Expand Down
4 changes: 2 additions & 2 deletions collects/mzscheme/examples/README
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This directory contains a few example MzScheme extensions. Most
This directory contains a few example Racket extensions. Most
examples are implemented directly in C. A few examples listed at the
end use the mzc `c-lambda', etc. forms.

Expand All @@ -10,7 +10,7 @@ end use the mzc `c-lambda', etc. forms.
from C and adding top-level definitions. (Manually instrumented for
3m, so do not use `mzc --xform'.)

* curses.c - links MzScheme to the curses library. Demonstrates more
* curses.c - links Racket to the curses library. Demonstrates more
procedures and definitions, a little more type dispatching, and
returning multiple values. (Manually instrumented for 3m, so do not
use `mzc --xform'.)
Expand Down
2 changes: 1 addition & 1 deletion collects/mzscheme/examples/catch.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
MzScheme extension example that catches exceptions and extracts
Racket extension example that catches exceptions and extracts
error messages.
The defined function is `eval-string/catch-error', which takes a
Expand Down
2 changes: 1 addition & 1 deletion collects/mzscheme/examples/cfile.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
;; Direct access to fopen, fread, fwrite, and fclose. The interface is
;; not remotely safe, since #f is accepted (and converted to NULL)
;; for `(pointer "FILE")' arguments. Also, blocking reads or writes
;; will block all MzScheme threads.
;; will block all Racket threads.

(c-declare "#include <stdio.h>")

Expand Down
2 changes: 1 addition & 1 deletion collects/mzscheme/examples/curses.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
mzc --3m --ld curses.so curses_3m.o -lcurses
For obvious reasons, this library doesn't interact well
with MzScheme's read-eval-print loop. The example file
with Racket's read-eval-print loop. The example file
curses-demo.ss demos this extension.
*/

Expand Down
2 changes: 1 addition & 1 deletion collects/mzscheme/examples/fmod.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
of Scheme_Object* values for argv, and returns a Scheme_Object*: */
static Scheme_Object *sch_fmod(int argc, Scheme_Object **argv)
{
/* Because we'll use scheme_make_prim_w_arity, MzScheme will
/* Because we'll use scheme_make_prim_w_arity, Racket will
have already checked that we're getting the right number of
arguments. */
Scheme_Object *a = argv[0], *b = argv[1];
Expand Down
2 changes: 1 addition & 1 deletion collects/mzscheme/examples/hello.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
MzScheme extension example that returns the string "Hello, world!"
Racket extension example that returns the string "Hello, world!"
when loaded.
For the 3m GC (the default), compile with:
Expand Down
6 changes: 3 additions & 3 deletions collects/net/cgi-unit.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@
""
"<html>"
"<!-- The form was processed, and this document was generated,"
" using the CGI utilities for MzScheme. For more information"
" on MzScheme, see"
" http://www.plt-scheme.org/software/mzscheme/"
" using the CGI utilities for Racket. For more information"
" on Racket, see"
" http://racket-lang.org/"
" and for the CGI utilities, contact"
" ([email protected]). -->"
"<head>"
Expand Down
2 changes: 1 addition & 1 deletion collects/net/sendmail-unit.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
(unless (null? cc-recipients)
(write-recipient-header "CC" cc-recipients)))
(fprintf writer "Subject: ~a\n" subject)
(fprintf writer "X-Mailer: MzScheme: see www.plt-scheme.org\n")
(fprintf writer "X-Mailer: Racket (racket-lang.org)\n")
(for-each (lambda (s)
(display s writer)
(newline writer))
Expand Down
4 changes: 2 additions & 2 deletions collects/openssl/mzssl.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
;; in the future. (This requirement comes from the SSL library.)

;; Another warning: data that is written and not buffered may still be
;; in flight between MzScheme and the underlying ports. A `flush-output'
;; in flight between Racket and the underlying ports. A `flush-output'
;; won't return until sent data is actually in the underlying port.
;; (This is due to the fact that unbuffered data cannot be written
;; without blocking.)
Expand Down Expand Up @@ -655,7 +655,7 @@
(flush-ssl mzssl enable-break?)
0)
;; Write request; even if blocking is ok, we treat
;; it as non-blocking and let MzScheme handle blocking
;; it as non-blocking and let Racket handle blocking
(let ([n (SSL_write (mzssl-ssl mzssl) xfer-buffer len)])
(if (n . > . 0)
(begin
Expand Down
2 changes: 1 addition & 1 deletion collects/planet/resolver.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ number of bytes in the package.
3 Client Download Policies
MzScheme invokes the PLaneT client once for each instance of a require-planet
Racket invokes the PLaneT client once for each instance of a require-planet
form in a program being run (i.e., the transitive closure of the "requires"
relation starting from some specified root module; this closure is calculable
statically). At each of these invocations, the client examines its internal
Expand Down
2 changes: 1 addition & 1 deletion collects/planet/util.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@

;; ---
;; documentation stuff --- loaded on demand so that setup/scribble can be
;; omitted in the MzScheme distribution
;; omitted in the Racket distribution
(define-namespace-anchor anchor)

;; render : path[fully-expanded scribble file path] path[fully expanded directory] boolean? -> xref?
Expand Down
6 changes: 3 additions & 3 deletions collects/preprocessor/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
_preprocessor_
========================================================================

The "preprocessor" collection defines two MzScheme-based preprocessors
The "preprocessor" collection defines two Racket-based preprocessors
for texts that can have embedded Scheme code. The two processors share
a few features, like several command-line flags and the fact that
embedded Scheme code is case-sensitive by default.
Expand Down Expand Up @@ -332,7 +332,7 @@ Miscellaneous:
_mztext_
========================================================================

`mztext' is another MzScheme-based preprocessing language. It can be
`mztext' is another Racket-based preprocessing language. It can be
used as a preprocessor in a similar way to `mzpp' since it also uses
`pp-run' functionality. However, `mztext' uses a completely different
processing principle, it is similar to TeX rather than the simple
Expand Down Expand Up @@ -450,7 +450,7 @@ their arity (preferring a the nullary treatment over the unary one):
* A procedure of arity 0 is simply invoked, and its resulting value is
used. The procedure can freely use the input stream to retrieve
arguments. For example, here is how to define a standard C function
header for use in a MzScheme extension file:
header for use in a Racket extension file:

|@(define (cfunc)
| (format
Expand Down
2 changes: 1 addition & 1 deletion collects/preprocessor/mzpp-run.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
#:handlers
(lambda (_ . files) (run preprocess run-cmd output files))
'("input-file")
(more-help 'mzpp "a MzScheme-based preprocessor")))
(more-help 'mzpp "a Racket-based preprocessor")))
2 changes: 1 addition & 1 deletion collects/preprocessor/mztext-run.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
#:handlers
(lambda (_ . files) (run preprocess run-cmd output files))
'("input-file")
(more-help 'mztext "a MzScheme-based preprocessing language")))
(more-help 'mztext "a Racket-based preprocessing language")))
2 changes: 1 addition & 1 deletion collects/preprocessor/scribblings/mztext.scrbl
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ their arity (preferring a the nullary treatment over the unary one):
@item{A procedure of arity 0 is simply invoked, and its resulting value is
used. The procedure can freely use the input stream to retrieve
arguments. For example, here is how to define a standard C function
header for use in a MzScheme extension file:
header for use in a Racket extension file:

@verbatim[#:indent 2]|{
@(define (cfunc)
Expand Down
Loading

0 comments on commit 2d96010

Please sign in to comment.