fix some typos in docs.

windows-high-dpi
John Benediktsson 2018-02-12 16:22:49 -08:00
parent b14d6085d6
commit 7d628b833d
12 changed files with 15 additions and 15 deletions

View File

@ -46,7 +46,7 @@ HELP: basic-block
} }
} }
} }
{ $notes "A basic-block is an " { $link identity-tuple } " becase it is used as a hash table key by the compiler." } ; { $notes "A basic-block is an " { $link identity-tuple } " because it is used as a hash table key by the compiler." } ;
HELP: <basic-block> HELP: <basic-block>
{ $values { "bb" basic-block } } { $values { "bb" basic-block } }

View File

@ -18,7 +18,7 @@ HELP: pending
{ $class-description "A stack location is pending at a location if all paths from the entry block to the location write the location." } ; { $class-description "A stack location is pending at a location if all paths from the entry block to the location write the location." } ;
ARTICLE: "compiler.cfg.stacks.global" "Global stack analysis" ARTICLE: "compiler.cfg.stacks.global" "Global stack analysis"
"This vocab defines a bunch of dataflow analysises:" "This vocab defines a bunch of dataflow analyses:"
{ $subsections avail anticip dead live pending } { $subsections avail anticip dead live pending }
"The info they gather is used by " { $link finalize-stack-shuffling } " for optimal insertion of " { $link ##peek } " and " { $link ##replace } " instructions." ; "The info they gather is used by " { $link finalize-stack-shuffling } " for optimal insertion of " { $link ##peek } " and " { $link ##replace } " instructions." ;

View File

@ -51,7 +51,7 @@ HELP: rel-decks-offset
HELP: rel-literal HELP: rel-literal
{ $values { "literal" "a literal" } { "class" "a relocation class" } } { $values { "literal" "a literal" } { "class" "a relocation class" } }
{ $description "Adds a refrence to a literal value to the current code offset." } ; { $description "Adds a reference to a literal value to the current code offset." } ;
HELP: rel-safepoint HELP: rel-safepoint
{ $values { "class" "a relocation class" } } { $values { "class" "a relocation class" } }

View File

@ -11,6 +11,6 @@ ARTICLE: "editors.vim" "Vim support"
{ "If you want to start vim in an extra terminal, use something like this:" { $code "{ \"urxvt\" \"-e\" \"vim\" } vim-path set-global" } "Replace " { $snippet "urxvt" } " by your terminal of choice." } { "If you want to start vim in an extra terminal, use something like this:" { $code "{ \"urxvt\" \"-e\" \"vim\" } vim-path set-global" } "Replace " { $snippet "urxvt" } " by your terminal of choice." }
} }
$nl $nl
"You may also wish to install Vim support files to enable syntax hilighting and other features. These are in the " { $link resource-path } " in " { $snippet "misc/vim" } "." "You may also wish to install Vim support files to enable syntax highlighting and other features. These are in the " { $link resource-path } " in " { $snippet "misc/vim" } "."
{ $see-also "editor" } { $see-also "editor" }
; ;

View File

@ -197,9 +197,9 @@ $nl
ARTICLE: "http.proxy-variables" "HTTP(S) proxy variables" ARTICLE: "http.proxy-variables" "HTTP(S) proxy variables"
{ $heading "Proxy Variables" } { $heading "Proxy Variables" }
"The http and https proxies can be configured per request, or with Factor's dynamic variables, or with the system's environnement variables (searched from left to right) :" "The http and https proxies can be configured per request, or with Factor's dynamic variables, or with the system's environment variables (searched from left to right) :"
{ $table { $table
{ "variable" "Factor dynamic" "environnement #1" "environnement #2" } { "variable" "Factor dynamic" "environment #1" "environment #2" }
{ "HTTP" { $snippet "\"http.proxy\"" } "http_proxy" "HTTP_PROXY" } { "HTTP" { $snippet "\"http.proxy\"" } "http_proxy" "HTTP_PROXY" }
{ "HTTPS" { $snippet "\"https.proxy\"" } "https_proxy" "HTTPS_PROXY" } { "HTTPS" { $snippet "\"https.proxy\"" } "https_proxy" "HTTPS_PROXY" }
{ "no proxy" { $snippet "\"no_proxy\"" } "no_proxy" "NO_PROXY" } { "no proxy" { $snippet "\"no_proxy\"" } "no_proxy" "NO_PROXY" }

View File

@ -36,7 +36,7 @@ HELP: line-gadget
HELP: pref-viewport-dim* HELP: pref-viewport-dim*
{ $values { "gadget" line-gadget } { "dim" array } } { $values { "gadget" line-gadget } { "dim" array } }
{ $description "Calculates the preferred viewport dimenstions of the line gadget." } { $description "Calculates the preferred viewport dimensions of the line gadget." }
{ $see-also pref-viewport-dim } ; { $see-also pref-viewport-dim } ;
ARTICLE: "ui.gadgets.line-support" "Gadget line support" ARTICLE: "ui.gadgets.line-support" "Gadget line support"

View File

@ -27,6 +27,6 @@ HELP: track
HELP: track-add HELP: track-add
{ $values { "track" track } { "gadget" gadget } { "constraint" "a number between 0 and 1, or " { $link f } } } { $values { "track" track } { "gadget" gadget } { "constraint" "a number between 0 and 1, or " { $link f } } }
{ $description "Adds a new child to a track. If the constraint is " { $link f } ", the child always occupies its preferred size. Otherwise, the constrant is a fraction of the total size which is allocated for the child." } ; { $description "Adds a new child to a track. If the constraint is " { $link f } ", the child always occupies its preferred size. Otherwise, the constraint is a fraction of the total size which is allocated for the child." } ;
ABOUT: "ui-track-layout" ABOUT: "ui-track-layout"

View File

@ -66,7 +66,7 @@ HELP: user-groups
HELP: with-effective-group HELP: with-effective-group
{ $values { $values
{ "string/id/f" "a string, a group id, or f" } { "quot" quotation } } { "string/id/f" "a string, a group id, or f" } { "quot" quotation } }
{ $description "Sets the effective group name and calls the quotation. Restors the effective group name on success or on error after the call. If the first parameter is " { $link f } ", the quotation is called as the current user." } ; { $description "Sets the effective group name and calls the quotation. Restores the effective group name on success or on error after the call. If the first parameter is " { $link f } ", the quotation is called as the current user." } ;
HELP: with-group-cache HELP: with-group-cache
{ $values { $values

View File

@ -75,7 +75,7 @@ ABOUT: "definitions"
HELP: changed-definition HELP: changed-definition
{ $values { "defspec" "definition" } } { $values { "defspec" "definition" } }
{ $description "Adds the definitio to the unit's " { $link changed-definitions } "." } ; { $description "Adds the definition to the unit's " { $link changed-definitions } "." } ;
HELP: changed-definitions HELP: changed-definitions
{ $var-description "A set that contains all words and vocabs whose definitions have changed or are new. " } { $var-description "A set that contains all words and vocabs whose definitions have changed or are new. " }

View File

@ -15,7 +15,7 @@ HELP: math-class-max
HELP: math-upgrade HELP: math-upgrade
{ $values { "class1" class } { "class2" class } { "quot" { $quotation ( n n -- n n ) } } } { $values { "class1" class } { "class2" class } { "quot" { $quotation ( n n -- n n ) } } }
{ $description "Outputs a quotation for upgrading numberical types. It takes two numbers on the stack, an instance of " { $snippet "class1" } ", and an instance of " { $snippet "class2" } ", and converts the one with the lower priority to the higher priority type." } { $description "Outputs a quotation for upgrading numerical types. It takes two numbers on the stack, an instance of " { $snippet "class1" } ", and an instance of " { $snippet "class2" } ", and converts the one with the lower priority to the higher priority type." }
{ $examples { $example "USING: generic.math math kernel prettyprint ;" "fixnum bignum math-upgrade ." "[ [ >bignum ] dip ]" } } ; { $examples { $example "USING: generic.math math kernel prettyprint ;" "fixnum bignum math-upgrade ." "[ [ >bignum ] dip ]" } } ;
HELP: no-math-method HELP: no-math-method

View File

@ -528,7 +528,7 @@ HELP: find-index
{ "quot" { $quotation ( ... elt i -- ... ? ) } } { "quot" { $quotation ( ... elt i -- ... ? ) } }
{ "i" { $maybe "the index of the first match" } } { "i" { $maybe "the index of the first match" } }
{ "elt" { $maybe "the first matching element" } } } { "elt" { $maybe "the first matching element" } } }
{ $description "A varient of " { $link find } " where the quotation takes both an element and its index." } ; { $description "A variant of " { $link find } " where the quotation takes both an element and its index." } ;
HELP: find-index-from HELP: find-index-from
{ $values { "n" "a starting index" } { $values { "n" "a starting index" }
@ -536,7 +536,7 @@ HELP: find-index-from
{ "quot" { $quotation ( ... elt i -- ... ? ) } } { "quot" { $quotation ( ... elt i -- ... ? ) } }
{ "i" { $maybe "the index of the first match" } } { "i" { $maybe "the index of the first match" } }
{ "elt" { $maybe "the first matching element" } } } { "elt" { $maybe "the first matching element" } } }
{ $description "A varient of " { $link find-from } " where the quotation takes both an element and its index." } ; { $description "A variant of " { $link find-from } " where the quotation takes both an element and its index." } ;
HELP: map-find HELP: map-find
{ $values { "seq" sequence } { "quot" { $quotation ( ... elt -- ... result/f ) } } { "result" "the first non-false result of the quotation" } { "elt" { $maybe "the first matching element" } } } { $values { "seq" sequence } { "quot" { $quotation ( ... elt -- ... result/f ) } } { "result" "the first non-false result of the quotation" } { "elt" { $maybe "the first matching element" } } }

View File

@ -174,7 +174,7 @@ CONSTANT: jvm-summit-slides
"Even if we inline complex arithmetic methods, still dispatching on components" "Even if we inline complex arithmetic methods, still dispatching on components"
"Solution: propagate slot info" "Solution: propagate slot info"
} }
{ $slide "Constrant propagation" { $slide "Constraint propagation"
"Contrieved example:" "Contrieved example:"
{ $code { $code
"x = •" "x = •"
@ -187,7 +187,7 @@ CONSTANT: jvm-summit-slides
} }
{ "We should be able to inline the call to " { $snippet "length" } " in the true branch" } { "We should be able to inline the call to " { $snippet "length" } " in the true branch" }
} }
{ $slide "Constrant propagation" { $slide "Constraint propagation"
"We build a table:" "We build a table:"
{ $code { $code
"b true => x is array" "b true => x is array"