removed some latexisms

svn: r10407
This commit is contained in:
Robby Findler 2008-06-21 14:44:47 +00:00
parent 8b68ced640
commit a367e81f3a

View File

@ -6,7 +6,8 @@
This interface represents the bare essentials when defining This interface represents the bare essentials when defining
a module-based language. Use the a module-based language. Use the
\iscmmixin{drscheme:language:simple-module-based-language->module-based-language-mixin} mixin to construct an implementation of @scheme[drscheme:language:simple-module-based-language->module-based-language-mixin]
mixin to construct an implementation of
@scheme[drscheme:language:module-based-language<%>] from an implementation of this interface. @scheme[drscheme:language:module-based-language<%>] from an implementation of this interface.
The class The class
@ -40,7 +41,7 @@ This method replaces
The result is expected to be the The result is expected to be the
\MzLink{mz:modpath}{specification of a module} @scheme[module] (its initial require)
except as value, ie @scheme[quote]d. except as value, ie @scheme[quote]d.
} }
@ -133,8 +134,7 @@ returns the corresponding init arg.
@defmixin[drscheme:language:simple-module-based-language->module-based-language-mixin (drscheme:language:simple-module-based-language<%>) (drscheme:language:module-based-language<%>)]{ @defmixin[drscheme:language:simple-module-based-language->module-based-language-mixin (drscheme:language:simple-module-based-language<%>) (drscheme:language:module-based-language<%>)]{
\index{drscheme:language:simple-settings} @index{drscheme:language:simple-settings}
\label{tools:simple-settings}
This mixin uses a struct definition for its settings: This mixin uses a struct definition for its settings:
@schemeblock[ @schemeblock[
(define-struct drscheme:language:simple-settings (define-struct drscheme:language:simple-settings
@ -323,10 +323,11 @@ Returns @scheme[#t].
@definterface[drscheme:language:module-based-language<%> ()]{ @definterface[drscheme:language:module-based-language<%> ()]{
This interface is for languages that can be implemented This interface is for languages that can be implemented
with MzScheme \MzLink{mz:modules}{modules}. with MzScheme @scheme[module]s.
Use the Use the
\iscmmixin{drscheme:language:module-based-language->language-mixin} mixin to construct an implementation of @scheme[drscheme:language:module-based-language->language-mixin]
mixin to construct an implementation of
@scheme[drscheme:language:language<%>] from an implementation of this interface. @scheme[drscheme:language:language<%>] from an implementation of this interface.
@ -385,7 +386,7 @@ This method specifies the module that defines the language.
It is used to initialize the user's namespace. It is used to initialize the user's namespace.
The result is expected to be the The result is expected to be the
\MzLink{mz:modpath}{specification of a module} @scheme[module] (its initial require)
except as value, ie @scheme[quote]d. except as value, ie @scheme[quote]d.
See also See also
@ -420,7 +421,7 @@ transformation language. It is used to initialize
the transformer portion of the user's namespace. the transformer portion of the user's namespace.
The result is expected to be the The result is expected to be the
\MzLink{mz:modpath}{specification of a module} @scheme[module] (its initial require)
except as value, ie @scheme[quote]d or @scheme[#f]. except as value, ie @scheme[quote]d or @scheme[#f].
If the result is @scheme[#f], no module is required into the If the result is @scheme[#f], no module is required into the
@ -675,7 +676,7 @@ returns.
Implementations of this method should not return fully Implementations of this method should not return fully
expanded expressions, since there are two forms of expanded expressions, since there are two forms of
expansion, using either expansion, using either
\Mzhyperref{@scheme[expand]}{mz:expansion} @scheme[expand]
or or
@scheme[expand-top-level-with-compile-time-evals] @scheme[expand-top-level-with-compile-time-evals]
and the use of the expanded code dictates which applies. and the use of the expanded code dictates which applies.
@ -766,7 +767,7 @@ Returns a url for the language.
} }
@methimpl{ @methimpl{
If the result isn't \#f, the name of the language is If the result isn't @scheme[#f], the name of the language is
clickable in the interactions window and clicking takes you clickable in the interactions window and clicking takes you
to this url. to this url.
@ -786,7 +787,7 @@ saved by DrScheme, and removed from the buffer after it is
opened in DrScheme. opened in DrScheme.
The string is expect to be a prefix to the file that sets up The string is expect to be a prefix to the file that sets up
a reader for files in this language, using \texttt{#reader}. a reader for files in this language, using @tt{#reader}.
See also See also
@method[drscheme:language:language<%> metadata->settings], @method[drscheme:language:language<%> metadata->settings],
@ -828,7 +829,7 @@ when the user selects this language.
}} }}
@defmethod[(get-reader-module) @defmethod[(get-reader-module)
(or/c sexp-representing-a-require-spec \#f)]{ (or/c sexp-representing-a-require-spec false/c)]{
The result of this method is used when saving or loading files. The result of this method is used when saving or loading files.
@ -893,7 +894,8 @@ the settings for this language.
The @scheme[on-execute] method is called on DrScheme's The @scheme[on-execute] method is called on DrScheme's
eventspace's main thread before any evaluation happens eventspace's main thread before any evaluation happens
during execution. Use this method to initialize MzScheme's during execution. Use this method to initialize MzScheme's
\Mzhyperref{parameters}{mz:parameters} for the user. When @secref[#:doc '(lib "scribblings/reference/reference.scrbl") "parameters"]
for the user. When
this function is called, the user's thread has already been this function is called, the user's thread has already been
created, as has its custodian. These parameters have been created, as has its custodian. These parameters have been
changed from the defaults in MzScheme: changed from the defaults in MzScheme: