fix some typos in docs.
parent
b14d6085d6
commit
7d628b833d
|
@ -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>
|
||||
{ $values { "bb" basic-block } }
|
||||
|
|
|
@ -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." } ;
|
||||
|
||||
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 }
|
||||
"The info they gather is used by " { $link finalize-stack-shuffling } " for optimal insertion of " { $link ##peek } " and " { $link ##replace } " instructions." ;
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ HELP: rel-decks-offset
|
|||
|
||||
HELP: rel-literal
|
||||
{ $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
|
||||
{ $values { "class" "a relocation class" } }
|
||||
|
|
|
@ -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." }
|
||||
}
|
||||
$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" }
|
||||
;
|
||||
|
|
|
@ -197,9 +197,9 @@ $nl
|
|||
|
||||
ARTICLE: "http.proxy-variables" "HTTP(S) 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
|
||||
{ "variable" "Factor dynamic" "environnement #1" "environnement #2" }
|
||||
{ "variable" "Factor dynamic" "environment #1" "environment #2" }
|
||||
{ "HTTP" { $snippet "\"http.proxy\"" } "http_proxy" "HTTP_PROXY" }
|
||||
{ "HTTPS" { $snippet "\"https.proxy\"" } "https_proxy" "HTTPS_PROXY" }
|
||||
{ "no proxy" { $snippet "\"no_proxy\"" } "no_proxy" "NO_PROXY" }
|
||||
|
|
|
@ -36,7 +36,7 @@ HELP: line-gadget
|
|||
|
||||
HELP: pref-viewport-dim*
|
||||
{ $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 } ;
|
||||
|
||||
ARTICLE: "ui.gadgets.line-support" "Gadget line support"
|
||||
|
|
|
@ -27,6 +27,6 @@ HELP: track
|
|||
|
||||
HELP: track-add
|
||||
{ $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"
|
||||
|
|
|
@ -66,7 +66,7 @@ HELP: user-groups
|
|||
HELP: with-effective-group
|
||||
{ $values
|
||||
{ "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
|
||||
{ $values
|
||||
|
|
|
@ -75,7 +75,7 @@ ABOUT: "definitions"
|
|||
|
||||
HELP: changed-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
|
||||
{ $var-description "A set that contains all words and vocabs whose definitions have changed or are new. " }
|
||||
|
|
|
@ -15,7 +15,7 @@ HELP: math-class-max
|
|||
|
||||
HELP: math-upgrade
|
||||
{ $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 ]" } } ;
|
||||
|
||||
HELP: no-math-method
|
||||
|
|
|
@ -528,7 +528,7 @@ HELP: find-index
|
|||
{ "quot" { $quotation ( ... elt i -- ... ? ) } }
|
||||
{ "i" { $maybe "the index of the first match" } }
|
||||
{ "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
|
||||
{ $values { "n" "a starting index" }
|
||||
|
@ -536,7 +536,7 @@ HELP: find-index-from
|
|||
{ "quot" { $quotation ( ... elt i -- ... ? ) } }
|
||||
{ "i" { $maybe "the index of the first match" } }
|
||||
{ "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
|
||||
{ $values { "seq" sequence } { "quot" { $quotation ( ... elt -- ... result/f ) } } { "result" "the first non-false result of the quotation" } { "elt" { $maybe "the first matching element" } } }
|
||||
|
|
|
@ -174,7 +174,7 @@ CONSTANT: jvm-summit-slides
|
|||
"Even if we inline complex arithmetic methods, still dispatching on components"
|
||||
"Solution: propagate slot info"
|
||||
}
|
||||
{ $slide "Constrant propagation"
|
||||
{ $slide "Constraint propagation"
|
||||
"Contrieved example:"
|
||||
{ $code
|
||||
"x = •"
|
||||
|
@ -187,7 +187,7 @@ CONSTANT: jvm-summit-slides
|
|||
}
|
||||
{ "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:"
|
||||
{ $code
|
||||
"b true => x is array"
|
||||
|
|
Loading…
Reference in New Issue